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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], 0
mov ebp, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], ebp
mov esi, 0x2c
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x34]
mov ebx, dword [eax]
mov edx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x47e739
add ecx, 4
add edx, 4
sub esi, 4
jae 0x47e726
jmp 0x47e745
mov ebp, dword [ebx + 0x10]
inc ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x30]
xor esi, esi
cmp word [edi + 0x28], si
jne 0x47e7f1
cmp dword [ebx + 0x60], esi
jbe 0x47e7b5
lea eax, [esp + 0x34]
push eax
push 4
call fcn.0046ce70
add esp, 8
cmp byte [edi + 0x2b], 0
jne 0x47e785
mov eax, dword [edi + 4]
push 0xa
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47e7ac
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.0047cfb0
cmp byte [edi + 0x2b], 0
jne 0x47e7cf
mov eax, dword [edi + 4]
push 9
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
jmp 0x47e7b5
cmp esi, 5
jne 0x47ed36
cmp byte [edi + 0x2b], 0
jne 0x47e7cf
mov eax, dword [edi + 4]
push 5
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
or eax, 0xffffffff
xor ebx, ebx
mov word [edi + 0x28], ax
inc ebx
lea edx, [esp + 0x28]
push ebx
push 1
mov ecx, edi
call fcn.0047df50
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x47e7d8
test esi, esi
jne 0x47ed36
mov ebx, dword [edi + 0x44]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x47e8ea
mov ecx, dword [edi + 0x70]
lea esi, [edi + 0x54]
mov dword [esp + 0x68], 0x82067f37
mov eax, ebp
mov dword [esp + 0x6c], 0x18e22d00
bswap eax
mov dword [esp + 0x70], eax
mov eax, ecx
bswap eax
mov dword [esp + 0x74], eax
test ecx, ecx
jne 0x47e83d
push esi
push 8
call fcn.0046ce70
add esp, 8
mov ecx, dword [esi + 4]
xor edx, edx
mov eax, dword [esi]
xor esi, esi
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
add eax, edx
add esi, eax
mov eax, dword [ecx + 4]
add eax, esi
add ecx, 8
add edx, eax
lea eax, [esp + 0x80]
cmp ecx, eax
jb 0x47e852
mov eax, esi
mov dword [edi + 0x50], edx
bswap eax
mov dword [esp + 0x80], eax
mov eax, edx
bswap eax
mov dword [edi + 0x4c], esi
lea edx, [esp + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 8]
push 0
push 0
mov dword [edi + 0x24], ebp
mov byte [edi + 0x41], 0
mov byte [edi + 0x2f], 1
mov ecx, dword [eax]
push 0x20
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x47ed36
cmp byte [edi + 0x30], al
je 0x47e8ea
mov ecx, dword [esp + 0x9c]
mov edx, dword [edi + 8]
sar ecx, 2
and ecx, 3
je 0x47e8e8
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x47e8ea
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
xor esi, esi
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x48], eax
lea eax, [ebp + 0x18]
cdq
mov ecx, eax
mov dword [esp + 0x38], edi
mov eax, edx
movlpd qword [esp + 0x40], xmm0
push eax
push ecx
push 0
push ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.00545240
mov ecx, dword [esp + 0x98]
add eax, 0x20
mov ebp, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
adc ebp, 0
mov ebx, eax
test eax, eax
je 0x47eaba
nop
cmp dword [esp + 0x24], 0
je 0x47e9f8
cmp dword [ebx + 0x10], 0
lea eax, [ebx + 0x10]
mov dword [esp + 0x28], eax
jne 0x47e970
test ecx, ecx
jne 0x47e9f8
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.0047e2e0
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, dword [esp + 0x24]
jb 0x47e9f1
push dword [esp + 0x1c]
lea eax, [esi - 1]
push dword [esp + 0x24]
push 0
push eax
call fcn.00545240
mov ecx, dword [edi + 0x68]
add eax, 0x38
mov dword [esp + 0x34], eax
adc edx, 0
test ecx, ecx
je 0x47e9bc
cmp esi, ecx
jae 0x47e9bf
mov dword [edi + 0x68], esi
mov eax, dword [edi + 8]
push edx
push dword [esp + 0x38]
push dword [esp + 0x38]
mov ecx, dword [eax]
push dword [ebx + 4]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x47ed36
mov eax, 0xffbf
and word [ebx + 0x1c], ax
jmp 0x47ea9d
mov ecx, dword [esp + 0x98]
inc dword [esp + 0x18]
test ecx, ecx
je 0x47ea16
cmp dword [ebx + 0x10], 0
lea eax, [ebx + 0x10]
mov dword [esp + 0x28], eax
jne 0x47ea16
mov ecx, dword [esp + 0x94]
jmp 0x47ea1f
lea eax, [ebx + 0x10]
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x50]
push edx
mov edx, dword [ebx + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
call fcn.0047beb0
add esp, 0xc
lea edx, [esp + 0x50]
lea ecx, [esp + 0x38]
push ebp
push dword [esp + 0x14]
push 0x18
call fcn.0047e460
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x47ed36
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov edx, dword [esp + 0x34]
add ecx, 0x18
adc eax, esi
push eax
push ecx
push dword [esp + 0x54]
lea ecx, [esp + 0x44]
call fcn.0047e460
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x47ed36
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
mov dword [esp + 0x2c], ebx
adc ebp, dword [esp + 0x1c]
or word [ebx + 0x1c], 0x40
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x98]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x47e950
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x47ec95
cmp dword [edi + 0x68], 0
je 0x47eadd
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.0047e530
mov esi, eax
test esi, esi
jne 0x47ed36
and dword [esp + 0x9c], 3
je 0x47ec43
cmp byte [edi + 0x31], 0
je 0x47ec2b
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x47eb21
push ecx
call eax
add esp, 4
cmp eax, 0x20
jge 0x47eb13
mov eax, 0x200
jmp 0x47eb26
cmp eax, 0x10000
jle 0x47eb26
mov eax, 0x10000
jmp 0x47eb26
mov eax, 0x1000
mov ebx, dword [esp + 0x10]
cdq
mov ecx, eax
add ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, edx
adc ecx, ebp
sub dword [esp + 0x10], 1
push edx
sbb ecx, 0
push eax
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
call fcn.0056e450
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
sbb eax, edx
mov dword [esp + 0x44], eax
cmp ecx, ebx
jne 0x47eb73
mov dword [esp + 0x34], 1
cmp eax, ebp
je 0x47eb7b
mov dword [esp + 0x34], 0
cmp ebp, eax
jg 0x47ec24
jl 0x47eb90
cmp ebx, ecx
jae 0x47ec24
nop dword [eax]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push edx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x9c]
mov dword [esp + 0x34], eax
call fcn.0047beb0
add esp, 0xc
lea edx, [esp + 0x50]
lea ecx, [esp + 0x38]
push ebp
push ebx
push 0x18
call fcn.0047e460
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x47ed36
mov edx, dword [esp + 0x28]
mov ecx, ebx
add ecx, 0x18
mov eax, ebp
adc eax, esi
push eax
push ecx
push dword [esp + 0x54]
lea ecx, [esp + 0x44]
call fcn.0047e460
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x47ed36
add ebx, dword [esp + 0x20]
adc ebp, dword [esp + 0x1c]
inc dword [esp + 0x14]
cmp ebp, dword [esp + 0x44]
jl 0x47eb90
jg 0x47ec1c
cmp ebx, dword [esp + 0x40]
jb 0x47eb90
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x34], 0
je 0x47ec43
mov ecx, dword [esp + 0x28]
push dword [esp + 0x9c]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov esi, eax
cmp byte [edi + 0x2f], 0
je 0x47ec95
mov ebp, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
test ebp, ebp
jl 0x47ec95
jg 0x47ec59
test ebx, ebx
jb 0x47ec95
push dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x24]
add eax, dword [esp + 0x20]
push 0
push eax
call fcn.00545240
add eax, 0x20
adc edx, 0
cmp edx, ebp
jl 0x47ec85
jg 0x47ec81
cmp eax, ebx
jbe 0x47ec85
mov ebx, eax
mov ebp, edx
push ebp
push ebx
mov ecx, edi
call fcn.0047d5f0
add esp, 8
mov byte [edi + 0x2f], 0
mov ebp, dword [esp + 0x90]
mov ebx, dword [edi + 0x44]
test ebp, ebp
je 0x47ecca
test esi, esi
jne 0x47ed36
test byte [ebp + 0x1c], 0x40
je 0x47ecc3
push dword [ebp + 0x18]
inc ebx
mov ecx, edi
mov edx, ebx
call fcn.0047c1a0
add esp, 4
mov esi, eax
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x47eca3
test esi, esi
jne 0x47ed36
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x47ecfd
push dword [ebp + 0x18]
inc ebx
dec eax
mov edx, ebx
mov dword [esp + 0x18], eax
mov ecx, edi
call fcn.0047c1a0
mov esi, eax
add esp, 4
test esi, esi
je 0x47ecd2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x30]
mov eax, ecx
sar eax, 0x10
and ecx, 0xff00
or eax, ecx
mov dword [edi + 0x44], ebx
cmp dword [esp + 0x98], 0
mov word [edi + 0x42], ax
je 0x47ed36
mov eax, dword [esp + 0x94]
mov ecx, edi
inc dword [edi + 0x3c]
mov dword [edi + 0x48], eax
call fcn.0047be20
mov dword [edi + 0xc], ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret