Function at 0x4b7bf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [0x97ffc0]
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.0040fdb0
push esi
push 1
push dword [ebx + 0x10]
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00409c50
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b7c63
mov eax, dword [esp + 0x14]
push esi
mov dword [esi + 0x30], edi
push ebx
mov dword [esi + 0x34], eax
call fcn.0041dcb0
add esp, 8
add esi, 0x18
push dword [esp + 0x1c]
push esi
push 0x152
push ebx
call fcn.0041d920
mov cl, byte [ebp + 6]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp cl, 1
je 0x4b7e5a
xor edi, edi
movzx ebp, cl
test cl, cl
je 0x4b7cc3
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.0040fdb0
inc edi
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], edx
lea esi, [esi + 8]
cmp edi, ebp
jb 0x4b7ca0
mov ebx, dword [esp + 0x10]
push 0x20
push ebp
push dword [ebx + 0x10]
call fcn.00409c50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b7cdd
mov dword [esp + 0x14], eax
jmp 0x4b7d04
lea eax, [ebp*8]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004f06e0
push esi
push ebx
call fcn.0041dcb0
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 0x4b7d43
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.0040fdb0
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], edx
lea esi, [esi + 8]
cmp edi, ebp
jb 0x4b7d20
mov ebx, dword [esp + 0x10]
push 0x20
push ebp
push dword [ebx + 0x10]
call fcn.00409c50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b7d5b
xor ebp, ebp
jmp 0x4b7d7e
lea eax, [ebp*8]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.004f06e0
push esi
push ebx
call fcn.0041dcb0
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.0040fdb0
push esi
push 1
push dword [ebx + 0x10]
mov edi, eax
mov dword [esp + 0x28], edx
call fcn.00409c50
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4b7dae
xor edi, edi
jmp 0x4b7dc5
mov eax, dword [esp + 0x10]
push esi
mov dword [esi + 0x30], edi
push ebx
mov dword [esi + 0x34], eax
call fcn.0041dcb0
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.0040fdb0
push esi
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
call fcn.00409c50
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b7e18
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.0041dcb0
add esp, 8
add esi, 0x18
push dword [esp + 0x14]
push dword [esp + 0x20]
push 0x19f
push ebx
call fcn.0041d920
mov ecx, dword [esp + 0x28]
push ecx
push esi
push eax
push 0x71
push ebx
call fcn.0041d990
push ebp
push dword [esp + 0x44]
mov esi, eax
push 0x19f
push ebx
call fcn.0041d920
push edi
push esi
push eax
push 0x71
push ebx
call fcn.0041d990
add esp, 0x48
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eee25
add esp, 0x3c
ret