Function at 0x486d10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], 0
mov eax, dword [edi]
movzx ebx, byte [edi + 0x20]
not ebx
and ebx, 1
mov eax, dword [eax]
mov dword [esp + 0x20], eax
add eax, ebx
add eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x486d62
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x486d6f
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x10]
test eax, eax
je 0x486d80
inc eax
jmp 0x486d86
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
dec dword [ecx + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [edi]
call fcn.004a96a0
add esp, 0xc
test ebx, ebx
je 0x486e1a
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], ecx
jg 0x486deb
push 0
push eax
push edx
mov edx, 0x78
mov ecx, esi
call fcn.004c8320
add esp, 0xc
jmp 0x486e1a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov edx, dword [esp + 0x10]
jne 0x486e44
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x486e44
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
add eax, edx
mov edx, dword [ebp + 0xc]
add eax, ebx
push eax
call fcn.004aaed0
add esp, 8
cmp dword [esp + 0x2c], 0
jle 0x4870bc
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004872a0
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x2c]
lea ecx, [edx + 1]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 4]
add ecx, edx
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov eax, ecx
sub eax, dword [edi + 4]
add eax, ebx
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x486e9d
mov eax, dword [esp + 0x10]
add eax, ecx
jmp 0x486ea0
mov eax, dword [edi + 8]
neg ebx
mov ecx, esi
push eax
sbb ebx, ebx
and ebx, 0xffffffa1
lea edx, [ebx + 0x73]
call fcn.004c81f0
mov ecx, dword [esi + 0x6c]
add esp, 4
mov edx, dword [edi + 4]
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x70], ecx
jg 0x486edf
mov ebx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
push dword [esp + 0x38]
mov edx, 0x57
call fcn.004c8320
add esp, 0xc
jmp 0x486f0e
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x486f19
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x486f28
mov ecx, 0x51e9d8
jmp 0x486f31
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x48728c
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x18], ecx
movzx eax, word [ecx + 6]
push eax
push 0
push dword [ecx + 0x10]
call fcn.00405490
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
je 0x486f87
push dword [esp + 0x18]
mov edx, 0xfffffff7
call fcn.004c7440
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x486fbe
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea ecx, [eax + ecx*4]
je 0x486fb3
push 0xfffffffffffffff7
push dword [esp + 0x1c]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.004c71e0
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x486fbe
mov eax, dword [esp + 0x18]
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf7
movzx ecx, word [eax + 8]
movzx eax, word [eax + 6]
mov edx, dword [edi]
sub ecx, eax
dec ecx
push ecx
push dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
call fcn.00485d40
mov ecx, dword [esp + 0x3c]
mov edx, 0x10
mov dword [ecx + 0x10], eax
mov ecx, esi
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x3c], eax
inc eax
push eax
push 0
push eax
call fcn.004c82b0
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov edx, 0xc
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push dword [edi + 0x10]
mov dword [edi + 0xc], eax
push eax
call fcn.004c8180
push dword [edi + 8]
mov edx, 0x8a
mov ecx, esi
call fcn.004c81f0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x48704f
push dword [edi + 0x18]
mov edx, 0x14
mov ecx, esi
push eax
call fcn.004c8180
add esp, 8
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x48705d
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x48706c
mov eax, 0x51e9d8
jmp 0x487075
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, ebx
push dword [edi + 4]
push dword [esp + 0x34]
call fcn.004aaed0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x48709b
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4870ad
mov eax, 0x51e9d8
mov dword [eax + 8], edx
jmp 0x4870c0
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4870c0
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
je 0x4871ff
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 8]
mov dword [esp + 0x18], edx
lea eax, [ecx + 4]
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x70], ecx
jg 0x4870fd
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x30
mov ecx, esi
call fcn.004c8320
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x487134
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x487156
push 0
push 0
push edx
mov edx, 0x20
mov ecx, esi
call fcn.004c8320
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x487189
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
sub eax, ecx
push eax
lea eax, [ebx + ecx]
mov ecx, esi
push eax
push 0
push edx
mov edx, 0x25
call fcn.004c7b60
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x70], ecx
jg 0x4871d0
push 0
push 0
push edx
mov edx, 0x7b
mov ecx, esi
call fcn.004c8320
add esp, 0xc
jmp 0x4871ff
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x487223
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, edi
push ebx
push dword [ebp + 8]
call fcn.004872a0
add esp, 0xc
mov dword [esp + 0x24], eax
mov edx, eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub eax, ecx
push eax
lea eax, [ebx + ecx]
mov ecx, esi
push eax
push edx
mov dl, byte [edi + 0x20]
push dword [edi + 8]
not dl
and edx, 1
add edx, 0x83
call fcn.004c7b60
mov ecx, dword [esp + 0x48]
add esp, 0x10
test ecx, ecx
je 0x48728c
mov edx, dword [edi + 0x1c]
test edx, edx
jne 0x487260
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x487268
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x48727f
mov eax, 0x51e9d8
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret