Function at 0x47eea0
Capabilities:
Enumerate pe sections

Disassembly:
push 0x47c
mov eax, 0x4e5b9f
call fcn.004dc9ce
mov ebx, ecx
mov dword [ebp - 0x45c], ebx
xor ecx, ecx
push ecx
push ecx
push 0x1009
push dword [ebx + 0x41d4]
mov dword [ebp - 0x464], ecx
call dword [0x4ee7bc]
lea edi, [ebx + 0x41d8]
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x47ef01
push 0x24
mov edi, eax
pop ebx
mov ecx, esi
call fcn.0047f3e5
add esi, ebx
cmp esi, edi
jne 0x47eee6
mov ebx, dword [ebp - 0x45c]
lea edi, [ebx + 0x41d8]
mov esi, dword [edi]
push 0xffffffffffffffff
mov dword [edi + 4], esi
push dword [ebx + 0xc8]
call dword [0x4ee0a4]
lea ecx, [ebp - 0x455]
call fcn.00420e68
and dword [ebp - 4], 0
lea eax, [ebp - 0x430]
push 0x400
push 0
push eax
call fcn.004c8e60
add esp, 0xc
lea eax, [ebp - 0x430]
push 0x104
push eax
push 0x4b9
push dword [ebx + 4]
call dword [0x4ee6bc]
lea eax, [ebp - 0x430]
push eax
call dword [0x4ee5bc]
mov esi, dword [0x4ee7a8]
push 0x4c4
push dword [ebx + 4]
call esi
mov ecx, eax
mov dword [ebp - 0x468], ecx
call fcn.0042f206
push 0x4c5
mov dword [eax + 0x20c], ecx
push dword [ebx + 4]
call esi
mov ecx, eax
mov dword [ebp - 0x480], ecx
call fcn.0042f206
mov dword [eax + 0x210], ecx
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [ebx + 0x64]
je 0x47f3d4
xor eax, eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 1
push eax
call fcn.0047a09c
mov eax, dword [ebx + 0x41e8]
sub eax, dword [ebx + 0x41e4]
cdq
push 0x18
pop ecx
idiv ecx
push 0x24
mov ecx, eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
cdq
pop esi
idiv esi
cmp ecx, eax
jbe 0x47f005
cmp ecx, 0x71c71c7
ja 0x47f3df
push ecx
mov ecx, edi
call fcn.0047f879
mov esi, dword [ebx + 0x41e4]
mov dword [ebp - 0x46c], esi
cmp esi, dword [ebx + 0x41e8]
je 0x47f3b2
mov eax, dword [ebp - 0x468]
test eax, eax
jne 0x47f03b
cmp dword [esi + 0x14], 1
je 0x47f39d
cmp dword [esi + 0x14], 0x20
je 0x47f39d
cmp dword [ebp - 0x480], 0
jne 0x47f054
cmp dword [esi + 0x14], 1
je 0x47f054
cmp dword [esi + 0x14], 0x20
jne 0x47f39d
cmp byte [ebp - 0x430], 0
je 0x47f09e
lea eax, [ebp - 0x430]
push eax
push ecx
mov ecx, dword [esi + 0x10]
mov edi, esp
call fcn.0041e34f
push eax
mov ecx, edi
call fcn.004095ca
lea ecx, [ebp - 0x484]
call fcn.0041dbd8
or dword [ebp - 0x464], 1
pop ecx
push dword [eax]
call fcn.004c9680
mov byte [ebp - 0x455], 1
pop ecx
pop ecx
test eax, eax
je 0x47f0a5
mov byte [ebp - 0x455], 0
mov eax, dword [ebp - 0x464]
test al, 1
je 0x47f0c3
and eax, 0xfffffffe
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x464], eax
call fcn.004090e7
cmp byte [ebp - 0x455], 0
jne 0x47f397
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x454]
rep stosd dword es:[edi], eax
call fcn.00409016
push eax
lea ecx, [ebp - 0x444]
call fcn.00408e41
call fcn.00409016
push eax
lea ecx, [ebp - 0x440]
call fcn.00408e41
call fcn.00409016
push eax
lea ecx, [ebp - 0x43c]
call fcn.00408e41
call fcn.00409016
push eax
lea ecx, [ebp - 0x434]
call fcn.00408e41
lea edi, [ebx + 0x41d8]
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x454]
push ecx
cmp dword [edi + 8], eax
je 0x47f149
mov ecx, eax
call fcn.0047fc69
push 0x24
pop eax
add dword [edi + 4], eax
jmp 0x47f151
push eax
mov ecx, edi
call fcn.0047fb1a
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 1
call fcn.004090e7
lea ecx, [ebp - 0x43c]
call fcn.004090e7
lea ecx, [ebp - 0x440]
call fcn.004090e7
lea ecx, [ebp - 0x444]
call fcn.004090e7
mov edi, dword [ebx + 0x41dc]
push 0x24
pop eax
sub edi, eax
cmp dword [esi + 0x14], 1
mov dword [ebp - 0x45c], edi
je 0x47f1a7
cmp dword [esi + 0x14], 0x20
je 0x47f1a7
or dword [ebp - 0x470], 0xffffffff
jmp 0x47f1c6
mov ecx, dword [esi + 0x10]
lea edx, [ebx + 0xc8]
xor eax, eax
cmp dword [esi + 0x14], 1
sete al
push eax
call fcn.0045d612
pop ecx
mov dword [ebp - 0x470], eax
mov ecx, dword [esi + 0x10]
call fcn.0041e34f
push eax
lea ecx, [edi + 0x10]
call fcn.0040959f
mov edi, dword [edi + 0x10]
push 0
push 0
push 0x1004
push dword [ebx + 0x41d4]
call dword [0x4ee7bc]
push 0
push dword [ebp - 0x470]
push ecx
push ecx
push edi
push eax
push 3
lea ecx, [ebx + 0x41d4]
call fcn.0040c855
mov dword [ebp - 0x460], eax
cmp eax, 0xffffffff
je 0x47f397
mov edi, dword [ebp - 0x45c]
lea eax, [esi + 0x10]
push eax
lea ecx, [edi + 0x14]
call fcn.0040585f
push dword [ebp - 0x470]
lea ecx, [ebx + 0x58]
push dword [edi + 0x14]
push 3
push dword [ebp - 0x460]
call fcn.0047a781
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
movzx eax, word [esi + 6]
push eax
lea eax, [ebp - 0x30]
push 0x53105c
push eax
call dword [0x4ee790]
add esp, 0xc
xor eax, eax
push eax
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push 4
push dword [ebp - 0x460]
lea ecx, [ebx + 0x41d4]
call fcn.0040ce6e
mov edi, dword [ebp - 0x45c]
mov ecx, edi
mov eax, dword [esi + 0x14]
mov dword [edi + 0x1c], eax
call fcn.0047ee1d
xor eax, eax
push eax
push eax
push ecx
push eax
push dword [edi + 0x20]
lea ecx, [ebx + 0x41d4]
push 1
push 1
push dword [ebp - 0x460]
call fcn.0040ce6e
and dword [ebp - 0x45c], 0
lea eax, [ebp - 0x45c]
push eax
push 1
push dword [esi]
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x488]
call fcn.0047265f
add esp, 0xc
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0040585f
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
call fcn.004090e7
mov ecx, dword [ebp - 0x45c]
test ecx, ecx
je 0x47f315
mov eax, dword [ecx + 0x44]
cmp dword [eax - 0xc], 0
je 0x47f315
push 0
push ecx
lea ecx, [ebx + 0x58]
call fcn.0047a74a
jmp 0x47f318
or eax, 0xffffffff
push eax
push dword [edi + 0x18]
lea ecx, [ebx + 0x58]
push 2
push dword [ebp - 0x460]
call fcn.0047a781
push dword [esi + 8]
lea eax, [ebp - 0x30]
push 0x531060
push eax
call dword [0x4ee790]
add esp, 0xc
xor eax, eax
push eax
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push 5
push dword [ebp - 0x460]
lea ecx, [ebx + 0x41d4]
call fcn.0040ce6e
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x41d8]
push 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
pop esi
cdq
idiv esi
dec eax
push eax
xor eax, eax
push eax
push ecx
push eax
push eax
push 4
push eax
push dword [ebp - 0x460]
lea ecx, [ebx + 0x41d4]
call fcn.0040ce6e
mov esi, dword [ebp - 0x46c]
mov eax, dword [ebp - 0x468]
add esi, 0x18
mov dword [ebp - 0x46c], esi
cmp esi, dword [ebx + 0x41e8]
jne 0x47f023
lea ecx, [ebx + 0x58]
call fcn.0047b23c
mov ecx, dword [ebp - 0x47c]
test ecx, ecx
je 0x47f3d4
mov edx, dword [ebp - 0x474]
sub edx, ecx
and edx, 0xfffffffc
call fcn.0040ad18
call fcn.00420eb0
call fcn.004dc978
ret
call fcn.0040db23
int3