Function at 0x42f17d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1004e10a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], al
call dword [0x1004f510]
mov edi, 0x100618a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x100618a0
lea ecx, [esp + 0x20]
call dword [0x1004f530]
mov esi, dword [esp + 0x1d0]
mov edi, 1
push esi
mov dword [esp + 0x1c8], edi
call fcn.00436d2d
mov eax, dword [esi + 0x5629c0]
add esp, 4
cmp eax, ebx
jne 0x42f230
mov esi, dword [esp + 0x1cc]
mov cl, byte [esp + 0x18]
push ebx
mov byte [esi], cl
mov ecx, esi
call dword [0x1004f510]
mov edx, dword [0x1004f520]
lea ecx, [esp + 0x18]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [0x1004f528]
mov dword [esp + 0x14], edi
jmp 0x42f8b1
fld qword [esp + 0x1ec]
fcomp qword [0x10052740]
fnstsw ax
test ah, 1
jne 0x42f880
fld qword [esp + 0x1ec]
fcomp qword [0x10052738]
fnstsw ax
test ah, 0x41
je 0x42f880
fld qword [esp + 0x1ec]
fmul qword [0x10052b60]
call fcn.0044a397
mov edx, dword [esi + 0x58]
sub esp, 8
fld qword [esp + 0x1f4]
imul edx, edx, 0x86b88
fmul qword [0x10052b58]
fstp qword [esp]
mov dword [edx + esi + 0x84d60], eax
call fcn.0041c84d
mov edx, dword [esi + 0x58]
mov ecx, 0xb
imul edx, edx, 0x86b88
sub ecx, eax
add esp, 8
mov dword [edx + esi + 0x84d64], ecx
mov eax, dword [esi + 0x58]
imul eax, eax, 0x86b88
mov ecx, dword [eax + esi + 0x84d64]
lea eax, [eax + esi + 0x84d64]
cmp ecx, ebx
jg 0x42f2d3
mov dword [eax], ebx
jmp 0x42f2de
cmp ecx, 3
jl 0x42f2de
mov dword [eax], 3
mov ecx, dword [esi + 0x58]
mov edi, dword [esp + 0x1e4]
imul ecx, ecx, 0x86b88
mov edx, dword [ecx + esi + 0x84d5c]
push edx
push edi
push 0x1005ddec
push esi
call fcn.0042e9ad
add esp, 0x10
lea ecx, [esp + 0x78]
call fcn.00449ca5
lea eax, [esp + 0x78]
push ebx
push eax
push 0x1005cc7c
push edi
mov byte [esp + 0x1d4], 2
call fcn.0041ad8d
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x42f3f0
push 0x7d00
mov dword [esp + 0x48], ebx
call dword [0x1004f5a4]
mov edx, eax
add esp, 4
cmp edx, ebx
mov dword [esp + 0x2c], edx
jne 0x42f387
push 0x1005d728
push esi
call fcn.0041b3cd
mov esi, dword [esp + 0x1d4]
mov dl, byte [esp + 0x20]
add esp, 8
mov ecx, esi
mov byte [esi], dl
push ebx
call dword [0x1004f510]
mov eax, dword [0x1004f520]
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push ecx
push ebx
push edx
jmp 0x42f415
mov ecx, 0x1f40
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1f0]
push eax
mov eax, dword [esp + 0x1e8]
push edx
mov edx, dword [esp + 0x1f0]
push ecx
mov ecx, dword [esp + 0x1ec]
push edx
mov edx, dword [esp + 0x1ec]
push eax
push ecx
push edx
push esi
call fcn.0041c85d
add esp, 0x28
test eax, eax
jne 0x42f444
push 0x1005ddd0
push esi
call fcn.0042e9ad
mov eax, dword [esp + 0x34]
push eax
call dword [0x1004f5ac]
add esp, 0xc
mov esi, dword [esp + 0x1cc]
mov cl, byte [esp + 0x18]
push ebx
mov byte [esi], cl
mov ecx, esi
call dword [0x1004f510]
mov edx, dword [0x1004f520]
lea ecx, [esp + 0x18]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [0x1004f528]
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], 1
mov byte [esp + 0x1c4], 1
call fcn.00449c99
mov byte [esp + 0x1c4], bl
push 1
jmp 0x42f8b9
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], dl
call dword [0x1004f510]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xbd]
mov byte [esp + 0xbc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x1c4], 3
dec eax
cmp eax, ebx
jl 0x42f7d5
mov edx, dword [esp + 0x2c]
mov ecx, eax
shl ecx, 5
dec ebp
inc eax
lea esi, [ecx + edx + 0x10]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call dword [0x1004f510]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x50]
push ebp
call dword [0x1004f51c]
test al, al
je 0x42f4f2
mov edi, dword [esp + 0x50]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
call dword [0x1004f508]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0xb0]
push ecx
push edx
mov byte [esp + 0x1d0], 4
call fcn.0044a59d
add esp, 0xc
mov ecx, dword [0x1004f520]
mov byte [esp + 0x1c4], 5
mov edx, dword [ecx]
lea ecx, [esp + 0x5c]
push edx
push ebx
push eax
call dword [0x1004f528]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1c8], 4
call dword [0x1004f510]
mov edi, dword [esp + 0x70]
cmp edi, ebx
mov dword [esp + 0x40], edi
jl 0x42f782
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x60]
cmp esi, ebx
mov edx, dword [eax + edi*4]
lea ecx, [eax + edi*4]
mov eax, dword [edx - 8]
jne 0x42f573
mov esi, dword [0x1004f524]
push eax
push 0x400
call fcn.00449c9f
push eax
push esi
call dword [0x1004f5fc]
add esp, 0xc
test eax, eax
jne 0x42f777
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x74]
mov eax, dword [ecx - 0x10]
mov ecx, dword [ecx - 0xc]
add ecx, esi
add eax, ebp
push ecx
push eax
push edi
lea eax, [esp + 0xc8]
push 0x1005d9c0
push eax
call dword [0x1004f668]
mov cl, byte [esp + 0x27]
add esp, 0x14
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
push ebx
call dword [0x1004f510]
lea edi, [esp + 0xbc]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x34]
push ebp
call dword [0x1004f51c]
test al, al
je 0x42f61d
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0xbc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call dword [0x1004f508]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x1c4], 6
cmp eax, ebx
jne 0x42f64a
mov eax, dword [0x1004f520]
lea edx, [esp + 0x30]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x24]
call dword [0x1004f528]
jmp 0x42f73a
lea eax, [esp + 0x30]
push 0x1005cc7c
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.0044a597
add esp, 0xc
mov edx, dword [0x1004f520]
mov byte [esp + 0x1c4], 7
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x3c]
call dword [0x1004f528]
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x1c4], 6
cmp eax, ebx
je 0x42f6b1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42f6a8
cmp al, 0xff
je 0x42f6a8
dec al
mov byte [ecx], al
jmp 0x42f6b1
push ecx
call fcn.00449c6f
add esp, 4
lea edx, [esp + 0x18]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.0044a59d
add esp, 0xc
mov edx, dword [0x1004f520]
mov byte [esp + 0x1c4], 8
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x24]
call dword [0x1004f528]
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x42f725
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42f71c
cmp al, 0xff
je 0x42f71c
dec al
mov byte [ecx], al
jmp 0x42f725
push ecx
call fcn.00449c6f
add esp, 4
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1c4], 4
cmp eax, ebx
je 0x42f767
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42f75e
cmp al, 0xff
je 0x42f75e
dec al
mov byte [ecx], al
jmp 0x42f767
push ecx
call fcn.00449c6f
add esp, 4
mov edi, dword [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
dec edi
mov dword [esp + 0x40], edi
jns 0x42f558
mov eax, dword [esp + 0x50]
mov byte [esp + 0x1c4], 3
cmp eax, ebx
je 0x42f7af
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42f7a6
cmp al, 0xff
je 0x42f7a6
dec al
mov byte [ecx], al
jmp 0x42f7af
push ecx
call fcn.00449c6f
add esp, 4
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
sub esi, 0x20
dec eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], eax
jne 0x42f4a1
mov edx, dword [esp + 0x2c]
push edx
call dword [0x1004f5ac]
mov esi, dword [esp + 0x1d0]
mov al, byte [esp + 0x1c]
add esp, 4
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x1004f520]
lea eax, [esp + 0x18]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
call dword [0x1004f528]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], 1
cmp eax, ebx
je 0x42f83d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42f834
cmp al, 0xff
je 0x42f834
dec al
mov byte [ecx], al
jmp 0x42f83d
push ecx
call fcn.00449c6f
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1c4], 1
call fcn.00449c99
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x42f8c3
mov al, byte [ecx - 1]
cmp al, bl
je 0x42f874
cmp al, 0xff
je 0x42f874
dec al
mov byte [ecx - 1], al
jmp 0x42f8c3
dec ecx
push ecx
call fcn.00449c6f
add esp, 4
jmp 0x42f8c3
mov esi, dword [esp + 0x1cc]
mov cl, byte [esp + 0x18]
push ebx
mov byte [esi], cl
mov ecx, esi
call dword [0x1004f510]
mov edx, dword [0x1004f520]
lea ecx, [esp + 0x18]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [0x1004f528]
mov dword [esp + 0x14], edi
mov byte [esp + 0x1c4], bl
push edi
lea ecx, [esp + 0x1c]
call dword [0x1004f510]
mov ecx, dword [esp + 0x1bc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b8
ret