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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x13
rep stosd dword es:[edi], eax
pop edi
pop ecx
push 0x94
call fcn.00476140
pop ecx
cmp eax, 0
je 0x47a9c9
mov ebx, eax
mov ecx, ebx
add ecx, 4
call fcn.004b09b0
mov eax, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x88], ecx
mov edx, dword [0x5280c4]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x90], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x8c], edx
mov eax, dword [ebp + 8]
test dword [eax + 0xc], 4
je 0x47aa0e
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0x506e1c
jmp 0x47aa18
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0x506d9c
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], 0
cmp ebx, 0
je 0x47aa4f
push ebx
call fcn.0040dc70
pop ecx
push eax
push ebx
lea eax, [ebp - 0xc]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0xc], 0
je 0x47aa4f
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x30]
add eax, 0x2c
mov ecx, eax
call fcn.0040cc10
cmp dword [ebp - 0xc], 0
je 0x47aa70
mov eax, dword [ebp - 0xc]
mov ecx, eax
call fcn.0040c380
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x34], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
add edx, 0x68
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x84], ecx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x74], 0x47a5f0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x78], 0x47a6e0
push 0x14
call fcn.00476140
pop ecx
cmp eax, 0
je 0x47aabc
mov ecx, eax
call fcn.00471f00
mov eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x60], ecx
mov dword [ebp - 0x10], 0
push 0x52822e
call fcn.0040dc70
pop ecx
push eax
push 0x52822e
lea eax, [ebp - 0x10]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x10], 0
je 0x47aafc
mov ebx, dword [ebp - 0x10]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x34]
add eax, 8
mov ecx, eax
call fcn.0040cc10
cmp dword [ebp - 0x10], 0
je 0x47ab1d
mov eax, dword [ebp - 0x10]
mov ecx, eax
call fcn.0040c380
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x10], 0x47a800
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0x68
mov dword [ebp - 0x40], 0
jmp 0x47ab6b
push 1
mov edx, dword [ebp - 0x40]
imul edx, edx, 0x28
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x20]
push edx
mov eax, dword [ebp - 0x30]
add eax, 4
push eax
push dword [0x5280c4]
call fcn.00478790
add esp, 0x10
inc dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
cmp dword [ebp - 0x40], ecx
jl 0x47ab44
mov dword [ebp - 0x40], 0
jmp 0x47aca6
mov edx, dword [ebp - 0x40]
lea ebx, [edx*4]
lea ebx, [ebx + ebx*2]
mov eax, dword [ebp + 8]
add ebx, dword [eax + 0x28]
mov dword [ebp - 0x38], ebx
push 0x78
call fcn.00476140
pop ecx
cmp eax, 0
je 0x47abbf
mov ebx, eax
mov eax, ebx
mov ecx, eax
call fcn.00472120
mov dword [ebx], 0x528ffc
mov dword [ebx + 0x70], 0
mov eax, ebx
mov dword [ebp - 0x3c], eax
mov edx, dword [0x5280c4]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 0x30]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x3c]
add eax, 0x70
mov ecx, eax
call fcn.0040cc10
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x74], ecx
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x14], 0
cmp ebx, 0
je 0x47ac22
push ebx
call fcn.0040dc70
pop ecx
push eax
push ebx
lea eax, [ebp - 0x14]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x14], 0
je 0x47ac22
mov ebx, dword [ebp - 0x14]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x3c]
add eax, 0x14
mov ecx, eax
call fcn.0040cc10
cmp dword [ebp - 0x14], 0
je 0x47ac43
mov eax, dword [ebp - 0x14]
mov ecx, eax
call fcn.0040c380
push 1
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
add eax, 0x24
push eax
mov eax, dword [ebp - 0x3c]
add eax, 8
push eax
push dword [0x5280c4]
call fcn.0047a3b0
add esp, 0x14
cmp al, 0
je 0x47aca3
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x44], 2
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x60], 5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x64], ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x58], ecx
inc dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
cmp dword [ebp - 0x40], ecx
jl 0x47ab82
mov dword [ebp - 0x40], 0
jmp 0x47ace0
mov edx, dword [ebp - 0x40]
lea edx, [edx*8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x30]
push edx
mov eax, dword [ebp - 0x30]
add eax, 4
push eax
call fcn.00478c30
pop ecx
pop ecx
inc dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
cmp dword [ebp - 0x40], ecx
jl 0x47acbe
mov eax, dword [ebp + 8]
cmp dword [eax], 4
jl 0x47af7a
mov dword [ebp - 0x40], 0
jmp 0x47ada5
push 0x14
call fcn.00476140
pop ecx
cmp eax, 0
je 0x47ad19
mov ecx, eax
call fcn.00471f00
mov eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x40]
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebx + eax*8]
mov dword [ebp - 0x18], 0
cmp ebx, 0
je 0x47ad59
push ebx
call fcn.0040dc70
pop ecx
push eax
push ebx
lea eax, [ebp - 0x18]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x18], 0
je 0x47ad59
mov ebx, dword [ebp - 0x18]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x44]
add eax, 8
mov ecx, eax
call fcn.0040cc10
cmp dword [ebp - 0x18], 0
je 0x47ad7a
mov eax, dword [ebp - 0x18]
mov ecx, eax
call fcn.0040c380
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x40]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebx + eax*8 + 4]
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x60], ecx
inc dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
cmp dword [ebp - 0x40], ecx
jl 0x47ad03
mov eax, dword [ebp + 8]
cmp dword [eax + 0x48], 0
je 0x47af7a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
cmp byte [edx], 0
je 0x47af7a
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov dword [ebp - 0x1c], 0
cmp ebx, 0
je 0x47ae07
push ebx
call fcn.0040dc70
pop ecx
push eax
push ebx
lea eax, [ebp - 0x1c]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x1c], 0
je 0x47ae07
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x20], 0
push 0x528239
call fcn.0040dc70
pop ecx
push eax
push 0x528239
lea eax, [ebp - 0x20]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x20], 0
je 0x47ae3b
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046bde0
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x20], 0
je 0x47ae5d
mov eax, dword [ebp - 0x20]
mov ecx, eax
call fcn.0040c380
cmp dword [ebp - 0x1c], 0
je 0x47ae6d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
call fcn.0040c380
mov dword [ebp - 0x4c], 1
jmp 0x47af6e
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov dword [ebp - 0x24], 0
cmp ebx, 0
je 0x47aeb0
push ebx
call fcn.0040dc70
pop ecx
push eax
push ebx
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x24], 0
je 0x47aeb0
mov ebx, dword [ebp - 0x24]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x28], 0
push 0x528239
call fcn.0040dc70
pop ecx
push eax
push 0x528239
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0040c560
cmp dword [ebp - 0x28], 0
je 0x47aee4
mov ebx, dword [ebp - 0x28]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
push dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0046c060
add esp, 0x10
cmp dword [ebp - 0x28], 0
je 0x47af0b
mov eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.0040c380
cmp dword [ebp - 0x24], 0
je 0x47af1b
mov eax, dword [ebp - 0x24]
mov ecx, eax
call fcn.0040c380
lea eax, [ebp - 8]
mov ecx, eax
call fcn.0040caf0
push eax
call fcn.00478270
pop ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x47af5b
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x6c], 0
je 0x47af5b
mov eax, dword [ebp - 0x30]
push dword [eax + 0x3c]
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
add eax, 4
mov ecx, eax
call fcn.004b0d60
mov eax, dword [ebp - 0x30]
add dword [eax + 0x3c], 0xc
cmp dword [ebp - 8], 0
je 0x47af6b
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.0040c380
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x4c], eax
jle 0x47ae79
mov edx, dword [0x528834]
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
mov eax, dword [ebp - 0x30]
mov dword [0x528834], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x47afa6
mov eax, dword [ebp - 0x2c]
mov ecx, eax
call fcn.0040c350
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x528838
mov ecx, eax
call fcn.0047ea00
cmp dword [ebp - 0x2c], 0
je 0x47afc9
mov eax, dword [ebp - 0x2c]
mov ecx, eax
call fcn.0040c380
lea esp, [ebp - 4]
pop ebx
pop ebp
ret