Function at 0x4b7aa0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [0x97efc0]
xor eax, esp
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
mov dword [esp + 0x10], ebx
movzx esi, byte [ebp + 5]
push esi
push edx
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ebp
call fcn.0040fcf0
push esi
push 1
push dword [ebx + 0x10]
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00409bc0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b7b13
mov eax, dword [esp + 0x14]
push esi
mov dword [esi + 0x30], edi
push ebx
mov dword [esi + 0x34], eax
call fcn.0041dbe0
add esp, 8
add esi, 0x18
push dword [esp + 0x1c]
push esi
push 0x152
push ebx
call fcn.0041d850
mov cl, byte [ebp + 6]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp cl, 1
je 0x4b7d0a
xor edi, edi
movzx ebp, cl
test cl, cl
je 0x4b7b73
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x28]
movzx ebx, byte [eax + 5]
nop dword [eax + eax]
mov eax, ebx
imul eax, edi
push 0x20
push 0
push eax
call fcn.0040fcf0
inc edi
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], edx
lea esi, [esi + 8]
cmp edi, ebp
jb 0x4b7b50
mov ebx, dword [esp + 0x10]
push 0x20
push ebp
push dword [ebx + 0x10]
call fcn.00409bc0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b7b8d
mov dword [esp + 0x14], eax
jmp 0x4b7bb4
lea eax, [ebp*8]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004f0550
push esi
push ebx
call fcn.0041dbe0
lea eax, [esi + 0x18]
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
xor edi, edi
movzx ebp, byte [eax + 6]
test ebp, ebp
je 0x4b7bf3
movzx ebx, byte [eax + 5]
lea esi, [esp + 0x28]
nop word [eax + eax]
inc edi
mov eax, edi
imul eax, ebx
push 0x20
push 0
push eax
call fcn.0040fcf0
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], edx
lea esi, [esi + 8]
cmp edi, ebp
jb 0x4b7bd0
mov ebx, dword [esp + 0x10]
push 0x20
push ebp
push dword [ebx + 0x10]
call fcn.00409bc0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b7c0b
xor ebp, ebp
jmp 0x4b7c2e
lea eax, [ebp*8]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004f0550
push esi
push ebx
call fcn.0041dbe0
add esp, 0x14
lea ebp, [esi + 0x18]
mov ecx, dword [esp + 0x18]
movzx esi, byte [ecx + 0x11]
push esi
push 0
push 0
call fcn.0040fcf0
push esi
push 1
push dword [ebx + 0x10]
mov edi, eax
mov dword [esp + 0x28], edx
call fcn.00409bc0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4b7c5e
xor edi, edi
jmp 0x4b7c75
mov eax, dword [esp + 0x10]
push esi
mov dword [esi + 0x30], edi
push ebx
mov dword [esi + 0x34], eax
call fcn.0041dbe0
add esp, 8
lea edi, [esi + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movzx esi, byte [eax + 0x11]
mov eax, ecx
push esi
sar ecx, 0x1f
sar eax, 0x1f
push ecx
push eax
call fcn.0040fcf0
push esi
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
call fcn.00409bc0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b7cc8
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
push esi
push ebx
mov dword [esi + 0x34], eax
call fcn.0041dbe0
add esp, 8
add esi, 0x18
push dword [esp + 0x14]
push dword [esp + 0x20]
push 0x19f
push ebx
call fcn.0041d850
mov ecx, dword [esp + 0x28]
push ecx
push esi
push eax
push 0x71
push ebx
call fcn.0041d8c0
push ebp
push dword [esp + 0x44]
mov esi, eax
push 0x19f
push ebx
call fcn.0041d850
push edi
push esi
push eax
push 0x71
push ebx
call fcn.0041d8c0
add esp, 0x48
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eec95
add esp, 0x3c
ret