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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
mov eax, dword [0x679cc0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x58]
cmp eax, 2
jl 0x47a8e7
cmp dword [edi + 4], 0
jne 0x47a51c
mov eax, 0xffffff76
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00490a89
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
test esi, esi
jl 0x47a8e7
mov ebx, dword [ebp + 0xc]
jg 0x47a534
test ebx, ebx
jb 0x47a8e7
cmp esi, dword [edi + 0x14]
jg 0x47a8e7
jl 0x47a548
cmp ebx, dword [edi + 0x10]
ja 0x47a8e7
cmp eax, 3
jl 0x47a578
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x38]
cmp esi, dword [ecx + eax*8 + 4]
lea eax, [ecx + eax*8]
jl 0x47a56e
jg 0x47a562
cmp ebx, dword [eax]
jb 0x47a56e
cmp esi, dword [eax + 0xc]
jl 0x47a578
jg 0x47a56e
cmp ebx, dword [eax + 8]
jb 0x47a578
mov esi, edi
call fcn.00479cb0
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x5c]
lea edx, [edi + 0x78]
push eax
call fcn.0047c800
add esp, 4
lea eax, [edi + 0x1e0]
call fcn.004c6300
push esi
push ebx
mov esi, edi
call fcn.00478af0
add esp, 8
test eax, eax
je 0x47a5de
or eax, 0xffffffff
lea esi, [esp + 0x60]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
call fcn.0047c130
mov esi, edi
call fcn.00479cb0
mov eax, 0xffffff77
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00490a89
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x5c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
push ecx
lea eax, [esp + 0x64]
call fcn.0047c0a0
add esp, 4
lea eax, [esp + 0x60]
call fcn.0047c7a0
mov ebx, 3
cmp dword [edi + 0x58], ebx
jl 0x47a6bc
cmp dword [esp + 0x60], 0
je 0x47a6bc
push 1
lea esi, [esp + 0x44]
lea eax, [esp + 0x64]
call fcn.0047c830
add esp, 4
test eax, eax
jle 0x47a6bc
mov edx, dword [edi + 0x60]
mov eax, dword [edi + 0x48]
shl edx, 5
add eax, edx
cmp dword [eax + 0x1c], 0
je 0x47a6b2
mov edx, esi
call fcn.004c5600
mov ebx, eax
test ebx, ebx
jns 0x47a668
xor esi, esi
lea eax, [edi + 0x78]
call fcn.0047c940
xor ebx, ebx
jmp 0x47a694
cmp dword [esp + 0xc], 0
je 0x47a682
cmp dword [esp + 0x1c], 0
jne 0x47a682
xor esi, esi
lea eax, [edi + 0x78]
call fcn.0047c940
jmp 0x47a694
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47a694
lea ecx, [ebx + eax]
sar ecx, 2
add dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov eax, edx
and eax, esi
cmp eax, 0xffffffff
jne 0x47a7db
mov dword [esp + 0x20], ebx
jmp 0x47a609
xor esi, esi
lea eax, [edi + 0x78]
call fcn.0047c940
cmp dword [esp + 0x20], 0
jne 0x47a8b6
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push ecx
call fcn.00478b50
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
test edx, edx
jl 0x47a8a6
jg 0x47a6f2
test eax, eax
jb 0x47a8a6
cmp dword [edi + 0x58], ebx
jl 0x47a728
lea eax, [esp + 0x30]
call fcn.0047c070
cmp dword [edi + 0x5c], eax
je 0x47a71f
mov edx, dword [esp + 0x30]
test byte [edx + 5], 2
je 0x47a71f
mov esi, edi
call fcn.00479cb0
lea esi, [esp + 0x60]
call fcn.0047c130
cmp dword [edi + 0x58], ebx
jge 0x47a7ae
lea eax, [esp + 0x30]
call fcn.0047c070
mov ecx, dword [edi + 0x34]
xor esi, esi
mov ebx, eax
test ecx, ecx
jle 0x47a74c
mov eax, dword [edi + 0x40]
nop
cmp dword [eax], ebx
je 0x47a74c
inc esi
add eax, 4
cmp esi, ecx
jl 0x47a740
cmp esi, ecx
je 0x47a609
push ebx
lea edx, [edi + 0x78]
mov dword [edi + 0x60], esi
mov dword [edi + 0x5c], ebx
call fcn.0047c800
add esp, 4
cmp dword [esp + 0x60], 0
je 0x47a77d
lea eax, [esp + 0x60]
call fcn.0047c7a0
mov dword [esp + 0x1b0], ebx
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x58], 3
cmp ecx, dword [eax + esi*8 + 4]
jg 0x47a7a6
jl 0x47a79c
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + esi*8]
ja 0x47a7a6
mov dword [esp + 0x1c], 1
jmp 0x47a7ae
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x30]
lea esi, [edi + 0x78]
call fcn.0047c4a0
lea eax, [esp + 0x30]
lea esi, [esp + 0x60]
call fcn.0047c4a0
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 5]
and eax, 4
mov dword [esp + 0xc], eax
jmp 0x47a609
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x44]
mov dword [esp + 0xc], ecx
add ecx, ecx
sub edx, dword [eax + ecx*8]
sbb esi, dword [eax + ecx*8 + 4]
xor ecx, ecx
mov ebx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp ebx, ecx
jg 0x47a80e
jl 0x47a804
cmp edx, ecx
jae 0x47a80e
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
xor esi, esi
xor edx, edx
cmp dword [esp + 0xc], 2
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
jl 0x47a85b
mov edx, dword [edi + 0x60]
add edx, 0xfffffffe
shr edx, 1
inc edx
add eax, 0x18
mov dword [esp + 0xc], edx
add edx, edx
mov dword [esp + 0x1c], edx
mov edx, dword [eax - 0x10]
add dword [esp + 0x20], edx
mov edx, dword [eax - 0xc]
adc dword [esp + 0x24], edx
add ecx, dword [eax]
adc esi, dword [eax + 4]
add eax, 0x20
dec dword [esp + 0xc]
jne 0x47a837
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp edx, dword [edi + 0x60]
jge 0x47a87b
mov eax, dword [edi + 0x44]
shl edx, 4
mov eax, dword [edx + eax + 8]
add dword [esp + 0x10], eax
mov eax, dword [edi + 0x44]
mov eax, dword [edx + eax + 0xc]
mov dword [esp + 0xc], edx
adc ebx, eax
mov eax, dword [esp + 0x2c]
cdq
sub ecx, eax
sbb esi, edx
add ecx, dword [esp + 0x20]
adc esi, dword [esp + 0x24]
add ecx, dword [esp + 0x10]
adc esi, ebx
xor eax, eax
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], esi
cmp esi, eax
jg 0x47a8bf
jl 0x47a8b9
cmp ecx, eax
jae 0x47a8bf
jmp 0x47a8b9
push 0xffffffffffffffff
push edi
call fcn.0047a3d0
add esp, 8
mov dword [edi + 0x54], edx
jmp 0x47a8bc
or eax, 0xffffffff
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], eax
lea esi, [esp + 0x60]
call fcn.0047c130
fldz
fst qword [edi + 0x68]
xor eax, eax
fstp qword [edi + 0x70]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00490a89
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0xffffff7d
call fcn.00490a89
mov esp, ebp
pop ebp
ret