Function at 0x844860
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
nop
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x848b60
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
cmp eax, 0x8000000
jae 0x844a89
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x24], ecx
mov ecx, eax
shl ecx, 5
cmp eax, 0x80
mov dword [ebp - 0x28], ecx
jb 0x8448db
cmp eax, 0x7ffffff
je 0x844a8e
lea eax, [ecx + 0x23]
push eax
call fcn.0091d7fd
add esp, 4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x8448ee
test eax, eax
je 0x8448ec
push ecx
call fcn.0091d7fd
add esp, 4
mov edi, eax
jmp 0x8448ee
xor edi, edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x844a32
xor edx, edx
nop dword [eax]
movzx ebx, byte [eax + edx]
mov byte [edi + edx], bl
movzx ebx, byte [eax + edx + 1]
mov byte [edi + edx + 1], bl
movzx ebx, byte [eax + edx + 2]
mov byte [edi + edx + 2], bl
movzx ebx, byte [eax + edx + 3]
mov byte [edi + edx + 3], bl
movzx ebx, byte [eax + edx + 4]
mov byte [edi + edx + 4], bl
movzx ebx, byte [eax + edx + 5]
mov byte [edi + edx + 5], bl
movzx ebx, byte [eax + edx + 6]
mov byte [edi + edx + 6], bl
movzx ebx, byte [eax + edx + 7]
mov byte [edi + edx + 7], bl
movzx ebx, byte [eax + edx + 8]
mov byte [edi + edx + 8], bl
movzx ebx, byte [eax + edx + 9]
mov byte [edi + edx + 9], bl
movzx ebx, byte [eax + edx + 0xa]
mov byte [edi + edx + 0xa], bl
movzx ebx, byte [eax + edx + 0xb]
mov byte [edi + edx + 0xb], bl
movzx ebx, byte [eax + edx + 0xc]
mov byte [edi + edx + 0xc], bl
movzx ebx, byte [eax + edx + 0xd]
mov byte [edi + edx + 0xd], bl
movzx ebx, byte [eax + edx + 0xe]
mov byte [edi + edx + 0xe], bl
movzx ebx, byte [eax + edx + 0xf]
mov byte [edi + edx + 0xf], bl
movzx ebx, byte [eax + edx + 0x10]
mov byte [edi + edx + 0x10], bl
movzx ebx, byte [eax + edx + 0x11]
mov byte [edi + edx + 0x11], bl
movzx ebx, byte [eax + edx + 0x12]
mov byte [edi + edx + 0x12], bl
movzx ebx, byte [eax + edx + 0x13]
mov byte [edi + edx + 0x13], bl
movzx ebx, byte [eax + edx + 0x14]
mov byte [edi + edx + 0x14], bl
movzx ebx, byte [eax + edx + 0x15]
mov byte [edi + edx + 0x15], bl
movzx ebx, byte [eax + edx + 0x16]
mov byte [edi + edx + 0x16], bl
movzx ebx, byte [eax + edx + 0x17]
mov byte [edi + edx + 0x17], bl
movzx ebx, byte [eax + edx + 0x18]
mov byte [edi + edx + 0x18], bl
movzx ebx, byte [eax + edx + 0x19]
mov byte [edi + edx + 0x19], bl
movzx ebx, byte [eax + edx + 0x1a]
mov byte [edi + edx + 0x1a], bl
movzx ebx, byte [eax + edx + 0x1b]
mov byte [edi + edx + 0x1b], bl
movzx ebx, byte [eax + edx + 0x1c]
mov byte [edi + edx + 0x1c], bl
movzx ebx, byte [eax + edx + 0x1d]
mov byte [edi + edx + 0x1d], bl
movzx ebx, byte [eax + edx + 0x1e]
mov byte [edi + edx + 0x1e], bl
movzx ebx, byte [eax + edx + 0x1f]
mov byte [edi + edx + 0x1f], bl
lea ebx, [eax + edx]
add ebx, 0x20
add edx, 0x20
cmp ebx, ecx
jne 0x844900
nop
mov eax, dword [esi]
test eax, eax
je 0x844a61
nop
mov ecx, dword [esi + 8]
sub ecx, eax
cmp ecx, 0x1000
jb 0x844a57
nop
mov edx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, edx
cmp eax, 0x20
jae 0x844a93
add ecx, 0x23
mov eax, edx
push ecx
push eax
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
mov dword [esi], edi
add eax, edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0066aec0
call fcn.0066aec0
nop
mov dword [ebp - 0x10], 0
call fcn.00900ce1
push ebp
sub esp, 8
add ebp, 0xc
call fcn.009350a0
int3