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

Disassembly:
sub esp, 0x1dc
mov eax, dword [esp + 0x1e0]
mov ecx, dword [0x87ff00]
mov edx, dword [ecx + 0x34]
mov ecx, dword [0x87b7b4]
and eax, 0xffff
imul eax, eax, 0x724
push ebx
lea ebx, [eax + edx]
mov eax, dword [ebx + 0x58]
and eax, 0xffff
shl eax, 5
mov edx, dword [eax + ecx + 0x14]
mov eax, dword [ebx + 0x50]
push ebp
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
jmp 0x420f20
mov ebx, dword [esp + 0x14]
lea ebx, [ebx]
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x421108
mov ecx, dword [0x87fe60]
mov edi, dword [ecx + 0x34]
mov esi, eax
and esi, 0xffff
imul esi, esi, 0x138
mov edx, dword [esi + edi + 8]
add esi, edi
mov dword [esp + 0x28], edx
call fcn.00420e50
mov ebp, eax
test bp, bp
jle 0x420f9f
mov ebx, dword [esi + 0x18]
push 0x10
lea eax, [esp + 0x30]
lea edi, [esp + 0x24]
call fcn.00420de0
add esp, 4
cmp ax, 0xffff
je 0x420f16
movsx eax, ax
imul eax, eax, 0x1c
cmp word [esp + eax + 0x2c], bp
lea eax, [esp + eax + 0x2c]
jge 0x420f16
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov word [eax], bp
jmp 0x420f16
mov ax, word [esi + 0x24]
cmp ax, 2
jl 0x420f20
cmp ax, 3
jg 0x420f20
mov al, byte [esi + 0x60]
test al, al
jne 0x420f20
mov ecx, dword [esi + 0x1c]
cmp ecx, 0xffffffff
mov dword [esp + 0x10], ecx
je 0x420f20
fld dword [esi + 0x11c]
fcomp dword [0x672b08]
fnstsw ax
test ah, 5
jp 0x420f20
mov edx, dword [0x87ff00]
mov esi, dword [edx + 0x34]
and ecx, 0xffff
imul ecx, ecx, 0x724
add ecx, esi
cmp word [ecx + 0x3a8], 0
je 0x420f20
mov eax, dword [ecx + 0x3ac]
cmp eax, 0xffffffff
je 0x420f20
mov edx, dword [ebx + 0x3a4]
cmp edx, 0xffffffff
je 0x421034
cmp dword [ecx + 0x3b0], edx
jl 0x420f20
mov ecx, dword [esp + 0x1f0]
and eax, 0xffff
imul eax, eax, 0x138
mov ebx, dword [eax + edi + 0x18]
add eax, edi
push ebx
mov dword [esp + 0x1c], eax
call fcn.0043ea80
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x420f16
mov esi, ebp
and esi, 0xffff
imul esi, esi, 0x138
mov ax, word [esi + edi + 0x24]
add esi, edi
cmp ax, 2
jl 0x420f16
cmp ax, 3
jg 0x420f16
mov al, byte [esi + 0xa4]
test al, al
je 0x420f16
push 0x10
lea eax, [esp + 0x30]
lea edi, [esp + 0x24]
call fcn.00420de0
add esp, 4
cmp ax, 0xffff
je 0x420f16
movsx ecx, ax
mov eax, dword [esp + 0x18]
imul ecx, ecx, 0x1c
fld dword [eax + 0x11c]
fld st(0)
fmulp st(1)
fcom dword [esp + ecx + 0x40]
fnstsw ax
inc word [esp + ecx + 0x3c]
test ah, 5
lea ecx, [esp + ecx + 0x2c]
jp 0x4210eb
mov edx, dword [esp + 0x10]
fstp dword [ecx + 0x14]
mov dword [ecx + 0x18], edx
jmp 0x4210ed
fstp st(0)
cmp dword [ecx + 4], 0xffffffff
jne 0x420f16
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
jmp 0x420f16
mov eax, dword [esp + 0x20]
test ax, ax
jle 0x4212bc
movzx ecx, ax
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov esi, dword [edi + 0xc]
mov cl, byte [esi + 0x135]
mov edx, dword [esp + 0x1c]
mov ax, word [edx + 0x268]
xor bl, bl
test cl, cl
jne 0x421144
mov cl, byte [esi + 0x136]
test cl, cl
je 0x421151
mov ebp, dword [esp + 0x1c]
mov ax, word [ebp + 0x26a]
jmp 0x421155
mov ebp, dword [esp + 0x1c]
mov dl, byte [esi + 0x12e]
test dl, dl
je 0x421174
xor ecx, ecx
mov cx, word [ebp + 0x26c]
test cx, cx
jle 0x421174
cmp ax, cx
jle 0x421174
mov eax, ecx
test ax, ax
jle 0x421186
cmp word [edi], ax
jl 0x421186
test dl, dl
je 0x42118a
mov bl, 1
jmp 0x421193
test dl, dl
je 0x421193
mov word [esi + 0xaa], 0x16
cmp word [esi + 0xaa], 0
jle 0x421205
cmp word [esi + 0xac], 0
jne 0x4211f7
mov eax, dword [0x719bf8]
fld dword [ebp + 0x274]
fld dword [ebp + 0x270]
imul eax, eax, 0x19660d
fxch st(1)
fsub st(1)
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x10], ecx
mov dword [0x719bf8], eax
fild dword [esp + 0x10]
fmul dword [0x672bbc]
fmulp st(1)
fadd st(1)
fmul dword [0x672b00]
call fcn.006392c4
fstp st(0)
mov word [esi + 0xae], ax
dec word [esi + 0xaa]
inc word [esi + 0xac]
cmp word [esi + 0x78], 0x2d
jge 0x421216
cmp word [edi], 4
jl 0x4212a6
mov ax, word [esi + 0xae]
test ax, ax
jle 0x42123f
cmp word [esi + 0xac], ax
jl 0x42123f
mov ax, word [edi]
cmp ax, 7
movsx eax, ax
jg 0x42123c
mov eax, 7
mov word [edi], ax
test bl, bl
je 0x421257
mov ax, word [edi]
cmp ax, 8
movsx eax, ax
jg 0x421254
mov eax, 8
mov word [edi], ax
mov ax, word [ebp + 0x278]
test ax, ax
jle 0x421280
cmp word [esi + 0xa6], ax
jl 0x421280
mov ax, word [edi]
cmp ax, 9
movsx eax, ax
jg 0x42127d
mov eax, 9
mov word [edi], ax
mov ax, word [ebp + 0x27a]
test ax, ax
jle 0x4212a6
cmp word [edi + 0x10], ax
jl 0x4212a6
mov ax, word [edi]
cmp ax, 6
movsx eax, ax
jg 0x4212a3
mov eax, 6
mov word [edi], ax
mov eax, dword [esp + 0x18]
add edi, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x421120
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ax, word [ebx + 0x3a8]
test ax, ax
jle 0x4212f5
dec eax
test ax, ax
mov word [ebx + 0x3a8], ax
jne 0x42139d
mov edx, dword [0x6f1c94]
mov eax, dword [edx + 0xc]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x3a4], eax
pop ebx
add esp, 0x1dc
ret
mov eax, dword [esp + 0x20]
or edi, 0xffffffff
test ax, ax
mov esi, 5
jle 0x42139d
lea ecx, [esp + 0x2c]
movzx ebp, ax
xor edx, edx
mov dx, word [ecx]
cmp dx, si
jle 0x421327
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x421327
mov esi, edx
mov edi, eax
add ecx, 0x1c
dec ebp
jne 0x421311
cmp edi, 0xffffffff
je 0x42139d
mov ecx, dword [0x719bf8]
mov eax, dword [esp + 0x1c]
imul ecx, ecx, 0x19660d
fld dword [eax + 0x28c]
fld dword [eax + 0x288]
fxch st(1)
fsub st(1)
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0x10
mov dword [esp + 0x10], edx
mov dword [0x719bf8], ecx
fild dword [esp + 0x10]
fmul dword [0x672bbc]
fmulp st(1)
fadd st(1)
fmul dword [0x672b00]
call fcn.006392c4
fstp st(0)
mov word [ebx + 0x3a8], ax
mov eax, dword [0x6f1c94]
mov dword [ebx + 0x3ac], edi
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x3b0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret