Function at 0x488aa0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov eax, dword [edi]
movzx ebx, byte [edi + 0x20]
not ebx
and ebx, 1
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea ecx, [eax + ebx]
mov eax, dword [edi + 4]
add ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x488af3
mov edx, dword [esp + 0x40]
sub edx, eax
jmp 0x488afe
mov eax, dword [ebp + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [ebp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x488b10
inc eax
jmp 0x488b13
mov eax, dword [ecx + 8]
dec dword [ebp + 0x38]
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push ecx
push edx
push dword [edi]
push ebp
call fcn.004a0d90
mov eax, dword [esp + 0x24]
add esp, 0x14
add eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
test ebx, ebx
je 0x488b61
push eax
push dword [edi + 8]
push 0x7e
push esi
call fcn.004c6d90
mov eax, dword [esp + 0x54]
add esp, 0x10
cmp dword [esp + 0x4c], 0
jne 0x488b81
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x488b81
push ecx
add eax, ebx
push eax
push dword [esp + 0x48]
push ebp
call fcn.004a2150
add esp, 0x10
cmp dword [esp + 0x1c], 0
jle 0x488da2
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x3c]
push dword [esp + 0x44]
push edi
push ebp
call fcn.0047fd40
mov edx, dword [ebp + 0x2c]
add esp, 0x14
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
add ecx, edx
mov dword [ebp + 0x2c], ecx
lea eax, [edx + 1]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
sub eax, dword [edi + 4]
add eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
test ebx, ebx
jne 0x488bd1
mov eax, dword [edi + 8]
push eax
mov ecx, 0x78
test ebx, ebx
mov eax, 0x11
cmove eax, ecx
push eax
push esi
call fcn.004c6d30
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov ebx, dword [edi + 4]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x70], ecx
jg 0x488c11
push ebx
push dword [esp + 0x3c]
push edx
push 0x5a
push esi
call fcn.00475980
add esp, 0x14
jmp 0x488c3c
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 + 0x38]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x488c4b
mov ecx, 0x5751d0
jmp 0x488c57
mov eax, dword [edi + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp]
mov dword [esp + 0x44], ecx
cmp byte [eax + 0x57], 0
jne 0x488f03
mov ebx, dword [ecx + 0x10]
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
movzx eax, word [ebx + 6]
push eax
push 0
push dword [ebx + 0x10]
call fcn.004fd610
mov eax, dword [esi]
add esp, 0xc
cmp byte [eax + 0x57], 0
je 0x488cac
cmp dword [eax + 0x210], 0
jne 0x488cd7
add dword [ebx], 0xffffffff
jne 0x488cd7
push ebx
push dword [ebx + 0xc]
call fcn.0049dc30
add esp, 8
jmp 0x488cd7
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xffffffec
cmp byte [eax + 1], 0
je 0x488cd0
push 0xfffffffffffffff8
push ebx
push eax
push esi
call fcn.004e2d50
add esp, 0x10
jmp 0x488cd7
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xf8
movzx ecx, word [ebx + 8]
movzx eax, word [ebx + 6]
sub ecx, eax
dec ecx
push ecx
push dword [esp + 0x20]
push dword [edi]
push ebp
call fcn.004b0190
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov ebx, dword [esi + 0x6c]
lea eax, [ebx + 1]
push eax
push 0
push eax
push 0xe
push esi
call fcn.004c6df0
dec dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x10], eax
inc dword [ebp + 0x2c]
push dword [edi + 0x10]
mov eax, dword [ebp + 0x2c]
push eax
push 0xa
push esi
mov dword [edi + 0xc], eax
call fcn.004c6d90
push dword [edi + 8]
push 0x92
push esi
call fcn.004c6d30
mov eax, dword [esp + 0x60]
add esp, 0x40
test eax, eax
je 0x488d4e
push dword [edi + 0x18]
push eax
push 0x11
push esi
call fcn.004c6d90
add esp, 0x10
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x488d60
mov eax, 0x5751d0
jmp 0x488d6d
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
push dword [edi + 4]
push dword [esp + 0x50]
push dword [esp + 0x40]
push ebp
call fcn.004a2150
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x488d96
mov eax, 0x5751d0
jmp 0x488d9f
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x488e3c
mov eax, dword [esi + 0x6c]
mov ebx, dword [edi + 8]
add eax, 4
push eax
push ecx
push 0x3c
push esi
call fcn.004c6d90
push 0
push ebx
push 0x20
push esi
call fcn.004c6d90
mov ecx, dword [esp + 0x3c]
add esp, 0x20
mov edx, dword [esp + 0x38]
sub dword [esp + 0x10], ecx
add edx, ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x70], ecx
jg 0x488e02
push dword [esp + 0x10]
push edx
push 0
push ebx
push 0x28
push esi
call fcn.0045bf40
add esp, 0x18
mov dword [esp + 0x24], eax
jmp 0x488e2d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xfd28
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], edx
push ebx
push 0x82
push esi
call fcn.004c6d30
add esp, 0xc
cmp dword [esp + 0x18], 0
jne 0x488e5d
push dword [esp + 0x14]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push edi
push ebp
call fcn.0047fd40
add esp, 0x14
mov dword [esp + 0x18], eax
movzx edx, byte [edi + 0x20]
mov ecx, dword [esp + 0x1c]
and edx, 1
mov ebx, dword [esp + 0x38]
add edx, 0x8a
sub dword [esp + 0x14], ecx
add ebx, ecx
mov ecx, dword [esi + 0x6c]
mov ebp, dword [edi + 8]
cmp dword [esi + 0x70], ecx
jg 0x488e99
push dword [esp + 0x14]
push ebx
push dword [esp + 0x20]
push ebp
push edx
push esi
call fcn.0045bf40
add esp, 0x18
jmp 0x488ecc
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfd
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x488f03
mov edx, dword [edi + 0x1c]
test edx, edx
jne 0x488ede
mov edx, dword [esi + 0x6c]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x488ef6
pop edi
mov eax, 0x5751d0
pop esi
pop ebp
pop ebx
mov dword [eax + 8], edx
add esp, 0x20
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 ebp
pop ebx
add esp, 0x20
ret