Function at 0x4508f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x18], 0
push edi
mov edi, dword [ebp + 0x18]
xorps xmm0, xmm0
or ebx, 0xffffffff
mov dword [ebp - 8], esi
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 0x1c]
movq qword [ebp - 0x38], xmm0
movdqu xmmword [ebp - 0x48], xmm0
test edi, edi
je 0x45092d
push dword [esi]
push edi
call fcn.00450cf0
add esp, 8
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x45093a
mov dword [eax], 0
test esi, esi
je 0x450944
mov dword [esi], 0
call fcn.004f51e0
cmp dword [ebp + 8], eax
jne 0x450954
cmp dword [ebp + 0xc], 0
je 0x450974
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0x14]
call fcn.00450f60
add esp, 8
test eax, eax
jne 0x450c0a
mov dword [ebp - 0x18], 1
jmp 0x450977
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.00450dd0
add esp, 0x14
test eax, eax
jne 0x450be4
mov ecx, dword [ebp - 0x3c]
mov ax, word [ecx + 0x18]
mov word [ebp - 0x40], ax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x38], eax
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00450d40
add esp, 0xc
test eax, eax
jne 0x450be4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x450be4
push dword [eax]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00450c80
mov edi, dword [ebp + 8]
add esp, 0xc
test edi, edi
je 0x450be1
mov eax, edi
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
ja 0x450be1
push dword [edi + 0x20]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00450c80
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
je 0x450be1
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
ja 0x450be1
push dword [edi + 0x1c]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00450c80
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x450be1
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
ja 0x450be1
push dword [edi + 0x24]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00450c80
mov edx, dword [ebp - 4]
add esp, 0xc
test edx, edx
je 0x450be1
mov eax, edx
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
ja 0x450be1
mov eax, dword [edi + 0x14]
test eax, eax
je 0x450be1
cmp dword [ebp + 0x18], 0
je 0x450abf
shl eax, 4
push 1
push eax
call fcn.004f76d9
mov edx, dword [ebp - 4]
mov ecx, eax
mov eax, dword [edi + 0x14]
add esp, 8
mov dword [ebp - 8], ecx
jmp 0x450ac1
xor ecx, ecx
xor esi, esi
test eax, eax
je 0x450b86
mov dword [ebp + 8], ecx
mov edi, edi
cmp esi, dword [edi + 0x18]
jae 0x450b86
movzx eax, word [edx + esi*2]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push dword [eax + esi*4]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00450c80
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
test ecx, ecx
je 0x450bde
mov eax, ecx
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
ja 0x450bde
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x450b24
push ecx
push eax
call fcn.00429f10
add esp, 8
test eax, eax
jne 0x450b75
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
movzx eax, ax
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
cmp ecx, edx
jb 0x450b52
mov eax, dword [eax + 4]
add eax, edx
cmp ecx, eax
jae 0x450b52
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
jmp 0x450b5a
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x20], 0
jne 0x450bbc
mov edx, dword [ebp + 8]
push dword [ebp - 0x2c]
push edx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call fcn.0042a0a0
add esp, 8
add dword [ebp + 8], 0x10
inc esi
mov edx, dword [ebp - 4]
cmp esi, dword [edi + 0x14]
jb 0x450ad0
cmp dword [ebp + 0x20], 0
jne 0x450bde
cmp dword [ebp + 0x18], 0
je 0x450bd4
mov esi, dword [ebp - 8]
push 0x450cd0
push 0x10
push dword [edi + 0x14]
push esi
call fcn.004f9940
mov eax, dword [edi + 0x14]
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
xor ebx, ebx
mov edi, dword [ebp + 0x18]
mov dword [ecx], eax
mov dword [edi], esi
mov esi, dword [ebp + 0x10]
jmp 0x450be4
mov edx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [edx], ecx
or ecx, eax
je 0x450bcf
xor ebx, ebx
jmp 0x450be4
or ebx, 0xffffffff
jmp 0x450be4
mov edi, dword [ebp + 0x18]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
jmp 0x450be4
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
cmp dword [ebp - 0x18], 0
je 0x450c06
push dword [esi]
call dword [sym.imp.x_GetCurrentProcess]
push eax
call fcn.0050fc7c
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
test ebx, ebx
je 0x450c1e
test edi, edi
je 0x450c1e
mov eax, dword [ebp - 8]
test eax, eax
je 0x450c1e
push eax
call fcn.004f7492
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret