Function at 0x484880
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov ecx, dword [edi]
mov ecx, dword [ecx]
push ebx
mov ebx, eax
movzx eax, byte [edi + 0x1c]
inc dword [ebx + 0x2c]
mov edx, dword [edi + 4]
not eax
and eax, 1
mov dword [esp + 0xc], ecx
add ecx, eax
add ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x2c]
push esi
mov esi, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], edx
je 0x4848d4
mov ecx, dword [ebp + 0xc]
sub ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x4848e4
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
add ecx, edx
mov dword [esp + 0xc], eax
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4848f1
inc eax
jmp 0x4848f4
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.00451f90
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
neg ecx
sbb cl, cl
and cl, 4
or cl, 1
movzx edx, cl
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [edi]
push ebx
call fcn.00469df0
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x484949
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 8]
push 0
add ecx, edx
push ecx
push eax
push 0x72
push esi
call fcn.00451be0
add esp, 0x14
cmp dword [ebp + 0x18], 0
jne 0x484988
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x484988
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add ecx, edx
add ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebx + 8]
push eax
push 0x3f
push ecx
call fcn.00451be0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add esp, 0x14
push edx
push eax
call fcn.00468990
add esp, 8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
sub eax, ecx
add ecx, edx
mov edx, dword [esp + 0x2c]
push edx
push eax
push ecx
push 0x63
push esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
call fcn.00451be0
add esp, 0x14
cmp dword [esp + 0x18], 0
jle 0x484bea
mov eax, dword [ebx + 0x2c]
mov edx, dword [edi + 4]
add edx, eax
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], edx
mov edx, dword [esp + 0x10]
mov eax, edx
sub eax, dword [edi + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
add eax, ecx
push 0
mov dword [esp + 0x18], eax
push 0
test ecx, ecx
je 0x4849f5
mov eax, dword [esp + 0x14]
add eax, edx
push eax
push 0x16
jmp 0x4849fb
mov eax, dword [edi + 8]
push eax
push 0x6e
push esi
call fcn.00451be0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esp, 0x14
push ecx
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push eax
push 0x5e
push esi
call fcn.00451be0
mov eax, dword [edi + 0x14]
add esp, 0x14
test eax, eax
jge 0x484a2f
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x484a42
mov eax, 0x672248
mov dword [esp + 0x1c], eax
jmp 0x484a51
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea ecx, [eax + edx*4]
mov dword [esp + 0x1c], ecx
mov eax, ecx
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x484d16
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
add ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 0x10]
movzx ecx, word [eax + 6]
mov edx, dword [eax + 0x10]
push ecx
push 0
push edx
mov dword [esp + 0x20], eax
call fcn.00591690
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x45], 0
je 0x484a9b
mov eax, dword [esp + 0x14]
mov edx, 0xfffffff7
call fcn.004524d0
jmp 0x484ad4
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x58]
dec eax
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x484ac9
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, 0xfffffff7
mov ecx, esi
call fcn.00452630
add esp, 8
jmp 0x484ad4
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov edx, dword [esp + 0x14]
movzx ecx, word [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [edi]
dec ecx
push ebx
call fcn.00485850
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x24], eax
inc eax
push eax
push 0
push eax
push 0x12
push esi
call fcn.00451be0
add esp, 0x1c
mov eax, esi
call fcn.00451f90
mov dword [edi + 0x10], eax
inc dword [ebx + 0x2c]
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x2c]
push 0
push edx
push eax
push 0xe
push esi
mov dword [edi + 0xc], eax
call fcn.00451be0
mov eax, dword [edi + 8]
add esp, 0x14
push 0
push 0
push eax
push 0x85
push esi
call fcn.00451be0
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
je 0x484b60
mov ecx, dword [edi + 0x18]
push 0
push ecx
push eax
push 0x16
push esi
call fcn.00451be0
add esp, 0x14
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x88]
test eax, eax
jge 0x484b71
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x484b80
mov eax, 0x672248
jmp 0x484b89
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 8]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push 0x3f
push edx
call fcn.00451be0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
add esp, 0x14
push eax
push ecx
call fcn.00468990
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x88]
add esp, 8
test eax, eax
jge 0x484bcf
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x484bde
mov eax, 0x672248
jmp 0x484be7
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov al, byte [edi + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [edi + 8]
and al, 1
movzx eax, al
push edx
mov edx, dword [esp + 0x30]
neg eax
push edx
sbb eax, eax
push ecx
add eax, 0x7e
push eax
push esi
call fcn.00451be0
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x484c2d
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x484d16
push 0
push 0
push eax
push 0x2f
push esi
mov dword [esp + 0x48], 0
call fcn.00451be0
mov edx, dword [edi + 8]
add esp, 0x14
push 0
push 0
push edx
push 0x21
push esi
mov dword [esp + 0x44], eax
call fcn.00451be0
add esp, 0x14
cmp byte [edi + 0x1d], 0
je 0x484c8b
inc dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
push ebx
push eax
push ecx
push 0x60
push esi
call fcn.00451be0
add esp, 0x14
jmp 0x484c8f
mov ebx, dword [esp + 0x34]
mov edx, dword [edi + 8]
push 0
push 0
push edx
push 0x76
push esi
call fcn.00451be0
add esp, 0x14
cmp byte [edi + 0x1d], 0
je 0x484ce3
mov eax, dword [esi + 0x88]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
add eax, 2
push eax
add ecx, edx
push ecx
push 0x4e
push esi
call fcn.00451be0
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x484ce3
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
mov edx, 0x80
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x88]
test eax, eax
jge 0x484cf4
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x484d0a
mov eax, 0x672248
mov dword [eax + 8], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret