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

Disassembly:
sub esp, 0x78
and dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
push 0x10
call fcn.0043b2b3
mov ebx, eax
push 0x10
mov dword [esp + 0x1c], ebx
call fcn.0043b28f
mov esi, dword [esp + 0x94]
mov edi, eax
push esi
call dword [0x421c6d0]
cmp eax, 7
jne 0x42f93a
lea eax, [esp + 0x70]
push eax
push 0x18
push esi
call dword [0x421c6d4]
cmp dword [esp + 0x74], ebx
jne 0x42f913
cmp dword [esp + 0x78], edi
je 0x42f93a
movzx eax, word [esp + 0x82]
push 0
push eax
push edi
push ebx
push dword [esp + 0x88]
push dword [esp + 0x88]
push esi
call fcn.00445b1a
mov dword [esp + 0x28], eax
mov esi, eax
push esi
call fcn.004472e0
mov ebp, dword [esp + 0x8c]
test eax, eax
je 0x42f9b1
push ebp
call dword [0x421c6a0]
mov ebx, eax
test ebx, ebx
je 0x42f9ad
push 1
push ebx
push esi
call fcn.00446f2a
mov esi, eax
test esi, esi
je 0x42f9a1
mov eax, dword [esp + 0x90]
push 0xff
push ebx
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
push edi
push dword [esp + 0x28]
sar eax, 1
inc eax
add eax, ecx
push eax
push 2
call fcn.0043b2b3
push eax
push ebp
call fcn.00447130
push esi
call fcn.004471ef
push ebx
call dword [0x421c6b0]
jmp 0x42fc4a
mov ebx, dword [esp + 0x18]
push esi
call dword [0x421c6d0]
cmp eax, 7
jne 0x42f9f5
mov eax, dword [esp + 0x90]
push 0x24
push edi
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
inc eax
add eax, ecx
push eax
push 2
call fcn.0043b2b3
push eax
xor eax, eax
push eax
push esi
push eax
push eax
push ebp
call dword [0x421c590]
jmp 0x42fc4a
lea eax, [esp + 0x44]
push eax
push esi
call dword [0x421c594]
lea eax, [esp + 0x58]
push eax
push 0x18
push dword [esp + 0x58]
call dword [0x421c6d4]
mov eax, dword [esp + 0x5c]
mov ebx, dword [0x421c6a0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
push ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
call ebx
mov edi, eax
test edi, edi
je 0x42fc36
push dword [esp + 0x54]
push edi
call dword [0x421c6a8]
mov ecx, dword [esp + 0x90]
push 0xcc0020
mov eax, dword [ecx + 4]
add eax, 2
push eax
mov eax, dword [ecx]
add eax, 2
push eax
push ebp
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0
push 0
push edi
call dword [0x421c6ac]
push 3
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x28]
push esi
push 0
push 0
push edi
call dword [0x421c598]
push ebp
call ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x42fc2f
push dword [esp + 0x50]
push eax
call dword [0x421c6a8]
fild dword [esp + 0x1c]
xor ebx, ebx
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fild dword [esp + 0x5c]
fstp qword [esp + 0x2c]
fdiv qword [esp + 0x2c]
fstp qword [esp + 0x3c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ebx
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fild dword [esp + 0x60]
fstp qword [esp + 0x2c]
fdiv qword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
fstp qword [esp + 0x34]
test ecx, ecx
jle 0x42fbec
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x42fbd8
push ebx
push esi
push ebp
call dword [0x421c6b8]
test eax, eax
jne 0x42fbc3
fild dword [esp + 0x10]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [esp + 0x34]
call fcn.00411e50
fild dword [esp + 0x1c]
mov ebx, eax
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [esp + 0x3c]
call fcn.00411e50
push ebx
push eax
push edi
mov dword [esp + 0x28], eax
call dword [0x421c6b8]
mov ebx, eax
mov ecx, ebx
shr ecx, 8
movzx edx, cl
movzx ecx, bl
shr ebx, 0x10
push 0xa
lea ecx, [ecx + edx*2]
imul eax, ecx, 3
movzx ecx, bl
add eax, ecx
cdq
pop ecx
idiv ecx
cmp al, 0x40
jae 0x42fb8c
movzx eax, al
sub eax, 0x40
imul eax, eax, 7
cdq
idiv ecx
add al, 0x40
jmp 0x42fba0
cmp al, 0xc0
jbe 0x42fba0
movzx eax, al
sub eax, 0xc0
imul eax, eax, 7
cdq
idiv ecx
sub al, 0x40
movzx eax, al
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
push ecx
push dword [esp + 0x30]
push dword [esp + 0x24]
push edi
call dword [0x421c6d8]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x1c], esi
cmp esi, eax
jl 0x42fb09
mov ecx, dword [esp + 0x60]
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jl 0x42fafb
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
sub eax, 0x10
cdq
push edi
push dword [esp + 0x24]
sub eax, edx
push dword [esp + 0x2c]
sar eax, 1
inc eax
add eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
add eax, 2
push eax
push ebp
call dword [0x421c6ac]
push dword [esp + 0x24]
call dword [0x421c6b0]
push edi
call dword [0x421c6b0]
push dword [esp + 0x50]
call dword [0x421c6c0]
push dword [esp + 0x54]
call dword [0x421c6c0]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x42fc5d
push eax
call dword [0x421c6c0]
add esp, 0x78
ret