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

Disassembly:
sub esp, 0x20c
mov eax, dword [esp + 0x210]
mov edx, dword [0x81b3c8]
and eax, 0xffff
mov ecx, eax
imul eax, eax, 0xb0
imul ecx, ecx, 0x6c
push ebx
mov ebx, dword [edx + 0x34]
add ebx, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x6e218c]
add eax, dword [ecx + 0x430]
push ebp
mov dword [esp + 0x14], eax
movsx eax, word [ebx + 0x62]
push esi
or ebp, 0xffffffff
xor esi, esi
dec eax
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], esi
je 0x439581
dec eax
je 0x43954d
dec eax
jne 0x439576
mov eax, dword [ebx + 0x64]
cmp eax, ebp
je 0x439576
push eax
lea ecx, [esp + 0x44]
call fcn.00432650
add esp, 4
lea edx, [esp + 0x40]
call fcn.004326d0
test eax, eax
je 0x439576
cmp si, 8
jge 0x4395d5
mov eax, dword [eax + 0x18]
movsx edx, si
mov dword [esp + edx*4 + 0xdc], eax
lea edx, [esp + 0x40]
inc esi
call fcn.004326d0
test eax, eax
jne 0x439523
jmp 0x4395d5
mov esi, dword [ebx + 0x64]
push 3
mov ecx, esi
call fcn.004fa970
add esp, 4
test eax, eax
je 0x439573
mov dword [esp + 0xdc], esi
mov dword [esp + 0x10], 1
xor eax, eax
jmp 0x4395e0
mov dword [ebx + 0x64], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
mov eax, dword [0x8154e0]
mov dword [esp + 0x40], eax
xor eax, 0x69746572
lea edi, [esp + 0x40]
mov word [esp + 0x44], 0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
call fcn.004d39d0
test eax, eax
je 0x439576
jmp 0x4395b0
mov eax, dword [eax + 0x34]
cmp eax, ebp
je 0x4395c8
cmp si, 8
jge 0x4395c8
movsx ecx, si
mov dword [esp + ecx*4 + 0xdc], eax
inc esi
lea edi, [esp + 0x40]
call fcn.004d39d0
test eax, eax
jne 0x4395b0
xor eax, eax
cmp si, ax
mov dword [esp + 0x10], esi
jle 0x439576
xor edx, edx
mov dword [esp + 0x5c], edx
xor ecx, ecx
cmp word [ebx + 6], ax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], eax
jle 0x439576
mov cx, word [ebx + 6]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x84]
lea edx, [esp + 0x11c]
add ebx, 0x22
mov word [esp + 0x3c], cx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
jmp 0x439640
test byte [ebx + 6], 0x20
je 0x439720
mov ecx, dword [esp + 0x34]
mov dx, word [ecx + 4]
add dx, word [esp + 0x38]
mov esi, dword [0x81b3cc]
movsx eax, dx
mov edi, dword [esp + 0x20]
shl eax, 5
add eax, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, esi
sar ecx, 5
shl ecx, 2
or dword [esp + ecx + 0x5c], edx
xor ebp, ebp
mov bp, word [eax + 0x18]
add edi, ebp
cmp byte [eax + 0x10], 0
mov dword [esp + 0x20], edi
je 0x439720
or dword [esp + ecx + 0x64], edx
mov si, word [ebx]
xor eax, eax
test si, si
jl 0x4396ef
mov ebx, dword [esp + 0x1c]
movsx edi, si
cmp edi, dword [ebx + 0x8c]
jge 0x4396eb
mov edi, dword [esp + 0x34]
mov di, word [edi + 8]
add di, si
movsx esi, di
mov edi, dword [0x81b3c4]
shl esi, 4
cmp byte [esi + edi], 0
mov ebx, dword [esp + 0x18]
je 0x4396ef
lea esi, [ebx + 0x3e]
mov edi, 3
or eax, dword [esi]
add esi, 4
dec edi
jne 0x4396e1
jmp 0x4396ff
mov ebx, dword [esp + 0x18]
lea esi, [ebx + 0x32]
mov edi, 3
or eax, dword [esi]
add esi, 4
dec edi
jne 0x4396f7
mov esi, dword [esp + 0x24]
mov dword [esi], eax
mov esi, dword [esp + 0x14]
or esi, eax
test bp, bp
mov dword [esp + 0x14], esi
jle 0x439720
mov eax, dword [esp + ecx + 0x6c]
lea ecx, [esp + ecx + 0x6c]
or eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc eax
inc edi
add ebx, 0xe8
add edx, 4
cmp ax, word [esp + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
jl 0x439640
cmp word [esp + 0x20], 0
jle 0x439576
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x439576
mov eax, dword [esp + 0x10]
cmp ax, 1
mov ebx, dword [0x81b454]
jne 0x439797
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], ecx
call fcn.004fa3b0
mov edi, dword [esp + 0x2c]
jmp 0x43991a
test ax, ax
jle 0x4397d7
movzx ebp, word [esp + 0x10]
mov ecx, ebp
mov eax, 0x7f7fffff
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
lea esi, [esp + 0x74]
xor edi, edi
jmp 0x4397c0
mov ecx, dword [esp + edi + 0xdc]
mov eax, esi
call fcn.004fa3b0
add esi, 0xc
add edi, 4
dec ebp
jne 0x4397c0
mov al, byte [ebx + 1]
test al, al
mov byte [esp + 0x2b], al
je 0x439803
cmp dword [esp + 0x220], 0xffffffff
jne 0x4397f1
mov ebp, dword [ebx + 8]
jmp 0x439810
mov eax, dword [0x81b3c8]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x58]
mov ebp, dword [edx + ecx + 0x14]
jmp 0x439810
mov ebp, dword [esp + 0x48]
jmp 0x439810
mov al, byte [esp + 0x2b]
test al, al
je 0x4398c0
cmp ebp, 0xffffffff
je 0x4398c0
mov eax, dword [0x81b460]
mov edi, dword [eax + 0x34]
mov edx, ebp
and edx, 0xffff
imul edx, edx, 0x724
movsx eax, word [edx + edi + 0x3a]
mov ebp, dword [edx + edi + 0x2c]
add edx, edi
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
sar eax, 5
test dword [esp + eax*4 + 0x5c], esi
je 0x439810
cmp word [esp + 0x10], 0
jle 0x439810
movzx edi, word [esp + 0x10]
lea ecx, [esp + 0xfc]
lea esi, [esp + 0x7c]
fld dword [esi - 8]
fsub dword [edx + 0x12c]
fld dword [esi - 4]
fsub dword [edx + 0x130]
fld dword [esi]
fsub dword [edx + 0x134]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [ecx]
fnstsw ax
test ah, 5
jnp 0x4398b0
fstp st(0)
fld dword [ecx]
fstp dword [ecx]
add esi, 0xc
add ecx, 4
dec edi
jne 0x439873
jmp 0x439810
cmp word [esp + 0x10], 0
jle 0x439576
movzx esi, word [esp + 0x10]
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x74]
xor ecx, ecx
jmp 0x4398e0
fld dword [esp + ecx + 0xfc]
fcomp dword [0x612340]
fnstsw ax
test ah, 5
jp 0x439911
mov edi, dword [esp + ecx + 0xdc]
mov eax, edx
mov ebx, dword [eax]
mov dword [esp + 0x40], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
add ecx, 4
add edx, 0xc
dec esi
jne 0x4398e0
cmp edi, 0xffffffff
je 0x439576
mov ecx, 0x7f7fffff
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x98]
xor edi, edi
test esi, esi
mov dword [esp + 0x18], 0xffffffff
jle 0x439a59
mov edx, dword [ecx + 0x9c]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea esp, [esp]
lea eax, [eax + eax*2]
movsx ecx, word [edx + eax*8 + 0xc]
lea eax, [edx + eax*8]
mov ebp, 1
shl ebp, cl
test ebx, ebp
je 0x439a51
fld dword [esp + 0x40]
lea ecx, [esp + ecx*4 + 0x74]
fsub dword [eax]
fld dword [esp + 0x44]
fsub dword [eax + 4]
fld dword [esp + 0x48]
fsub dword [eax + 8]
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fstp st(0)
fstp st(0)
fcom dword [ecx]
fnstsw ax
test ah, 5
jnp 0x439a4f
fstp st(0)
fld dword [ecx]
fstp dword [ecx]
inc edi
movsx eax, di
cmp eax, esi
jl 0x439a00
mov eax, dword [esp + 0x34]
xor ecx, ecx
cmp word [eax + 6], cx
mov dword [esp + 0x20], 0x7f7fffff
mov dword [esp + 0x24], 0xff7fffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], ecx
jle 0x439576
mov dx, word [eax + 6]
lea eax, [esp + 0x11c]
mov word [esp + 0x3c], dx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
mov esi, dword [esp + 0x1c]
mov ecx, esi
and ecx, 0x1f
mov ebx, 1
sar esi, 5
shl ebx, cl
shl esi, 2
test dword [esp + esi + 0x64], ebx
je 0x439b2a
mov ecx, dword [esp + 0x2c]
fld dword [0x612340]
mov ebp, dword [ecx]
xor ecx, ecx
lea edx, [esp + 0x74]
mov edi, 0x1a
mov eax, 1
shl eax, cl
test ebp, eax
je 0x439aeb
fcom dword [edx]
fnstsw ax
test ah, 0x41
jne 0x439aeb
fstp st(0)
fld dword [edx]
inc ecx
add edx, 4
dec edi
jne 0x439ad3
fcom dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x439b09
mov ecx, dword [esp + 0x14]
fst dword [esp + 0x20]
mov dword [esp + 0x18], ecx
test dword [esp + esi + 0x6c], ebx
je 0x439b28
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x439b28
mov edx, dword [esp + 0x14]
fstp dword [esp + 0x24]
mov dword [esp + 0x30], edx
jmp 0x439b2a
fstp st(0)
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
inc eax
inc esi
add edx, 4
cmp ax, word [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edx
jl 0x439aa0
or edx, 0xffffffff
cmp word [esp + 0x18], dx
je 0x439576
cmp word [esp + 0x30], dx
je 0x439ba9
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
fsqrt
fld dword [esp + 0x24]
fsqrt
fld dword [ecx + 0x68]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x439b8c
fld dword [ecx + 0x68]
jmp 0x439b92
fld dword [0x612344]
fxch st(1)
fsub st(1)
fxch st(1)
fxch st(2)
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x439576
mov eax, dword [0x81b454]
mov cl, byte [eax + 1]
test cl, cl
je 0x439be0
cmp dword [esp + 0x220], edx
jne 0x439bc7
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
jmp 0x439be0
mov ecx, dword [0x81b3c8]
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx + 0x14]
mov dword [esp + 0x48], ecx
lea esp, [esp]
mov edx, dword [0x81b454]
mov al, byte [edx + 1]
test al, al
je 0x439576
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
mov edi, esi
je 0x439576
mov ecx, dword [0x81b460]
mov ebp, dword [ecx + 0x34]
and esi, 0xffff
mov eax, esi
imul eax, eax, 0x724
mov edx, dword [eax + ebp + 0x2c]
add eax, ebp
mov dword [esp + 0x48], edx
movsx edx, word [eax + 0x3a]
mov ecx, edx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
sar edx, 5
test dword [esp + edx*4 + 0x5c], ebx
je 0x439be0
mov cx, word [esp + 0x18]
cmp word [eax + 0x3a], cx
je 0x439be0
mov ecx, dword [0x81b460]
imul esi, esi, 0x724
mov edx, dword [ecx + 0x34]
mov ax, word [esi + edx + 0x46c]
lea ebp, [esi + edx]
or ebx, 0xffffffff
cmp ax, 3
mov word [ebp + 0x3b8], bx
je 0x439c75
cmp ax, 4
jne 0x439c84
mov word [ebp + 0x46c], 0
mov dword [ebp + 0x480], ebx
mov eax, dword [ecx + 0x34]
add eax, esi
movsx eax, word [eax + 0x6c]
imul eax, eax, 0x38
mov eax, dword [eax + 0x5f37a8]
test eax, eax
je 0x439ca0
push edi
call eax
add esp, 4
mov al, byte [ebp + 9]
test al, al
je 0x439cae
call fcn.00436990
jmp 0x439cbf
cmp dword [ebp + 0x34], ebx
je 0x439cbf
push 0
mov eax, edi
call fcn.00436620
add esp, 4
mov eax, dword [esp + 0x220]
cmp eax, ebx
jne 0x439d5d
mov ecx, dword [0x81b454]
mov al, byte [ecx + 1]
test al, al
je 0x439be0
mov ebx, dword [ecx + 8]
mov edx, dword [0x81b460]
mov eax, dword [edx + 0x34]
add eax, esi
mov dword [eax + 0x2c], ebx
mov dword [ecx + 8], edi
mov cl, byte [eax + 8]
neg cl
mov byte [eax + 9], 1
sbb ecx, ecx
and ecx, 0x5a
mov word [eax + 0x10], cx
mov eax, dword [edx + 0x34]
mov cx, word [eax + esi + 0x46c]
add eax, esi
or ebp, 0xffffffff
cmp cx, 3
mov word [eax + 0x3b8], bp
je 0x439d28
cmp cx, 4
jne 0x439d37
mov word [eax + 0x46c], 0
mov dword [eax + 0x480], ebp
mov eax, dword [edx + 0x34]
movsx edx, word [eax + esi + 0x6c]
add eax, esi
imul edx, edx, 0x38
mov eax, dword [edx + 0x5f37a8]
test eax, eax
je 0x439be0
push edi
call eax
add esp, 4
jmp 0x439be0
mov edx, dword [esp + 0x18]
push 1
push eax
push edi
call fcn.00436770
add esp, 0xc
jmp 0x439be0