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

Disassembly:
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x60]
mov ebp, ecx
xor edi, edi
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00474d00
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
mov ecx, ebp
call fcn.00474ab0
cmp dword [eax + 8], edi
jle 0x47a46e
cmp dword [eax + 0xc], edi
jle 0x47a46e
mov ecx, dword [esi + 8]
cmp ecx, edi
mov dword [esp + 0x10], ecx
jle 0x47a461
mov ecx, dword [esi + 0xc]
cmp ecx, edi
mov dword [esp + 0x48], ecx
jle 0x47a461
mov ecx, dword [eax]
mov edx, dword [esi]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp ecx, edx
jle 0x47a419
sub ecx, edx
add ebx, ecx
mov ecx, edx
mov esi, dword [esi + 4]
cmp edi, esi
mov dword [esp + 0x34], esi
jle 0x47a42a
sub edi, esi
add eax, edi
mov edi, esi
mov esi, dword [esp + 0x10]
lea ebp, [ebx + ecx]
add esi, edx
cmp ebp, esi
jge 0x47a441
mov esi, dword [esp + 0x10]
sub edx, ecx
lea ebx, [edx + esi + 1]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
add edx, esi
lea esi, [eax + edi]
cmp esi, edx
jge 0x47a457
sub edx, edi
inc edx
mov eax, edx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
jmp 0x47a47d
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
jmp 0x47a479
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x47a516
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x47a516
test ebx, ebx
jle 0x47a50a
test eax, eax
jle 0x47a50a
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov esi, eax
cmp esi, ecx
mov dword [esp + 0x1c], edx
jle 0x47a4bd
sub edx, ecx
mov eax, ecx
add edx, esi
mov dword [esp + 0x1c], edx
cmp ebp, edi
jle 0x47a4cf
mov edx, dword [esp + 0x20]
sub ebp, edi
add edx, ebp
mov ebp, edi
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x1c]
lea edx, [ecx + ebx]
add esi, eax
cmp esi, edx
jge 0x47a4e4
sub ecx, eax
lea edx, [ecx + ebx + 1]
jmp 0x47a4e8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
add edi, ecx
lea ecx, [esi + ebp]
cmp ecx, edi
jge 0x47a4fe
sub edi, ebp
inc edi
mov esi, edi
mov ecx, eax
mov edi, ebp
mov ebp, dword [esp + 0x4c]
mov eax, esi
jmp 0x47a518
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, esi
jmp 0x47a518
mov edx, ebx
mov dword [esp + 0x24], ecx
mov ecx, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov byte [ebp + 0x11e], 0
call fcn.0047a1a0
mov ebx, eax
test ebx, ebx
je 0x47a578
mov al, byte [ebp + 0x11c]
test al, al
jne 0x47a578
mov edx, dword [0xa255a0]
lea ecx, [edx + 0x218]
call fcn.0062fc90
cdq
mov ecx, 3
idiv ecx
mov eax, edx
cdq
mov ecx, eax
mov al, bl
xor ecx, edx
sub ecx, edx
mov dl, 3
imul dl
add cl, al
mov byte [ebp + 0x11e], cl
jmp 0x47a57f
mov dword [ebp + 0x44], 0xffffffff
lea eax, [ebp + 0x24]
mov ecx, 0x81a800
push eax
call fcn.00628aa0
xor edi, edi
mov dword [esp + 0x34], edi
push edi
mov ecx, ebp
call fcn.004766c0
mov esi, eax
mov al, byte [esi + 0x11c]
test al, al
jne 0x47a836
cmp dword [esi + 0x44], 0x7e
jne 0x47a836
cmp byte [esi + 0x11e], 0x30
jae 0x47a836
mov ecx, esi
call fcn.0047a1a0
lea ecx, [esp + 0xe0]
mov ebx, eax
xor eax, eax
push ecx
mov ecx, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00474d00
lea edx, [esp + 0xf0]
mov ecx, esi
push edx
mov ebp, eax
call fcn.00474ab0
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x47a6cb
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x47a6cb
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x10], ecx
jle 0x47a6ae
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov dword [esp + 0x54], ecx
jle 0x47a6ae
mov edx, dword [eax]
mov ecx, dword [ebp]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
cmp edx, ecx
mov dword [esp + 0x68], ebx
jle 0x47a651
sub edx, ecx
add ebx, edx
mov edx, ecx
mov dword [esp + 0x68], ebx
mov ebp, dword [ebp + 4]
cmp edi, ebp
mov dword [esp + 0x48], ebp
jle 0x47a662
sub edi, ebp
add eax, edi
mov edi, ebp
mov ebp, dword [esp + 0x10]
add ebx, edx
add ebp, ecx
cmp ebx, ebp
jge 0x47a67a
mov ebx, dword [esp + 0x10]
sub ecx, edx
lea ebx, [ecx + ebx + 1]
jmp 0x47a67e
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x54]
add ecx, ebp
lea ebp, [eax + edi]
cmp ebp, ecx
jge 0x47a694
sub ecx, edi
inc ecx
mov eax, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
jmp 0x47a6e7
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
jmp 0x47a6e7
mov ecx, dword [ebp]
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0xd0]
push edx
lea edx, [esp + 0x3c]
call fcn.0045ec50
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
test ebx, ebx
mov dword [esp + 0x44], edx
jne 0x47a724
mov dword [esi + 0x44], 0xffffffff
jmp 0x47a753
mov eax, dword [0xa255a0]
lea ecx, [eax + 0x218]
call fcn.0062fc90
cdq
mov ecx, 3
idiv ecx
mov eax, edx
cdq
mov ecx, eax
mov al, bl
xor ecx, edx
sub ecx, edx
mov dl, 3
imul dl
add cl, al
mov byte [esi + 0x11e], cl
push 0xffffffffffffffff
mov ecx, esi
call fcn.00472140
mov eax, dword [0x821950]
mov ecx, dword [0x821954]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x5c], ecx
push eax
mov ecx, esi
call fcn.00474d00
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
call fcn.00474ab0
mov edx, eax
lea ecx, [esp + 0xa4]
call fcn.0045ec50
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xc4]
call fcn.0045ec50
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
lea edx, [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, eax
call fcn.00435420
mov ecx, eax
call fcn.0047cc40
push eax
lea ecx, [esp + 0xbc]
call fcn.00453ab0
mov ecx, eax
push 0
sub esp, 0x10
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
mov edx, esp
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [0x821c8c]
mov dword [edx + 0xc], eax
call fcn.00698510
add esi, 0x24
mov ecx, 0x81a800
push esi
call fcn.00628aa0
mov ebp, dword [esp + 0x4c]
add edi, 2
cmp edi, 8
mov dword [esp + 0x34], edi
jl 0x47a593
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x821950
call fcn.00435420
push eax
lea edx, [esp + 0xb4]
lea eax, [esp + 0xc4]
push edx
push eax
mov ecx, ebp
call fcn.00474d00
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ecx, ebp
call fcn.00474ab0
mov edx, eax
lea ecx, [esp + 0x94]
call fcn.0045ec50
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x84]
call fcn.0045ec50
mov ecx, eax
call fcn.0047cc00
mov edx, eax
push 0
sub esp, 0x10
mov ecx, dword [edx]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x40], ecx
mov ecx, esp
mov edx, dword [edx + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [0x821c8c]
call fcn.00698510
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00472140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret