Function at 0x4b7e30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
lea ecx, [ebx + 0xc]
lea edx, [ebx + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
movzx eax, byte [edi + 8]
and eax, 0x3f
cmp eax, 6
je 0x4b8063
nop dword [eax]
cmp eax, 0x16
je 0x4b7f64
cmp eax, 0x26
je 0x4b7f57
mov eax, dword [ebx + 0x18]
lea ebp, [ebx + 0xc]
sub eax, dword [ebp]
and eax, 0xfffffff0
cmp eax, 0x10
jg 0x4b7eec
mov eax, dword [ebx + 0x10]
sub edi, dword [ebx + 0x1c]
mov dword [esp + 0x14], edi
cmp dword [eax + 0xc], 0
jle 0x4b7e9c
push ebx
call fcn.004ba310
add esp, 4
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
sub ecx, edx
sar ecx, 4
cmp ecx, 0xf4240
jg 0x4b8137
mov eax, dword [ebp]
add ecx, ecx
sub eax, edx
mov edx, 0xf4240
sar eax, 4
inc eax
cmp ecx, 0xf4240
cmovg ecx, edx
cmp ecx, eax
cmovge eax, ecx
cmp eax, edx
jg 0x4b813f
push 1
push eax
push ebx
call fcn.004b8460
mov edi, dword [ebx + 0x1c]
add esp, 0xc
add edi, dword [esp + 0x14]
push 0x17
push edi
push ebx
call fcn.004c3750
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test byte [edx + 8], 0xf
je 0x4b812b
mov ecx, dword [ebp]
cmp ecx, edi
jbe 0x4b7f2c
nop
mov eax, dword [ecx - 0x10]
mov edx, dword [ecx - 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, byte [ecx - 8]
mov byte [ecx + 8], al
add ecx, 0xfffffff0
cmp ecx, edi
ja 0x4b7f10
mov edx, dword [esp + 0x14]
add dword [ebp], 0x10
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov al, byte [edx + 8]
mov byte [edi + 8], al
movzx eax, al
and eax, 0x3f
cmp eax, 6
jne 0x4b7e60
lea edx, [ebx + 0x18]
jmp 0x4b8065
mov eax, dword [edi]
lea ecx, [ebx + 0xc]
add eax, 0xc
lea edx, [ebx + 0x18]
jmp 0x4b7f74
lea edx, [ebx + 0x18]
mov eax, edi
lea ecx, [ebx + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov ebp, dword [eax]
mov eax, dword [edx]
sub eax, dword [ecx]
and eax, 0xfffffff0
cmp eax, 0x140
jg 0x4b7ff1
mov eax, dword [ebx + 0x10]
sub edi, dword [ebx + 0x1c]
mov esi, edi
cmp dword [eax + 0xc], 0
jle 0x4b7f9b
push ebx
call fcn.004ba310
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ecx]
sub ecx, edx
sar ecx, 4
cmp ecx, 0xf4240
jg 0x4b8137
mov eax, dword [esp + 0x24]
add ecx, ecx
mov eax, dword [eax]
sub eax, edx
mov edx, 0xf4240
sar eax, 4
add eax, 0x14
cmp ecx, 0xf4240
cmovg ecx, edx
cmp ecx, eax
cmovge eax, ecx
cmp eax, edx
jg 0x4b813f
push 1
push eax
push ebx
call fcn.004b8460
mov edi, dword [ebx + 0x1c]
add esp, 0xc
add edi, esi
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x4b8006
push ebx
call fcn.004b4a00
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x24]
mov eax, 2
mov cx, word [esp + 0x28]
mov dword [ebx + 0x14], esi
mov word [esi + 0x20], cx
mov word [esi + 0x22], ax
mov ecx, dword [edx]
add ecx, 0x140
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x6c]
test al, 1
je 0x4b804b
mov eax, dword [edx]
sub eax, edi
sar eax, 4
dec eax
push eax
push 1
push 0xffffffffffffffff
push 0
push ebx
call fcn.004b7a10
add esp, 0x14
push ebx
call ebp
push eax
push esi
push ebx
call fcn.004b7c50
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebp, ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov eax, dword [ebp]
sub eax, edi
mov dword [esp + 0x10], esi
sar eax, 4
movzx esi, byte [esi + 6]
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
sub eax, dword [ebp]
sar eax, 4
cmp eax, dword [esp + 0x24]
jg 0x4b80c8
mov eax, dword [ebx + 0x10]
sub edi, dword [ebx + 0x1c]
mov dword [esp + 0x14], edi
cmp dword [eax + 0xc], 0
jle 0x4b80b2
push ebx
call fcn.004ba310
add esp, 4
push 1
push dword [esp + 0x28]
push ebx
call fcn.004b7980
mov edi, dword [ebx + 0x1c]
add esp, 0xc
add edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x4b80dd
push ebx
call fcn.004b4a00
add esp, 4
mov edx, eax
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x28]
mov dword [ebx + 0x14], edx
mov word [edx + 0x20], cx
mov ecx, dword [eax + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx], edi
lea ecx, [ecx + 1]
shl ecx, 4
add ecx, edi
mov dword [edx + 4], ecx
mov dword [ebx + 0x14], edx
cmp eax, esi
jge 0x4b8121
sub esi, eax
mov eax, dword [ebp]
mov byte [eax + 8], 0
add dword [ebp], 0x10
sub esi, 1
jne 0x4b8111
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0xc
ret
push str.call
push edi
push ebx
call fcn.004b7350
push 5
push ebx
call fcn.004b8660
push 1
push 0xf4308
push ebx
call fcn.004b8460
add esp, 0xc
push str.stack_overflow
push ebx
call fcn.004b7110
int3