Function at 0x4269ec
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4269f7
and dword [eax], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
je 0x426c3e
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x426c3e
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.00426902
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.004283e6
push ebx
push edi
mov dword [ebp + 0x4c], eax
call fcn.00428437
push ebx
push edi
mov dword [ebp + 0x50], eax
call fcn.00428475
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 0x426b33
ja 0x426b2b
cmp eax, edx
jbe 0x426b33
mov dword [esp + 0x1c], eax
mov ebx, ecx
jmp 0x426b39
mov dword [esp + 0x1c], edx
mov ebx, edi
cmp ebx, dword [ebp + 0x44]
jb 0x426b59
ja 0x426b49
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [ebp + 0x40]
jbe 0x426b59
cmp ecx, edi
jb 0x426b53
ja 0x426b5f
cmp eax, edx
ja 0x426b5f
mov eax, edx
mov ecx, edi
jmp 0x426b5f
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
xor edi, edi
inc edi
cmp eax, 0xffffffff
jne 0x426c2d
xor ebx, ebx
cmp ecx, ebx
jne 0x426c2d
movzx ecx, word [esi + 0x1e]
test ecx, ecx
je 0x426c2d
movzx edx, word [esi + 0x1c]
add edx, 0x2e
add edx, esi
cmp ecx, 4
jb 0x426c31
movzx esi, word [edx + 2]
lea eax, [esi + 4]
cmp eax, ecx
ja 0x426c31
cmp word [edx], di
je 0x426bb7
push 0xfffffffffffffffc
add edx, 4
pop eax
sub eax, esi
add edx, esi
add ecx, eax
jne 0x426b8a
jmp 0x426c2d
mov eax, dword [esp + 0x24]
add edx, 4
test eax, eax
je 0x426bc4
mov dword [eax], edi
cmp dword [ebp + 0x30], 0xffffffff
push 8
pop edi
jne 0x426bea
cmp dword [ebp + 0x34], ebx
jne 0x426bea
cmp esi, edi
jb 0x426c31
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 0x426c0c
cmp dword [ebp + 0x2c], ebx
jne 0x426c0c
cmp esi, edi
jb 0x426c31
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 0x426c2a
cmp dword [ebp + 0x44], ebx
jne 0x426c2a
cmp esi, edi
jb 0x426c31
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 0x426c4f
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], 9
jmp 0x426c4d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x426c4d
mov dword [eax + 0x1c], 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret