Function at 0x424f30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov dword [esp + 0x18], edx
mov edi, ecx
cmp dword [ebx], 0
mov dword [esp + 0x10], 0
jne 0x42512e
cmp byte [edi + 1], 0
jne 0x4250da
mov esi, dword [ebp + 0xc]
movzx eax, word [edi + 0x10]
lea ecx, [esi + 2]
cmp ecx, eax
jg 0x4250da
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x424f8d
call fcn.0041bcf0
jmp 0x424f92
call fcn.0041bb50
test eax, eax
je 0x424f9f
mov dword [ebx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x38]
mov edx, esi
movzx ecx, word [edi + 0xe]
mov dword [esp + 0x14], eax
movzx eax, word [edi + 0x12]
lea eax, [ecx + eax*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
lea eax, [ecx + eax*2]
mov ecx, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
call fcn.0041fdb0
add esp, 4
test eax, eax
jne 0x424f96
mov ecx, dword [esp + 0x10]
mov eax, 0xfffe
mov edx, dword [esp + 0x14]
sub eax, esi
inc word [edi + 0x12]
add word [edi + 0x10], ax
push esi
push dword [ebp + 8]
lea esi, [edx + ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x42501d
mov eax, ecx
mov byte [esi + 3], cl
shr eax, 0x18
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov esi, dword [esp + 0x14]
add esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
push eax
lea eax, [esi + 2]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memmove]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, ecx
mov byte [esi + 1], cl
sar eax, 8
mov byte [esi], al
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 0x13]
mov byte [ecx + edx + 3], al
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 0x12]
mov byte [ecx + edx + 4], al
mov eax, dword [edi + 0x34]
cmp byte [eax + 0x11], 0
je 0x42512e
cmp dword [ebx], 0
jne 0x42512e
mov esi, dword [ebp + 8]
lea eax, [esp + 0x20]
push eax
mov edx, esi
mov ecx, edi
call fcn.0041f9f0
mov ax, word [esp + 0x36]
add esp, 4
test ax, ax
je 0x42512e
movzx ecx, ax
movzx eax, byte [ecx + esi + 1]
add ecx, esi
push ebx
push dword [edi + 0x48]
movzx edx, byte [ecx]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [edi + 0x34]
shl edx, 8
push 3
or edx, eax
call fcn.0041f7a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4250f6
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4250f9
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42511a
mov eax, ecx
mov byte [esi + 3], cl
shr eax, 0x18
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov al, byte [edi + 1]
movzx ecx, al
inc al
mov byte [edi + 1], al
mov dword [edi + ecx*4 + 0x20], esi
mov word [edi + ecx*2 + 0x16], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret