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

Disassembly:
jmp 0x419a10
sub esp, 0x16c
mov eax, dword [esp + 0x170]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x58], eax
cmp ecx, 0x28
mov dword [esi + 0x6c], 0x3f800000
jbe 0x419a3c
mov ecx, 0x400
jmp 0x419a4b
cmp ecx, 0x14
mov ecx, 0x200
ja 0x419a4b
mov ecx, 0x100
lea edx, [esp + 0xa8]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x64], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov ecx, dword [esi + 0x64]
mov eax, dword [esp + 0x100]
cmp ecx, eax
jbe 0x419a92
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x68], eax
fild qword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x64], eax
fidiv dword [esp + 0x18]
fstp dword [esi + 0x6c]
jmp 0x419a94
xor ebp, ebp
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x5c]
push ecx
push 1
mov edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x68]
push 0x1a
push ebp
push 1
push ecx
mov ecx, dword [esi + 0x64]
push ecx
push eax
call dword [edx + 0x50]
cmp eax, ebp
jl 0x419d8c
mov edx, dword [esi + 0x64]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x68]
push ebp
neg eax
mov dword [esp + 0x80], 0x28
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov word [esp + 0x8c], 1
mov dword [esp + 0x90], ebp
mov word [esp + 0x8e], 0x20
call dword [0xdd37c8]
push ebp
lea ecx, [esp + 0x30]
push ebp
push ecx
lea edx, [esp + 0x88]
mov ebx, eax
push ebp
push edx
push ebx
call dword [0xdd37c4]
mov ebp, eax
push 1
push ebx
mov dword [esp + 0x38], ebp
call dword [0xdd37cc]
push 0x48
push 0x5a
push ebx
call dword [0xdd37bc]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esi + 0x6c]
call fcn.005f5950
push eax
mov eax, dword [esi + 0x50]
push eax
call dword [0xdd38d8]
mov ecx, dword [esi + 0x54]
mov edi, eax
mov edx, ecx
push esi
and dl, 1
push 2
neg edi
neg dl
sbb edx, edx
push 4
and edx, 0x12c
push 0
shr ecx, 1
push 0
add edx, 0x190
push 1
and ecx, 1
push 0
mov eax, edx
push 0
push ecx
push eax
push 0
push 0
push 0
push edi
call dword [0xdd37b8]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x419bb7
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x16c
ret 4
push ebp
mov ebp, dword [0xdd37c0]
push ebx
call ebp
push edi
push ebx
call ebp
push 0xffffff
push ebx
call dword [0xdd37b0]
xor edi, edi
push edi
push ebx
call dword [0xdd37ac]
push edi
push ebx
call dword [0xdd37b4]
mov ax, word [0x680f88]
mov dword [esp + 0x14], edi
mov word [esp + 0x12], ax
mov byte [esp + 0x11], 0x20
lea ebp, [esi + 0x74]
mov cl, byte [esp + 0x11]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x16]
push 1
push eax
push ebx
mov byte [esp + 0x22], cl
call dword [0xdd37a4]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x64]
lea edx, [ecx + edi + 1]
cmp edx, eax
jbe 0x419c36
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
xor edi, edi
lea edx, [ecx + eax + 1]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x16]
push 1
push eax
push 0
push 2
push ecx
push edi
push ebx
call dword [0xdd37a0]
mov edx, dword [esi + 0x64]
xor eax, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
fild qword [esp + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fidiv dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x11]
add ebp, 0x10
fstp dword [ebp - 0x14]
mov edx, dword [esi + 0x68]
fild qword [esp + 0x4c]
mov dword [esp + 0x64], edx
fidiv dword [esp + 0x64]
fstp dword [ebp - 0x10]
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x64]
fild qword [esp + 0x5c]
mov dword [esp + 0x3c], edx
fidiv dword [esp + 0x3c]
fstp dword [ebp - 0xc]
mov edx, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], ecx
fild qword [esp + 0x44]
fidiv dword [esp + 0x54]
inc al
cmp al, 0x7f
mov byte [esp + 0x11], al
fstp dword [ebp - 8]
mov edx, dword [esp + 0x24]
lea edi, [edi + edx + 1]
jl 0x419bfa
mov eax, dword [esp + 0x20]
push 0
lea edx, [esp + 0x78]
push 0
mov eax, dword [eax]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x78]
xor edi, edi
test eax, eax
jbe 0x419d61
mov eax, dword [esi + 0x64]
xor edx, edx
test eax, eax
jbe 0x419d59
imul eax, edi
mov ebp, dword [esp + 0x2c]
add eax, edx
mov eax, dword [ebp + eax*4]
shr eax, 4
and al, 0xf
jbe 0x419d49
movzx ax, al
shl eax, 0xc
or eax, 0xfff
mov word [ecx], ax
jmp 0x419d4e
mov word [ecx], 0
mov eax, dword [esi + 0x64]
add ecx, 2
inc edx
cmp edx, eax
jb 0x419d24
mov eax, dword [esi + 0x68]
inc edi
cmp edi, eax
jb 0x419d1b
mov ecx, dword [esp + 0x20]
push 0
mov eax, dword [ecx]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x30]
mov esi, dword [0xdd37a8]
push eax
call esi
push ebx
call dword [0xdd37dc]
mov ecx, dword [esp + 0x18]
push ecx
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 4