Function at 0x455020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
xor eax, eax
cmp eax, dword [edx]
jo 0x45523c
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 [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x45523c
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.0043d080
mov ebx, dword [edi + 8]
test ebx, ebx
js 0x45523c
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 0x4550d4
mov dword [esp + 0x10], eax
xor ecx, ecx
mov edx, ebx
movzx eax, byte [0x62314d]
call fcn.0048bb80
mov ebp, eax
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x4550d9
jmp 0x45523c
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 0x455193
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], connect
je 0x455156
push ebp
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 8], 0
mov esi, dword [esp + 0x80]
je 0x455175
push dword [esp]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esi], 0
jne 0x455476
test dword [esi + 4], 0x7fffffff
je 0x455476
push dword [esi + 8]
jmp 0x455468
test ebx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], edx
je 0x4551b6
push ebp
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 8], 0
mov eax, dword [esp]
je 0x4551cf
push eax
push 0
push dword [0x623140]
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 0x45521c
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov ebp, connect
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x455256
mov ebp, dword [edi + 0x34]
test ebp, ebp
js 0x45523c
mov ebx, dword [edi + 0x30]
je 0x45523e
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, ebp
call fcn.0048bb80
test eax, eax
jne 0x455243
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 0x4552f4
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
mov byte [eax + 4], 0xf
mov dword [eax], connect
mov eax, dword [esp + 0x28]
je 0x4552d4
push eax
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x2c]
test ebp, 0x7fffffff
jne 0x45540b
cmp byte [esp + 8], 0
jne 0x45543f
jmp 0x455424
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 0x455476
push dword [esp + 0x18]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esp + 8], 0
jne 0x45543f
test dword [esp], 0x7fffffff
je 0x45543f
push dword [esp + 0x24]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x45544e
push dword [esp + 0xc]
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x455476
cmp dword [esi + 8], 9
jae 0x455460
mov eax, dword [esp + 0xc]
jmp 0x455467
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret