Function at 0x101114d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x5b], 1
jne 0x1011153e
mov al, byte [ebp + 0x5a]
test al, al
je 0x1011153e
mov eax, dword [ebp + 0x88]
mov cl, byte [eax + 2]
test cl, cl
je 0x1011153e
mov eax, dword [ebp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x2c]
cmp eax, ebx
jne 0x10111519
cmp ecx, dword [esp + 0x30]
jne 0x10111519
mov ecx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword [ecx], 0
add esp, 0x18
ret
mov dl, byte [ebp + 0x59]
test dl, dl
je 0x10111542
cmp ecx, dword [esp + 0x30]
jg 0x10111542
jl 0x1011152c
cmp eax, ebx
jae 0x10111542
mov edx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword [edx], 0xffffffff
add esp, 0x18
ret
mov ebx, dword [esp + 0x2c]
push ebp
call fcn.10111170
add esp, 4
test eax, eax
jne 0x10111855
mov al, byte [ebp + 0x5b]
test al, al
jne 0x1011156c
mov eax, dword [esp + 0x38]
pop ebp
pop ebx
mov dword [eax], 0xffffffff
xor eax, eax
add esp, 0x18
ret
push esi
push edi
movsx ecx, word [ebp + 0x5e]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov edi, dword [ebp + ecx*4 + 0x88]
mov dword [esp + 0x14], 0
mov ax, word [edi + 0x10]
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x10111599
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov word [ebp + ecx*2 + 0x60], ax
mov edx, dword [esp + 0x10]
mov word [ebp + 0x42], 0
mov ecx, dword [edi + 0x40]
lea eax, [ecx + edx*2]
xor ecx, ecx
xor edx, edx
mov ch, byte [eax]
mov dl, byte [edi + 6]
mov cl, byte [eax + 1]
xor eax, eax
mov ax, word [edi + 0x12]
and ecx, eax
mov eax, dword [edi + 0x38]
add ecx, eax
mov al, byte [edi + 2]
add ecx, edx
test al, al
mov esi, ecx
je 0x10111673
mov al, byte [edi + 4]
test al, al
je 0x10111611
mov al, byte [esi]
cmp al, 0x80
jae 0x101115f7
and eax, 0xff
mov dword [esp + 0x1c], eax
mov eax, 1
jmp 0x1011160a
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.10103c90
add esp, 8
and eax, 0xff
and eax, 0xff
add esi, eax
lea edx, [esp + 0x20]
push edx
push esi
call fcn.10103ad0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
add esp, 8
cmp eax, ebx
jne 0x10111644
cmp ecx, edx
jne 0x10111646
mov dword [ebp + 0x28], eax
xor ebx, ebx
mov byte [ebp + 0x5a], 1
mov dword [ebp + 0x2c], ecx
jmp 0x10111721
cmp ecx, edx
jg 0x10111660
jl 0x1011164e
cmp eax, ebx
jae 0x10111660
mov dword [ebp + 0x28], eax
or ebx, 0xffffffff
mov byte [ebp + 0x5a], 1
mov dword [ebp + 0x2c], ecx
jmp 0x10111721
mov ebx, 1
mov dword [ebp + 0x28], eax
mov byte [ebp + 0x5a], bl
mov dword [ebp + 0x2c], ecx
jmp 0x10111721
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov cl, byte [edi + 7]
cmp eax, ecx
jg 0x10111697
mov edx, dword [esp + 0x30]
inc esi
push edx
push esi
push eax
call fcn.10116530
add esp, 0xc
mov ebx, eax
jmp 0x10111721
mov cl, byte [esi + 1]
test cl, 0x80
jne 0x101116cd
and eax, 0x7f
and ecx, 0xff
shl eax, 7
add eax, ecx
xor ecx, ecx
mov cx, word [edi + 8]
cmp eax, ecx
jg 0x101116cd
mov edx, dword [esp + 0x30]
add esi, 2
push edx
push esi
push eax
call fcn.10116530
add esp, 0xc
mov ebx, eax
jmp 0x10111721
lea ebx, [ebp + 0x28]
sub esi, edx
push ebx
push esi
push edi
call fcn.10103970
mov ebx, dword [ebx]
push ebx
call fcn.100f76d0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101117fa
push 0
push esi
push ebx
push 0
push ebp
call fcn.10105120
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x1011180e
mov eax, dword [esp + 0x30]
push eax
push esi
push ebx
call fcn.10116530
push esi
mov ebx, eax
call fcn.100f78c0
add esp, 0x10
test ebx, ebx
je 0x10111764
jge 0x10111732
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1011173b
mov edx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp esi, eax
jg 0x10111784
movsx ecx, word [ebp + 0x5e]
add eax, esi
mov ebx, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov word [ebp + ecx*2 + 0x60], ax
jmp 0x101115a2
mov al, byte [edi + 2]
test al, al
je 0x10111823
mov al, byte [edi + 3]
test al, al
jne 0x10111823
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov esi, edx
mov al, byte [edi + 3]
test al, al
jne 0x10111841
xor eax, eax
mov ax, word [edi + 0x10]
cmp esi, eax
jl 0x101117a8
mov edx, dword [edi + 0x38]
xor ecx, ecx
mov cl, byte [edi + 5]
lea eax, [ecx + edx + 8]
push eax
jmp 0x101117c4
mov ecx, dword [edi + 0x40]
xor edx, edx
mov dh, byte [ecx + esi*2]
lea eax, [ecx + esi*2]
mov dl, byte [eax + 1]
xor eax, eax
mov ax, word [edi + 0x12]
and edx, eax
mov eax, dword [edi + 0x38]
add edx, eax
push edx
call fcn.100fe470
add esp, 4
test eax, eax
je 0x10111841
movsx ecx, word [ebp + 0x5e]
push eax
push ebp
mov word [ebp + ecx*2 + 0x60], si
mov word [ebp + 0x42], 0
mov byte [ebp + 0x5a], 0
call fcn.10111310
add esp, 8
test eax, eax
jne 0x10111853
mov ebx, dword [esp + 0x34]
jmp 0x1011156e
pop edi
mov dword [esp + 0x28], 7
mov eax, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call fcn.100f78c0
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x40]
pop edi
mov dword [esp + 0x28], 0
pop esi
mov eax, dword [esp + 0x24]
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
mov dword [eax], ebx
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret