Function at 0x4508e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x18]
mov al, byte [ebx + 0x3c]
push esi
lea esi, [ebx + 0x40]
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
cmp al, 1
jne 0x450912
mov edx, 0x44e000
jmp 0x450920
mov edx, 0x44dea0
cmp al, 2
je 0x450920
mov edx, 0x44de50
xor eax, eax
cmp byte [ebx + 0x3b], al
jbe 0x45093e
lea ecx, [ebx + 0x60]
lea ebx, [ebx]
mov dword [ecx], edx
movzx edi, byte [ebx + 0x3b]
inc eax
add ecx, 0x48
cmp eax, edi
jl 0x450930
lea edx, [esp + 0x10]
push edx
push ebx
call fcn.004501e0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x450b64
cmp byte [ebx + 0x39], al
je 0x450b41
movzx eax, byte [ebx + 0x3b]
lea eax, [eax + eax*8]
cmp dword [ebx + eax*8 + 4], 0
lea eax, [ebx + eax*8 - 8]
mov dword [esp + 0x14], eax
jne 0x4509b6
mov ecx, eax
mov eax, dword [ecx + 8]
mov esi, dword [eax + 0x1c]
push 0
lea edi, [esp + 0x20]
xor edx, edx
call fcn.00444100
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0x1c], 0
mov dword [ecx + 0xc], eax
je 0x450b5c
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0x1c]
mov dx, word [edx + 6]
mov word [eax + 8], dx
mov eax, dword [ecx + 0xc]
mov byte [eax + 0xb], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4509d2
push 0
push 0x38
call fcn.00423fa0
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
jmp 0x450a20
cmp dword [0x54b4e0], 0
je 0x450af1
mov eax, dword [0x550798]
test eax, eax
je 0x4509f2
push eax
call dword [0x54b538]
add esp, 4
lea ebx, [esp + 0x1c]
mov eax, 0x38
call fcn.00423850
mov eax, dword [0x550798]
test eax, eax
je 0x450a13
push eax
call dword [0x54b540]
add esp, 4
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov esi, ecx
test esi, esi
je 0x450a31
push 0x38
push 0
push esi
call fcn.004e57c0
add esp, 0xc
mov dword [ebx + 0x10], esi
test esi, esi
je 0x450b5c
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0x30
push esi
call fcn.0044f700
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x450b1f
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
movzx edx, byte [ebx + 0x3b]
dec edx
xor edi, edi
test edx, edx
jle 0x450ab1
xor esi, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + ecx + 0x30]
test eax, eax
je 0x450aa4
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
movzx edx, byte [ebx + 0x3b]
inc edi
dec edx
add esi, 0x38
cmp edi, edx
jl 0x450a82
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x450ac0
movzx eax, byte [ebx + 0x3b]
cmp dword [esp + 0x1c], eax
jge 0x450b23
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0xc]
mov ecx, dword [edi + esi + 0x30]
add edi, esi
xor eax, eax
test ecx, ecx
je 0x450b10
cmp dword [ecx + 0x18], eax
je 0x450b05
mov ecx, dword [ecx]
push 0x44fa10
push ecx
call fcn.00425d00
jmp 0x450b0d
push 0x38
call dword [0x54b508]
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x450a16
push 1
push edi
call fcn.0044f910
add esp, 8
inc dword [esp + 0x1c]
add esi, 0x38
mov ecx, eax
test eax, eax
je 0x450ac0
jmp 0x450b23
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x450e09
mov edx, dword [esp + 0x18]
push 2
push edx
call fcn.0044f910
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.0044f880
add esp, 8
mov dword [ebx + 0x14], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], 7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x450de5
cmp dword [eax], 0
mov dword [esp + 0x18], 0
jle 0x450d92
mov dword [esp + 0x1c], 0
mov ebx, 1
mov edi, edi
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
add edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x24], edi
test esi, esi
je 0x450bfe
cmp dword [0x54b4e0], 0
je 0x450bf4
mov eax, dword [0x550798]
test eax, eax
je 0x450bc2
push eax
call dword [0x54b538]
add esp, 4
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
sub dword [0x55060c], ebx
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x450bfe
push eax
call dword [0x54b540]
jmp 0x450bfb
push esi
call dword [0x54b50c]
add esp, 4
mov esi, dword [edi + 0x24]
test esi, esi
je 0x450c5d
cmp dword [0x54b4e0], 0
je 0x450c53
mov eax, dword [0x550798]
test eax, eax
je 0x450c21
push eax
call dword [0x54b538]
add esp, 4
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
sub dword [0x55060c], ebx
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x450c5d
push eax
call dword [0x54b540]
jmp 0x450c5a
push esi
call dword [0x54b50c]
add esp, 4
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x450c77
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
push ecx
push 0
push 0
push eax
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
mov edi, dword [edi + 0x30]
test edi, edi
je 0x450d66
cmp dword [edi + 0x18], 0
je 0x450cfc
mov esi, dword [edi]
mov ebx, dword [esi]
test ebx, ebx
je 0x450cb2
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 1
call fcn.00425df0
add esp, 4
mov dword [esi + 4], 0
mov dword [esi], 0
mov esi, dword [edi + 0x20]
test esi, esi
je 0x450cd7
mov eax, dword [esi]
test eax, eax
je 0x450cce
mov edx, dword [eax + 4]
push esi
call edx
add esp, 4
mov dword [esi], 0
push esi
call fcn.00423c10
add esp, 4
mov esi, dword [edi + 0x30]
test esi, esi
je 0x450cfc
mov eax, dword [esi]
test eax, eax
je 0x450cf3
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
push esi
call fcn.00423c10
add esp, 4
mov esi, dword [edi + 4]
call fcn.0044e530
cmp dword [0x54b4e0], 0
je 0x450d57
mov eax, dword [0x550798]
test eax, eax
je 0x450d20
push eax
call dword [0x54b538]
add esp, 4
push edi
call dword [0x54b514]
sub dword [0x5505e8], eax
add esp, 4
mov ebx, 1
sub dword [0x55060c], ebx
push edi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x450d66
push eax
call dword [0x54b540]
jmp 0x450d63
push edi
call dword [0x54b50c]
mov ebx, 1
add esp, 4
mov ecx, dword [esp + 0x24]
push 0x38
push 0
push ecx
call fcn.004e57c0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x28], 0x38
add eax, ebx
add esp, 0xc
cmp eax, dword [edx]
mov dword [esp + 0x18], eax
jl 0x450b90
cmp dword [0x54b4e0], 0
je 0x450df0
mov eax, dword [0x550798]
test eax, eax
je 0x450dae
push eax
call dword [0x54b538]
add esp, 4
mov esi, dword [esp + 0x10]
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
dec dword [0x55060c]
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x450de5
push eax
call dword [0x54b540]
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push eax
call dword [0x54b50c]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret