Function at 0x464c20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
xor eax, eax
cmp eax, dword [edx]
jo 0x464e3c
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 [0x90320d]
call fcn.0049d570
test eax, eax
je 0x464e3c
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.0044c630
mov ebx, dword [edi + 8]
test ebx, ebx
js 0x464e3c
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 0x464cd4
mov dword [esp + 0x10], eax
xor ecx, ecx
mov edx, ebx
movzx eax, byte [0x90320d]
call fcn.0049d570
mov ebp, eax
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x464cd9
jmp 0x464e3c
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 0x464d93
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 0x464d56
push ebp
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 8], 0
mov esi, dword [esp + 0x80]
je 0x464d75
push dword [esp]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp byte [esi], 0
jne 0x465076
test dword [esi + 4], 0x7fffffff
je 0x465076
push dword [esi + 8]
jmp 0x465068
test ebx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], edx
je 0x464db6
push ebp
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 8], 0
mov eax, dword [esp]
je 0x464dcf
push eax
push 0
push dword [0x903200]
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 0x464e1c
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov ebp, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x464e56
mov ebp, dword [edi + 0x34]
test ebp, ebp
js 0x464e3c
mov ebx, dword [edi + 0x30]
je 0x464e3e
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, ebp
call fcn.0049d570
test eax, eax
jne 0x464e43
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 0x464ef4
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 0x464ed4
push eax
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [esp + 0x2c]
test ebp, 0x7fffffff
jne 0x46500b
cmp byte [esp + 8], 0
jne 0x46503f
jmp 0x465024
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 0x465076
push dword [esp + 0x18]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp byte [esp + 8], 0
jne 0x46503f
test dword [esp], 0x7fffffff
je 0x46503f
push dword [esp + 0x24]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x46504e
push dword [esp + 0xc]
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x465076
cmp dword [esi + 8], 9
jae 0x465060
mov eax, dword [esp + 0xc]
jmp 0x465067
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret