Function at 0x43fea0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x2c]
mov ebp, 0x100
push edi
mov edi, dword [eax + 4]
movzx ecx, byte [ebx + edi]
lea esi, [ebx + edi]
movzx eax, byte [esi + 1]
imul ecx, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ebx
add cx, ax
movzx eax, cx
mov dword [esp + 0x18], eax
test ax, ax
jne 0x43ff04
movzx ecx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
add eax, 0xfffffffa
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jge 0x440185
movzx eax, byte [esi + ecx + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 6
jne 0x43ff55
movzx edx, byte [esi + 6]
movzx eax, byte [esi + 7]
mov ebp, dword [esp + 0x24]
shl edx, 8
add edx, eax
cmp ebp, edx
jb 0x440185
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
add ecx, edx
add eax, ecx
cmp ebp, eax
jae 0x440185
sub ebp, edx
lea ecx, [ebx + ebp*2]
movzx eax, byte [ecx + edi + 0xa]
movzx ecx, byte [ecx + edi + 0xb]
pop edi
pop esi
shl eax, 8
pop ebp
add eax, ecx
pop ebx
add esp, 0xc
ret
cmp eax, 2
je 0x440185
cmp eax, 4
jne 0x4400e3
movzx ecx, byte [esi + 6]
movzx eax, byte [esi + 7]
movzx edx, byte [esi + 9]
imul ecx, ebp
add cx, ax
shr cx, 1
movzx eax, cx
movzx ecx, byte [esi + 8]
imul ecx, ebp
mov dword [esp + 0x10], eax
add dx, cx
movzx ecx, byte [esi + 0xa]
imul ecx, ebp
shr dx, 1
movzx eax, dx
movzx edx, byte [esi + 0xb]
mov dword [esp + 0x14], eax
mov eax, 0x100
add dx, cx
movzx ecx, byte [esi + 0xc]
imul ecx, eax
movzx eax, byte [esi + 0xd]
lea esi, [ebx + 0xe]
movzx ebp, dx
add cx, ax
shr cx, 1
cmp dword [esp + 0x24], 0xffff
movzx eax, cx
jg 0x440185
lea edx, [esi + eax*2]
movzx ecx, byte [edx + edi]
movzx eax, byte [edx + edi + 1]
shl ecx, 8
add ecx, eax
cmp dword [esp + 0x24], ecx
cmovge esi, edx
sub esi, 2
test bp, bp
je 0x440024
mov bx, word [esp + 0x14]
shr bx, 1
movzx eax, bx
lea edx, [esi + eax*2]
movzx ecx, byte [edx + edi]
movzx eax, byte [edx + edi + 1]
shl ecx, 8
add ecx, eax
cmp dword [esp + 0x24], ecx
cmovg esi, edx
add ebp, 0xffff
test bp, bp
jne 0x43fff7
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
lea eax, [ebx + 0xe]
sub esi, eax
mov eax, dword [esp + 0x10]
add esi, 2
shr esi, 1
movzx edx, si
movzx esi, ax
mov dword [esp + 0x20], edx
lea eax, [esi + edx]
lea eax, [ebx + eax*2]
movzx ecx, byte [eax + edi + 0x10]
movzx eax, byte [eax + edi + 0x11]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x14], ecx
cmp ebp, ecx
jl 0x440185
lea esi, [esi + esi*2]
lea eax, [esi + edx]
lea edx, [ebx + eax*2]
mov eax, 0x100
movzx ecx, byte [edx + edi + 0x10]
imul ecx, eax
movzx eax, byte [edx + edi + 0x11]
add cx, ax
movzx ecx, cx
test cx, cx
jne 0x4400bd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
movzx ecx, dx
lea eax, [eax + ecx*2]
lea eax, [eax + 8]
lea edx, [ebx + eax*2]
mov eax, 0x100
movzx ecx, byte [edx + edi]
imul ecx, eax
movzx eax, byte [edx + edi + 1]
pop edi
pop esi
add cx, ax
add cx, bp
pop ebp
movzx eax, cx
pop ebx
add esp, 0xc
ret
sub esi, dword [esp + 0x14]
add ecx, ebx
add esi, dword [esp + 0x20]
add esi, ebp
lea ecx, [ecx + esi*2]
movzx eax, byte [ecx + edi + 0x11]
movzx ecx, byte [ecx + edi + 0x10]
pop edi
pop esi
shl ecx, 8
pop ebp
add eax, ecx
pop ebx
add esp, 0xc
ret
cmp eax, 0xc
je 0x4400f1
cmp eax, 0xd
jne 0x440185
lea eax, [esi + 0xc]
xor ebx, ebx
push eax
call fcn.0043fb10
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x440185
mov ecx, dword [esp + 0x20]
nop dword [eax]
mov edx, ebp
sub edx, ebx
sar edx, 1
add edx, ebx
lea eax, [edx + edx*2]
shl eax, 2
mov dword [esp + 0x14], eax
add eax, ecx
add edi, eax
movzx eax, byte [edi + 0x10]
movzx esi, byte [edi + 0x11]
shl eax, 8
add esi, eax
movzx eax, byte [edi + 0x12]
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0x13]
shl esi, 8
add esi, eax
cmp dword [esp + 0x24], esi
jae 0x44014f
mov ebp, edx
jmp 0x44017d
movzx ecx, byte [edi + 0x14]
movzx eax, byte [edi + 0x15]
mov ebx, dword [esp + 0x24]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x17]
shl ecx, 8
add ecx, eax
cmp ebx, ecx
jbe 0x44018f
mov ecx, dword [esp + 0x20]
lea ebx, [edx + 1]
mov edi, dword [esp + 0x10]
cmp ebx, ebp
jl 0x440110
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add ecx, 0x18
add eax, ecx
push eax
call fcn.0043fb10
add esp, 4
cmp word [esp + 0x18], 0xc
jne 0x440187
pop edi
sub eax, esi
pop esi
pop ebp
add eax, ebx
pop ebx
add esp, 0xc
ret