Function at 0x10075905
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
push edi
test esi, esi
je 0x10075b5e
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10075b5e
mov dword [ebx], edx
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*4]
and dword [ebx + 0xc], 0
mov dword [ebx + 8], eax
mov ax, word [esi + 4]
mov word [ebx + 0x10], ax
mov ax, word [esi + 6]
mov word [ebx + 0x12], ax
mov ax, word [esi + 8]
mov word [ebx + 0x14], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0x16], ax
movzx edx, word [esi + 0xe]
movzx ecx, word [esi + 0xc]
call fcn.100747d5
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx + 0x1c], edx
mov edi, 0x1ff
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov ax, word [esi + 0x24]
mov word [ebx + 0x38], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
movzx eax, word [esi + 0x1c]
mov esi, edi
cmp eax, edi
cmovb esi, eax
mov eax, dword [ebp + 8]
add eax, 0x2e
push esi
push eax
lea eax, [ebx + 0x58]
push eax
call sub.msvcrt.dll_memcpy
mov byte [esi + ebx + 0x58], 0
mov esi, dword [ebp + 8]
movzx eax, word [esi + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [ebx + 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, [ebx + 0x258]
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0xc]
add esp, 0x18
mov byte [edi + ebx + 0x258], 0
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.100758bc
mov dword [ebx + 0x4c], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x10075a2f
cmp edx, dword [edi + 0x10]
jae 0x10075a2f
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edx*4]
add eax, dword [ecx]
je 0x10075a2f
test byte [eax + 8], 0x41
push 0
pop eax
setne al
jmp 0x10075a38
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov ecx, edi
mov dword [ebx + 0x50], eax
call fcn.10075858
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], edx
jb 0x10075a64
ja 0x10075a59
cmp ecx, eax
jbe 0x10075a64
mov edi, dword [ebx + 0x2c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edi
jmp 0x10075a6a
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edi, dword [ebx + 0x44]
cmp dword [ebp - 8], edi
mov edi, dword [ebp - 4]
jb 0x10075a94
ja 0x10075a82
mov esi, dword [ebx + 0x40]
cmp dword [ebp - 0xc], esi
mov esi, dword [ebp + 8]
jbe 0x10075a94
cmp dword [ebx + 0x2c], edx
jb 0x10075a9a
ja 0x10075a8d
cmp ecx, eax
jbe 0x10075a9a
mov edx, dword [ebx + 0x2c]
mov eax, ecx
jmp 0x10075a9a
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
cmp eax, 0xffffffff
jne 0x10075ae2
test edx, edx
jne 0x10075ae2
movzx ecx, word [esi + 0x1e]
test ecx, ecx
je 0x10075ae2
movzx edx, word [esi + 0x1c]
add edx, 0x2e
add edx, esi
cmp ecx, 4
jb 0x10075b55
movzx esi, word [edx + 2]
lea eax, [esi + 4]
cmp eax, ecx
ja 0x10075b55
xor eax, eax
inc eax
cmp word [edx], ax
je 0x10075aea
push 0xfffffffffffffffc
add edx, 4
pop eax
sub eax, esi
add edx, esi
add ecx, eax
jne 0x10075ab4
xor eax, eax
inc eax
jmp 0x10075b6b
add edx, 4
cmp dword [ebx + 0x30], 0xffffffff
jne 0x10075b11
cmp dword [ebx + 0x34], 0
jne 0x10075b11
cmp esi, 8
jb 0x10075b55
mov ecx, dword [edx + 4]
xor eax, eax
or eax, dword [edx]
add edx, 8
mov dword [ebx + 0x30], eax
add esi, 0xfffffff8
mov dword [ebx + 0x34], ecx
cmp dword [ebx + 0x28], 0xffffffff
jne 0x10075b35
cmp dword [ebx + 0x2c], 0
jne 0x10075b35
cmp esi, 8
jb 0x10075b55
mov ecx, dword [edx + 4]
xor eax, eax
or eax, dword [edx]
add edx, 8
mov dword [ebx + 0x28], eax
sub esi, 8
mov dword [ebx + 0x2c], ecx
cmp dword [ebx + 0x40], 0xffffffff
jne 0x10075ae2
cmp dword [ebx + 0x44], 0
jne 0x10075ae2
cmp esi, 8
jb 0x10075b55
mov ecx, dword [edx + 4]
xor eax, eax
or eax, dword [edx]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
jmp 0x10075ae2
mov dword [edi + 0x1c], 9
jmp 0x10075b69
test ecx, ecx
je 0x10075b69
mov dword [ecx + 0x1c], 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret