Function at 0x4262bc
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4262c7
and dword [eax], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
je 0x42650e
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x42650e
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [ebp], ebx
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4]
and dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov ax, word [esi + 4]
mov word [ebp + 0x10], ax
mov ax, word [esi + 6]
mov word [ebp + 0x12], ax
mov ax, word [esi + 8]
mov word [ebp + 0x14], ax
mov ax, word [esi + 0xa]
mov word [ebp + 0x16], ax
movzx eax, word [esi + 0xe]
push eax
movzx eax, word [esi + 0xc]
push eax
call fcn.004261d2
mov dword [ebp + 0x18], eax
xor ecx, ecx
mov dword [ebp + 0x1c], edx
mov edi, 0x1ff
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
mov eax, dword [esi + 0x18]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], ecx
mov ax, word [esi + 0x24]
mov word [ebp + 0x38], ax
mov eax, dword [esi + 0x26]
mov dword [ebp + 0x3c], eax
mov eax, dword [esi + 0x2a]
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], ecx
movzx eax, word [esi + 0x1c]
mov esi, edi
cmp eax, edi
cmovb esi, eax
mov eax, dword [esp + 0x24]
add eax, 0x2e
push esi
push eax
lea eax, [ebp + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi + ebp + 0x58], 0
mov esi, dword [esp + 0x30]
movzx eax, word [esi + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [ebp + 0x48], edi
movzx ecx, word [esi + 0x1e]
movzx eax, word [esi + 0x1c]
add ecx, esi
add eax, 0x2e
add eax, ecx
push edi
push eax
lea eax, [ebp + 0x258]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [edi + ebp + 0x258], 0
mov edi, dword [esp + 0x34]
push ebx
push edi
call fcn.00427cb6
push ebx
push edi
mov dword [ebp + 0x4c], eax
call fcn.00427d07
push ebx
push edi
mov dword [ebp + 0x50], eax
call fcn.00427d45
add esp, 0x38
mov ecx, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x28]
cmp ecx, edi
jb 0x426403
ja 0x4263fb
cmp eax, edx
jbe 0x426403
mov dword [esp + 0x1c], eax
mov ebx, ecx
jmp 0x426409
mov dword [esp + 0x1c], edx
mov ebx, edi
cmp ebx, dword [ebp + 0x44]
jb 0x426429
ja 0x426419
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [ebp + 0x40]
jbe 0x426429
cmp ecx, edi
jb 0x426423
ja 0x42642f
cmp eax, edx
ja 0x42642f
mov eax, edx
mov ecx, edi
jmp 0x42642f
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
xor edi, edi
inc edi
cmp eax, 0xffffffff
jne 0x4264fd
xor ebx, ebx
cmp ecx, ebx
jne 0x4264fd
movzx ecx, word [esi + 0x1e]
test ecx, ecx
je 0x4264fd
movzx edx, word [esi + 0x1c]
add edx, 0x2e
add edx, esi
cmp ecx, 4
jb 0x426501
movzx esi, word [edx + 2]
lea eax, [esi + 4]
cmp eax, ecx
ja 0x426501
cmp word [edx], di
je 0x426487
push 0xfffffffffffffffc
add edx, 4
pop eax
sub eax, esi
add edx, esi
add ecx, eax
jne 0x42645a
jmp 0x4264fd
mov eax, dword [esp + 0x24]
add edx, 4
test eax, eax
je 0x426494
mov dword [eax], edi
cmp dword [ebp + 0x30], 0xffffffff
push 8
pop edi
jne 0x4264ba
cmp dword [ebp + 0x34], ebx
jne 0x4264ba
cmp esi, edi
jb 0x426501
mov ecx, dword [edx + 4]
xor eax, eax
or eax, dword [edx]
or ecx, ebx
add edx, edi
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], ecx
add esi, 0xfffffff8
cmp dword [ebp + 0x28], 0xffffffff
jne 0x4264dc
cmp dword [ebp + 0x2c], ebx
jne 0x4264dc
cmp esi, edi
jb 0x426501
mov ecx, dword [edx + 4]
xor eax, eax
or eax, dword [edx]
or ecx, ebx
add edx, edi
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
sub esi, edi
cmp dword [ebp + 0x40], 0xffffffff
jne 0x4264fa
cmp dword [ebp + 0x44], ebx
jne 0x4264fa
cmp esi, edi
jb 0x426501
mov ecx, dword [edx + 4]
xor eax, eax
or eax, dword [edx]
or ecx, ebx
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], ecx
xor edi, edi
inc edi
mov eax, edi
jmp 0x42651f
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], 9
jmp 0x42651d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42651d
mov dword [eax + 0x1c], 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret