Function at 0x4b8620
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0xa0]
push eax
push ecx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0xbc]
push eax
push ecx
push edx
push esi
push ebx
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b8676
pop esi
mov eax, 1
pop ebx
add esp, 0x90
ret
mov edx, dword [esi + 8]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov eax, dword [ebx + 8]
push ebp
mov ebp, dword [esp + 0x64]
imul esi, edx
push edi
mov edi, dword [esp + 0x64]
sub ebp, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
sub ecx, edi
imul edi, dword [esp + 0x14]
lea ebx, [eax + eax*2]
mov dword [esp + 0x18], ebp
add esi, ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x2c], edx
add esi, dword [ebx + 4]
mov ebx, dword [esp + 0x60]
lea edi, [edi + ebx*4]
mov ebx, dword [esp + 0xb0]
add edi, dword [ebx + 4]
mov bl, byte [esp + 0x4c]
test bl, bl
je 0x4b88d2
sub eax, dword [esp + 0x58]
mov ebx, ebp
and ebx, 7
add eax, ebx
mov dword [esp + 0x1c], ebx
sar ebp, 3
lea edx, [edx + eax*2]
mov dword [esp + 0x20], ebp
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, edx
mov edx, dword [esp + 0x14]
test ecx, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x18], eax
jle 0x4b89dd
mov dword [esp + 0x24], ecx
mov dl, 0xff
test ebp, ebp
jle 0x4b8867
lea eax, [edi + 6]
lea ecx, [esi + 4]
mov bl, byte [ecx - 2]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 3]
mov byte [esp + 0x13], bl
mov bl, byte [esi]
mov byte [edi], bl
mov bl, byte [esp + 0x13]
mov byte [eax - 5], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 4], bl
mov byte [eax - 3], dl
mov bl, byte [ecx + 1]
mov byte [esp + 0x13], bl
mov bl, byte [ecx]
mov byte [esp + 0x12], bl
mov bl, byte [ecx - 1]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax - 1], bl
mov bl, byte [esp + 0x13]
mov byte [eax], bl
mov byte [eax + 1], dl
mov bl, byte [ecx + 4]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 3]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 2]
mov byte [eax + 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 3], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 4], bl
mov byte [eax + 5], dl
mov bl, byte [ecx + 7]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 6]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 5]
mov byte [eax + 6], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 7], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 8], bl
mov byte [eax + 9], dl
mov bl, byte [ecx + 0xa]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 9]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 8]
mov byte [eax + 0xa], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xb], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0xc], bl
mov byte [eax + 0xd], dl
mov bl, byte [ecx + 0xd]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xc]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xb]
mov byte [eax + 0xe], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0xf], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], dl
mov bl, byte [ecx + 0x10]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0xe]
mov byte [eax + 0x12], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x13], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x14], bl
mov byte [eax + 0x15], dl
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 0x12]
mov byte [esp + 0x12], bl
mov bl, byte [ecx + 0x11]
mov byte [eax + 0x19], dl
mov byte [eax + 0x16], bl
mov bl, byte [esp + 0x12]
mov byte [eax + 0x17], bl
mov bl, byte [esp + 0x13]
mov byte [eax + 0x18], bl
add edi, 0x20
add eax, 0x20
add esi, 0x18
add ecx, 0x18
dec ebp
jne 0x4b8728
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ebx, ebx
jle 0x4b88aa
lea eax, [edi + 2]
lea ebp, [esi + 1]
mov dword [esp + 0x14], ebx
mov bl, byte [ebp]
mov cl, byte [ebp + 1]
mov byte [esp + 0x12], bl
mov bl, byte [ebp - 1]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax], cl
mov ecx, dword [esp + 0x14]
mov byte [eax - 1], bl
mov byte [eax + 1], dl
add ebp, 3
add eax, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4b8875
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0x24]
add esi, ecx
dec eax
mov dword [esp + 0x24], eax
jne 0x4b871a
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
lea eax, [eax + eax*2]
mov dword [esp + 0x34], eax
mov eax, edx
mov edx, dword [esp + 0x80]
imul eax, dword [esp + 0x9c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x98]
test ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
jle 0x4b89dd
add edi, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dl, 0xff
jmp 0x4b8947
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
js 0x4b8961
mov ecx, dword [esp + 0x2c]
add esi, ecx
mov ecx, dword [esp + 0x40]
sub ebx, ecx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], esi
test ebp, ebp
jle 0x4b89bd
mov eax, edi
mov edi, ebp
jmp 0x4b8977
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
js 0x4b898e
mov ebx, dword [esp + 0x30]
add esi, 3
sub ecx, ebx
mov dword [esp + 0x20], ecx
mov bl, byte [esi + 1]
mov cl, byte [esi + 2]
mov byte [esp + 0x12], bl
mov bl, byte [esi]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x12]
mov byte [eax], cl
mov ecx, dword [esp + 0x34]
mov byte [eax - 1], bl
mov byte [eax + 1], dl
add esi, ecx
add eax, 4
dec edi
jne 0x4b8973
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
add edi, ebx
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
jne 0x4b8943
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret