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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, ecx
mov al, byte [ebx + 0xec]
test al, al
mov dword [esp + 0x28], ebx
je 0x42f6ac
mov eax, dword [ebx + 0xe8]
jmp 0x42f6ae
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x42f6c4
mov dword [eax], 0
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, ebx
call fcn.0042f130
test al, al
jne 0x42f6e6
fld qword [0x68a6c0]
pop ebx
add esp, 0x68
ret 0x14
mov eax, dword [ebx + 0x2c]
test eax, eax
push ebp
mov ebp, dword [ebx + 0x130]
push esi
push edi
mov edi, dword [ebx + 0x134]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], edi
jne 0x42f70b
mov ecx, ebx
call fcn.0042b5f0
cmp eax, 9
jl 0x42f728
cmp dword [ebx + 0x130], 0x7ffffff
jne 0x42f728
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
lea esi, [eax + edx]
lea eax, [esi + ebp]
cmp eax, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
jl 0x42f74a
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
cmp eax, ecx
fstp qword [esp + 0x50]
jne 0x42f764
mov ecx, ebx
call fcn.0042b5f0
xor ecx, ecx
cmp eax, 8
jl 0x42f789
xor eax, eax
cmp esi, ecx
setl al
dec eax
and eax, esi
add eax, ebp
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x42f781
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
fstp qword [esp + 0x50]
mov eax, dword [ebx + 0x2c]
fld qword [0x68a6c0]
cmp eax, ecx
fstp qword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
jne 0x42f7ab
mov ecx, ebx
call fcn.0042b5f0
xor ecx, ecx
cmp eax, 7
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], 0
jl 0x42f8cd
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42f8cd
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 8]
test eax, eax
je 0x42f8cd
mov edx, dword [ebx + 0x170]
mov eax, dword [esp + 0x7c]
dec edx
cmp edx, eax
jne 0x42f7ff
mov byte [esp + 0x13], 1
mov ecx, dword [ebx + 0x16c]
mov ebp, dword [ecx + eax*4]
mov eax, dword [ebp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
js 0x42f8cd
mov edi, eax
lea edi, [edi + edi*2]
shl edi, 1
lea ecx, [ecx]
mov edx, dword [ebp + 4]
mov ax, word [edi + edx]
cmp ax, 0xa
je 0x42f833
cmp ax, 0xd
jne 0x42f83a
mov byte [esp + 0x13], 1
jmp 0x42f8b9
cmp ax, 0x20
je 0x42f84a
cmp ax, 0xa0
jne 0x42f8cd
lea esi, [ebx + 0x200]
push 0
mov ecx, esi
call fcn.00427050
mov ecx, dword [ebp + 4]
movzx edx, word [ecx + edi + 2]
mov ecx, dword [ebx + 0x1d0]
imul edx, edx, 0x74
mov eax, dword [esp + 0x18]
add edx, ecx
push eax
push edx
mov ecx, esi
call fcn.00517cc0
mov eax, dword [ebp + 4]
fld qword [0x68a6c0]
sub esp, 8
add eax, edi
fstp qword [esp]
push 0
push 0
push 0
push 1
push eax
mov ecx, esi
call fcn.00427140
call fcn.00519000
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
dec eax
sub edi, 6
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x42f820
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
cmp ecx, edx
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
jne 0x42f906
mov edi, dword [esp + 0x84]
fld qword [esp + 0x50]
test edi, edi
fstp qword [esp + 0x58]
jne 0x42f906
mov edi, dword [esp + 0x88]
test edi, edi
jne 0x42fd84
cmp eax, dword [esi + 4]
jge 0x42fbb6
mov esi, dword [esi]
lea eax, [esi + eax*8]
test eax, eax
mov dword [esp + 0x44], eax
je 0x42fbb6
cmp ecx, edx
jle 0x42faef
mov eax, dword [eax]
add eax, edx
cmp ecx, eax
jge 0x42faef
mov ecx, dword [ebx + 0x16c]
mov eax, dword [esp + 0x7c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esi + 4]
lea edi, [edx + edx*2]
shl edi, 1
cmp word [edi + ecx], 9
jne 0x42f95d
test byte [ebx + 0x128], 0x10
je 0x42faef
lea ebp, [ebx + 0x200]
push 0
mov ecx, ebp
call fcn.00427050
mov eax, dword [esi + 4]
movzx ecx, word [eax + edi + 2]
mov edx, dword [esp + 0x18]
imul ecx, ecx, 0x74
add ecx, dword [ebx + 0x1d0]
push edx
push ecx
mov ecx, ebp
call fcn.00517cc0
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov al, byte [ebx + 0x128]
sub ebp, ecx
test al, 0x10
je 0x42f9ed
lea ebx, [ebp + ebp*2]
shl ebx, 1
push ebx
call fcn.00446b60
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42fa97
mov esi, dword [esi + 4]
mov ecx, ebx
add esi, edi
mov edx, eax
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
jle 0x42f9f8
mov eax, edx
mov ecx, ebp
lea ecx, [ecx]
mov word [eax], 0x2a
add eax, 6
dec ecx
jne 0x42f9e0
jmp 0x42f9f8
mov esi, dword [esi + 4]
add esi, edi
mov dword [esp + 0x1c], esi
mov edx, esi
test edx, edx
je 0x42fa97
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42fa11
mov dword [eax], 0
mov eax, dword [esp + 0x28]
test eax, eax
mov ebx, 2
mov edi, eax
je 0x42fa46
mov ecx, edi
call fcn.004852e0
mov ebx, eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x42fa46
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42fa46
cmp ebx, 1
jne 0x42fa46
push 2
mov ecx, edi
call fcn.004838a0
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x42fa56
mov eax, dword [eax + 0x50]
jmp 0x42fa58
xor eax, eax
fld qword [esp + 0x50]
mov ecx, dword [esp + 0x8c]
sub esp, 8
fstp qword [esp]
push eax
push edi
push ecx
push ebp
mov ebp, dword [esp + 0x34]
push ebp
lea ecx, [esi + 0x200]
call fcn.00427140
fstp qword [esp + 0x58]
test edi, edi
je 0x42fa8d
push ebx
mov ecx, edi
call fcn.004838a0
fld qword [esp + 0x58]
fadd qword [esp + 0x50]
jmp 0x42faa3
fld qword [esp + 0x50]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
mov al, byte [esi + 0x128]
fstp qword [esp + 0x58]
test al, 0x10
je 0x42fabe
test ebp, ebp
je 0x42fabe
push ebp
call fcn.006058d0
add esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x42fad8
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42fbc4
mov edx, dword [esi + 0x200]
lea ecx, [esi + 0x200]
call dword [edx + 0xc]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x18], 8
jl 0x42fb91
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42fb91
mov eax, dword [esp + 0x60]
cmp dword [eax + 8], 3
jne 0x42fb91
mov al, byte [esp + 0x13]
test al, al
jne 0x42fb91
mov ecx, dword [ebx + 0x16c]
mov eax, dword [esp + 0x7c]
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi + 4]
lea eax, [edx + edx*2]
cmp word [ecx + eax*2], 9
jne 0x42fb45
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
jmp 0x42fb91
mov eax, dword [esp + 0x80]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], ebp
jle 0x42fb71
mov esi, dword [esp + 0x80]
mov eax, ecx
nop
cmp word [eax], 0x20
jne 0x42fb67
inc ebp
add eax, 6
dec esi
jne 0x42fb60
mov dword [esp + 0x20], ebp
mov eax, dword [edi + 0x1c]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], esi
jle 0x42fb91
mov edi, edi
cmp word [ecx], 0x20
jne 0x42fb87
inc esi
add ecx, 6
dec eax
jne 0x42fb80
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x44]
fild dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
add edx, ecx
fadd qword [esp + 0x50]
inc eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
fstp qword [esp + 0x50]
jmp 0x42f8d1
cmp ecx, edx
jle 0x42fbd7
fld qword [esp + 0x50]
fstp qword [esp + 0x58]
jmp 0x42fbd7
mov edx, dword [esi + 0x200]
lea ecx, [esi + 0x200]
call dword [edx + 0xc]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42fd67
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
cmp edi, ecx
jl 0x42fbf4
mov edi, ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x42fc06
mov ecx, ebx
call fcn.0042b5f0
mov ecx, dword [esp + 0x38]
cmp eax, 8
mov ebp, dword [esp + 0x18]
jl 0x42fc2b
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
xor eax, eax
test esi, esi
setl al
dec eax
and eax, esi
add eax, edx
cmp eax, ecx
mov edi, eax
jl 0x42fc2b
mov edi, ecx
sub ecx, dword [esp + 0x6c]
sub ecx, edi
mov eax, 0
sets al
dec eax
and eax, ecx
mov ecx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [ecx + 8]
dec eax
je 0x42fd23
dec eax
je 0x42fcff
dec eax
jne 0x42fd67
cmp ebp, 8
jl 0x42fd67
fild dword [esp + 0x24]
mov edx, dword [ebx + 0x16c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [edx + eax*4]
test ecx, ecx
fsubr qword [esp + 0x50]
fstp qword [esp + 0x50]
je 0x42fcbf
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x42fcbf
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
movzx ecx, word [eax + edx*2 - 4]
mov edx, dword [ebx + 0x1d0]
imul ecx, ecx, 0x74
mov eax, dword [ecx + edx + 0x60]
push 0
push eax
mov ecx, ebx
call fcn.0042d280
mov dword [esp + 0x80], eax
fild dword [esp + 0x80]
fsubr qword [esp + 0x50]
fstp qword [esp + 0x50]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x42fd67
fld qword [esp + 0x50]
call fcn.00519000
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
sub esi, eax
add esi, edi
cmp edx, ecx
mov eax, esi
mov dword [esp + 0x80], eax
jl 0x42fd4a
imul eax, ecx
cdq
idiv dword [esp + 0x14]
jmp 0x42fd43
cmp ebp, 8
jl 0x42fd10
fild dword [esp + 0x24]
fsubr qword [esp + 0x50]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
call fcn.00519000
sub esi, eax
add esi, edi
sar esi, 1
mov eax, esi
jmp 0x42fd43
cmp ebp, 8
jl 0x42fd34
fild dword [esp + 0x24]
fsubr qword [esp + 0x50]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
call fcn.00519000
sub esi, eax
lea eax, [esi + edi - 1]
mov dword [esp + 0x80], eax
test eax, eax
jle 0x42fd67
fild dword [esp + 0x80]
fld qword [esp + 0x50]
fadd st(1)
fstp qword [esp + 0x50]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42fd84
fld qword [esp + 0x50]
call fcn.00519000
mov edx, dword [esp + 0x84]
mov dword [edx], eax
fld qword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x14