Function at 0x45a450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
xor eax, eax
cmp eax, dword [edx]
jo 0x45a66c
mov eax, dword [edx + 0x3c]
mov esi, ecx
mov edi, edx
xor ecx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x40]
mov edx, 0x80
mov dword [esp + 0x14], eax
movzx eax, byte [0x77618d]
call fcn.00490be0
test eax, eax
je 0x45a66c
lea edx, [esp + 0x40]
mov ecx, edi
mov dword [esp + 0x40], 0x80
mov dword [esp + 0x44], eax
mov dword [eax + 4], 0x686365
mov dword [eax], 0x20736c74
mov dword [esp + 0x48], 8
call fcn.004424a0
mov ebx, dword [edi + 8]
test ebx, ebx
js 0x45a66c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [edi + 4]
je 0x45a504
mov dword [esp + 0x10], eax
xor ecx, ecx
mov edx, ebx
movzx eax, byte [0x77618d]
call fcn.00490be0
mov ebp, eax
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x45a509
jmp 0x45a66c
mov ebp, 1
push ebx
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
push eax
push dword [esp + 4]
mov dword [esp + 8], esi
push esi
push dword [esp + 0x3c]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x28]
call dword [eax + 0x1c]
add esp, 0x14
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
neg eax
mov eax, dword [esp + 0x4c]
jno 0x45a5c3
mov edi, dword [esp + 0x1c]
test ebx, ebx
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov dword [edi], 0x80000000
je 0x45a586
push ebp
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 8], 0
mov esi, dword [esp + 0x80]
je 0x45a5a5
push dword [esp]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esi], 0
jne 0x45a8a6
test dword [esi + 4], 0x7fffffff
je 0x45a8a6
push dword [esi + 8]
jmp 0x45a898
test ebx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], edx
je 0x45a5e6
push ebp
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 8], 0
mov eax, dword [esp]
je 0x45a5ff
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x80]
movzx eax, byte [edi + 0x1c]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 4]
movzx ebx, byte [ecx]
mov byte [esp + 7], al
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp], esi
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov byte [esp + 8], bl
cmp edx, dword [edi + 0x2c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], esi
jno 0x45a64c
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov ebp, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x45a686
mov ebp, dword [edi + 0x34]
test ebp, ebp
js 0x45a66c
mov ebx, dword [edi + 0x30]
je 0x45a66e
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, ebp
call fcn.00490be0
test eax, eax
jne 0x45a673
ud2
mov eax, 1
push ebp
push ebx
mov dword [esp + 0x20], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x20], ebp
movzx ecx, byte [edi + 0x38]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
lea eax, [esp + 0x34]
mov byte [esp + 6], cl
push dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
call dword [eax + 0x30]
add esp, 8
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
xorps xmm0, xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
push 0x20
lea ecx, [esp + 0x44]
push ecx
push ebx
call eax
add esp, 0xc
test al, al
je 0x45a724
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
mov byte [eax + 4], 0xf
mov dword [eax], 0x80000000
mov eax, dword [esp + 0x28]
je 0x45a704
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x2c]
test ebp, 0x7fffffff
jne 0x45a83b
cmp byte [esp + 8], 0
jne 0x45a86f
jmp 0x45a854
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x1c]
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x58]
movsd xmm2, qword [esp + 0x40]
inc ecx
movsd qword [edx + 0x7c], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [edx + 0x84], xmm0
movsd qword [edx + 0x6c], xmm2
movzx eax, word [ecx]
movsd qword [edx + 0x74], xmm1
mov word [edx + 0x3d], ax
movzx eax, byte [ecx + 2]
movzx ecx, byte [esp + 6]
mov byte [edx + 0x3f], al
movzx eax, byte [esp + 0x84]
mov dword [edx], 0
mov dword [edx + 4], 1
mov dword [edx + 8], 0
mov byte [edx + 0xc], al
mov eax, dword [esp + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 2
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], ebp
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x38], edi
mov dword [edx + 0x34], eax
movzx eax, byte [esp + 8]
mov byte [edx + 0x3c], al
mov eax, dword [esp]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 0x4c], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x8c]
mov dword [edx + 0x50], ebx
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x5c], eax
movzx eax, byte [esp + 0x90]
mov ah, byte [esp + 7]
mov dword [edx + 0x60], 0
mov byte [edx + 0x8c], al
mov byte [edx + 0x8d], ah
mov byte [edx + 0x8e], cl
jmp 0x45a8a6
push dword [esp + 0x18]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esp + 8], 0
jne 0x45a86f
test dword [esp], 0x7fffffff
je 0x45a86f
push dword [esp + 0x24]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x45a87e
push dword [esp + 0xc]
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x45a8a6
cmp dword [esi + 8], 9
jae 0x45a890
mov eax, dword [esp + 0xc]
jmp 0x45a897
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret