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

Disassembly:
sub esp, 0x164
push ebx
push esi
push edi
mov edi, dword [esp + 0x174]
mov esi, ecx
mov ecx, dword [edi]
call fcn.00491ed0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x98], ebx
je 0x4755e0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x834]
push ebp
push eax
mov dword [esp + 0x3c], eax
call dword [0x5f62b4]
mov ebp, dword [esp + 0x17c]
movsx ecx, word [ebp + 0x24]
fld dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0xbc], ecx
fild dword [esp + 0x50]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0xcc], ecx
movzx ecx, word [ebp + 0x26]
fmul dword [0x5fa904]
mov edx, eax
imul ecx, ecx, 0x1c
fstp dword [esp + 0x20]
fst dword [esp + 0xb0]
fstp dword [esp + 0xc8]
mov dword [esp + 0xac], edx
mov edx, dword [edi + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
movzx edx, byte [edi + 0x54]
mov dword [esp + 0xc4], eax
movzx eax, byte [edi + 0x55]
mov dword [esp + 0xd0], edx
mov edx, dword [edi + 0x44]
mov dword [esp + 0xd4], eax
lea eax, [ecx + edx]
mov dword [esp + 0xb8], 0x48
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0xe0], eax
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x210]
xor edx, edx
cmp eax, edx
mov byte [esp + 0x50], 0
jne 0x474f81
call fcn.004a0d20
xor edx, edx
cmp eax, 9
jl 0x474f8b
mov byte [esp + 0x50], 1
fld dword [0x6442b4]
mov byte [esp + 0x1f], 1
fld dword [edi + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x474fae
mov dword [esp + 0xd4], edx
mov byte [esp + 0x1f], 0
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
movzx ecx, word [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], eax
mov al, byte [esp + 0x1f]
test al, al
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
je 0x475160
fld dword [esp + 0x54]
fmul dword [0x5f96f0]
fst dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
fmul dword [0x5f96f0]
mov eax, dword [esp + 0x24]
and ecx, 0xffff
shl eax, 0x10
fstp dword [esp + 0x18]
or ecx, eax
mov dword [esp + 0x7c], ecx
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x3c]
fmul dword [0x5f96f0]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x40]
mov eax, dword [esp + 0x14]
fmul dword [0x5f96f0]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov ah, byte [edi + 0x54]
mov dword [esp + 0x88], ecx
movzx ecx, word [ebp + 0x26]
imul ecx, ecx, 0x1c
mov al, byte [edi + 0x55]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x44]
fld dword [ecx + eax + 0x14]
fmul dword [0x5f96f0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx eax, word [ebp + 0x26]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x1c
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0x44]
fld dword [eax + ecx + 0x18]
fmul dword [0x5f96f0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx ecx, word [ebp + 0x26]
mov eax, dword [esp + 0x14]
imul ecx, ecx, 0x1c
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x44]
fld dword [ecx + eax + 0x10]
fmul dword [0x5f96f0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
cmp dword [esi + 0xc], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
jne 0x475129
mov ecx, esi
call fcn.00472240
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x7c]
push ecx
push eax
push edx
call fcn.005725d0
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], ebx
jne 0x47553b
mov ebx, dword [esp + 0x9c]
xor edx, edx
fld dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
fmul dword [edi + 0x40]
mov ecx, dword [eax + 0x22c]
mov dword [esp + 0x14], ecx
fcomp dword [0x5fa858]
fnstsw ax
test ah, 1
jne 0x47518d
mov dword [esp + 0x14], 7
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x38]
fld dword [esi + 0x38]
fmul dword [0x5f96f0]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0xa0], ecx
fstp dword [esp + 0x20]
mov dword [esp + 0xa4], eax
fld dword [esp + 0x20]
fistp dword [esp + 0x54]
fld dword [esi + 0x34]
fmul dword [0x5f96f0]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fistp dword [esp + 0x20]
cmp dword [esi + 8], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
jne 0x4751f2
mov ecx, esi
call fcn.004721e0
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.005725d0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
add esp, 0x14
test eax, eax
jne 0x475436
mov ecx, dword [esp + 0x14]
mov eax, 7
cmp ecx, eax
jne 0x47529f
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x22c]
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x48], ecx
jne 0x475246
mov ecx, esi
call fcn.004721e0
mov ecx, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x44]
push eax
push ecx
push edx
call fcn.005725d0
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x475295
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004722a0
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00572880
mov eax, dword [0x67fea0]
xor ecx, ecx
add esp, 0xc
dec eax
mov dword [esp + 0x24], ecx
mov dword [0x67fea0], eax
mov dword [esp + 0x48], 7
jmp 0x4752e2
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x4752b1
mov ecx, esi
call fcn.004721e0
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.005725d0
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x4752da
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
test ecx, ecx
jne 0x475436
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x2c]
mov dx, word [ebp + 0x14]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0xd4]
push ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0x5fa874
mov dword [esp + 0xec], esi
mov word [esp + 0xf4], dx
mov dword [esp + 0xf8], 0
mov byte [esp + 0xfc], 0
call fcn.00472ef0
mov eax, dword [esp + 0xf4]
cmp dword [eax + 0x1c], 1
ja 0x475377
mov dword [esp + 0xe4], 0x5fa874
lea ecx, [esp + 0xe4]
call fcn.00472520
mov edx, dword [esp + 0x38]
push edx
call dword [0x5f62b0]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx + 0xd4]
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.00474040
mov edx, dword [esp + 0xf4]
mov eax, dword [esi + 4]
lea ecx, [esp + 0xa0]
push ecx
push edx
push eax
call fcn.005710b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4753de
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], 0x5fa874
call fcn.00472520
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x5f62b0]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8
mov edx, dword [0x67fe98]
mov eax, dword [esp + 0x20]
inc edx
mov dword [0x67fe98], edx
push ebx
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.004722a0
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.005726f0
add esp, 0x14
test eax, eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], 0x5fa874
jne 0x47535a
mov dword [esp + 0x20], ebx
call fcn.00472520
mov ebx, dword [esp + 0x9c]
jmp 0x47543c
inc dword [0x67fe94]
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc0]
push edx
push eax
push ecx
call fcn.00572fc0
mov edx, dword [esp + 0x52]
mov eax, dword [esp + 0x50]
push 0xb
push edx
mov dl, byte [edi + 0x54]
xor ecx, ecx
test dl, dl
mov edx, dword [esi + 4]
setne cl
push eax
push ecx
push edx
call fcn.00572210
mov edi, eax
add esp, 0x34
test edi, edi
je 0x4755d4
mov ebx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0xd4]
call fcn.004b4e00
cmp eax, 9
mov eax, dword [esp + 0x20]
setge cl
lea edx, [esp + 0x13c]
push ecx
mov ecx, dword [esi + 4]
push edi
push edx
push eax
push ecx
call fcn.00573de0
mov al, byte [esp + 0x33]
add esp, 0x14
test al, al
je 0x47550f
inc dword [edi + 0x10]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4754e6
mov ecx, esi
call fcn.00472240
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push edi
lea edx, [esp + 0x78]
push edx
mov edx, dword [esi + 4]
push ecx
push eax
push edx
call fcn.005726f0
add esp, 0x14
test eax, eax
jne 0x4755d4
inc dword [0x67fea0]
mov dword [esp + 0x18], edi
xor eax, eax
jmp 0x475520
mov edx, dword [esp + eax + 0x110]
mov ecx, dword [edi + 8]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x2c
jl 0x475520
mov ebx, dword [esp + 0x18]
jmp 0x475541
inc dword [0x67fe9c]
test ebx, ebx
je 0x4755d4
mov al, byte [esp + 0x1f]
test al, al
je 0x4755a2
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xe4]
xor eax, eax
sub ecx, edx
nop
lea edx, [ecx + eax*4]
mov edx, dword [esp + edx + 0xe4]
mov dword [esp + eax*4 + 0xe4], edx
inc eax
cmp eax, 0xb
jl 0x475560
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 4]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xbc]
push ecx
push edx
call fcn.00573a60
add esp, 0x18
mov eax, dword [esp + 0x28]
mov word [ebp], ax
mov cx, word [ebx + 2]
add cx, ax
xor eax, eax
mov word [ebp + 2], cx
mov ax, word [ebx + 4]
add ax, word [esp + 0x2c]
neg eax
mov word [ebp + 4], ax
mov dx, word [ebx + 4]
add dx, ax
mov word [ebp + 6], dx
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x38]
push eax
call dword [0x5f62b0]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8