Function at 0x4b7b70
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x422c
call fcn.005322e0
mov eax, dword [esp + 0x4230]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [0x67a8cc]
push edi
push ebx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], ebx
call fcn.004b7130
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x64]
push edx
push 1
push 0x2c
push eax
mov ecx, esi
call fcn.004b7170
lea ecx, [esp + 0x64]
call fcn.00478ad0
test eax, eax
jne 0x4b7f53
mov ecx, dword [0x67a8cc]
push 1
push 0xffffffffffffffd4
push ecx
mov ecx, esi
call fcn.004b7130
mov edx, dword [0x67a8cc]
lea ebp, [esi + 4]
push edx
push 1
push 2
push ebp
mov ecx, esi
call fcn.004b7170
mov eax, dword [0x67a8cc]
lea edi, [esi + 6]
push eax
push 1
push 2
push edi
mov ecx, esi
call fcn.004b7170
cmp word [ebp], bx
je 0x4b7f44
cmp word [edi], bx
je 0x4b7f44
mov ecx, dword [0x67a8cc]
lea edi, [esi + 0xa]
push ecx
push 1
push 1
push edi
mov ecx, esi
call fcn.004b7170
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x12]
push edx
push 1
push 1
push eax
mov ecx, esi
call fcn.004b7170
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x13]
push ecx
push 1
push 1
push edx
mov ecx, esi
call fcn.004b7170
mov eax, dword [0x67a8cc]
push 1
push 1
push eax
mov ecx, esi
call fcn.004b7130
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x14]
push ecx
push 1
push 4
push edx
mov ecx, esi
call fcn.004b7170
cmp byte [esp + 0x12], 3
jne 0x4b7cc1
mov eax, dword [esp + 0x14]
mov ecx, dword [0x67a8cc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edx, dword [0x67a8cc]
add esp, 4
mov ecx, esi
push eax
push edx
call fcn.004b7790
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x422c
ret 4
xor eax, eax
xor ecx, ecx
mov al, byte [edi]
mov cx, word [ebp]
imul ecx, eax
add ecx, 0x1f
sar ecx, 3
and ecx, 0xfffc
mov word [esi + 8], cx
mov ecx, dword [0x6969c0]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jg 0x4b7cf0
mov dword [esp + 0x18], eax
mov ecx, dword [0x67a8d8]
cmp ecx, 0x18
mov dword [esp + 0x20], ecx
jl 0x4b7d07
mov dword [esp + 0x20], 0x18
cmp dword [esp + 0x18], eax
jle 0x4b7dab
mov ebp, dword [eax*4 + 0x67a8e4]
lea edx, [ebp*4]
push edx
call fcn.004784e0
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x4b7d42
lea eax, [ebp - 1]
cmp eax, ebx
jl 0x4b7d3e
lea ecx, [eax + 1]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x4b7d44
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x10], eax
cmp ecx, 4
jne 0x4b7d99
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x1c]
push eax
push 1
push 1
push ecx
mov ecx, esi
call fcn.004b7170
mov edx, dword [0x67a8cc]
push 1
push 3
push edx
mov ecx, esi
call fcn.004b7130
mov al, byte [esp + 0x1c]
mov ecx, dword [esi + 0x10]
and eax, 0xf
mov dword [ecx], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
and edx, 0xff
shr edx, 4
mov dword [eax + 4], edx
jmp 0x4b7dab
mov ecx, dword [0x67a8cc]
push ecx
push ebp
push 4
push eax
mov ecx, esi
call fcn.004b7170
mov edx, dword [esp + 0x14]
push edx
call fcn.00478e60
mov edx, dword [esp + 0x18]
lea edi, [esi + 0xc]
add esp, 4
mov dword [edi], eax
mov ecx, dword [0x67a8cc]
push ecx
push edx
push 1
push eax
mov ecx, esi
call fcn.004b7170
cmp byte [esp + 0x13], 2
jne 0x4b7e3f
cmp dword [esi + 0x30], ebx
jne 0x4b7e12
push 0x18
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x4b7e06
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 6]
mov dx, word [esi + 4]
push 8
push ecx
push edx
mov ecx, eax
call fcn.004bb710
jmp 0x4b7e08
xor eax, eax
mov ecx, eax
mov dword [esi + 0x30], eax
call fcn.004bb8b0
mov ecx, dword [esi + 0x30]
xor edx, edx
mov eax, dword [ecx + 0xc]
imul eax, dword [ecx + 4]
cmp eax, ebx
setle dl
dec edx
and eax, edx
mov edx, dword [0x67a8cc]
push edx
push eax
push 1
push ebx
push ebx
call fcn.004bc3a0
push eax
mov ecx, esi
call fcn.004b7170
cmp byte [esp + 0x12], bl
je 0x4b7eaa
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 8]
mov cx, word [esi + 6]
imul eax, ecx
push eax
call fcn.00478e60
mov ebp, eax
mov al, byte [esp + 0x16]
add esp, 4
cmp al, 1
jne 0x4b7e79
mov edx, dword [edi]
push ebp
push edx
lea ecx, [esp + 0x198]
call fcn.004b8c30
jmp 0x4b7e98
cmp al, 2
jne 0x4b7e98
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 8]
mov cx, word [esi + 6]
imul eax, ecx
mov edx, dword [edi]
push eax
push ebp
push edx
mov ecx, esi
call fcn.004b8520
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00478eb0
add esp, 8
mov dword [edi], ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp edx, ebp
je 0x4b7f32
mov eax, fcn.00401ef0
mov ecx, fcn.00401ef0
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov eax, edx
mov dword [esp + 0x2c], ecx
cdq
and edx, 7
mov dword [esp + 0x5c], ecx
add eax, edx
push edi
mov ecx, eax
mov eax, ebp
cdq
and edx, 7
mov dword [esp + 0x28], ebx
add eax, edx
mov dword [esp + 0x2c], 0x4b7fb0
sar ecx, 3
sar eax, 3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x4b8020
lea edx, [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x4b8160
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0x4b8270
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
call dword [esp + edx*4 + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x422c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x422c
ret 4
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x90]
lea ecx, [esp + 0x64]
push eax
call fcn.00478af0
test eax, eax
je 0x4b7f93
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call fcn.004b7a30
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x422c
ret 4