Function at 0x10191060
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x2c
mov edx, dword [0x102cf3c8]
push ebx
push esi
mov esi, dword [ecx + 8]
cmp esi, edx
je 0x101916ee
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 8]
cmp eax, edx
je 0x101916ee
test esi, esi
je 0x10191099
lea edx, [esi + 8]
mov esi, dword [esi + 4]
mov dword [esp + 8], edx
jmp 0x101910a4
mov edx, ecx
mov dword [esp + 8], ecx
mov esi, 1
lea ecx, [edx + esi*8]
mov dword [esp + 0x1c], ecx
push ebp
test eax, eax
je 0x101910b8
mov ebp, dword [eax + 4]
lea ebx, [eax + 8]
jmp 0x101910c1
mov ebp, 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
push edi
lea edi, [ebx + ebp*8]
mov dword [esp + 0x1c], edi
cmp edx, ecx
jne 0x101910e3
push str.The_expression_r1___r1_end_was_false
push 0x1027dd64
call fcn.10176970
add esp, 8
cmp ebx, edi
jne 0x101910f9
push str.The_expression_r2___r2_end_was_false
push 0x1027dd64
call fcn.10176970
add esp, 8
mov ebx, dword [esp + 0x40]
xor edi, edi
mov ecx, dword [0x102cf3c4]
mov dword [esp + 0x28], edi
cmp ebx, dword [esp + 0x44]
jne 0x10191114
cmp esi, 1
jg 0x1019111f
cmp ebx, dword [esp + 0x48]
jne 0x10191129
cmp ebp, 1
jle 0x10191129
mov edi, dword [ebx + 8]
mov dword [esp + 0x28], edi
mov dword [ebx + 8], ecx
mov eax, dword [ebx + 8]
cmp ebp, esi
cmovg esi, ebp
add esi, esi
test eax, eax
jne 0x1019113c
mov dword [ebx + 8], ecx
jmp 0x10191148
cmp dword [eax], 0
je 0x10191148
mov dword [eax + 4], 0
mov eax, dword [ebx + 8]
cmp esi, dword [eax]
jle 0x10191170
push esi
push ebx
call fcn.10191730
add esp, 8
test eax, eax
jne 0x10191170
push edi
call fcn.101fd0fd
add esp, 4
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2c
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], 0
movzx ecx, word [edi + 2]
movzx edx, word [esi + 2]
cmp dx, cx
movsx eax, cx
movsx ebp, dx
cmovge ebp, eax
mov dword [esp + 0x18], ebp
mov ebp, edi
nop word [eax + eax]
mov edi, dword [esp + 0x24]
cmp esi, edi
jne 0x101911ba
push str.The_expression_r1___r1_end_was_false
push 0x1027dd64
call fcn.10176970
add esp, 8
mov edx, dword [esp + 0x1c]
cmp ebp, edx
jne 0x101911d8
push str.The_expression_r2___r2_end_was_false
push 0x1027dd64
call fcn.10176970
mov edx, dword [esp + 0x24]
add esp, 8
movsx ecx, word [esi + 2]
add esi, 8
mov dword [esp + 0x30], ecx
cmp esi, edi
je 0x101911f6
movsx eax, word [esi + 2]
cmp eax, ecx
jne 0x101911f6
add esi, 8
cmp esi, edi
jne 0x101911e7
mov edi, dword [esp + 0x14]
movsx ebp, word [ebp + 2]
add edi, 8
cmp edi, edx
je 0x10191214
movsx eax, word [edi + 2]
cmp eax, ebp
jne 0x10191214
add edi, 8
cmp edi, edx
jne 0x10191205
cmp ecx, ebp
jge 0x1019129c
cmp dword [esp + 0x50], 0
je 0x10191317
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp ecx, edx
cmovg edx, ecx
mov ecx, ebp
movsx eax, word [eax + 6]
cmp eax, ebp
cmovl ecx, eax
cmp edx, ecx
je 0x10191317
mov eax, dword [ebx + 8]
push ecx
push edx
push esi
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push ebx
mov dword [esp + 0x44], eax
call fcn.10191870
add esp, 0x14
test eax, eax
je 0x1019162a
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, edx
sub eax, dword [esp + 0x44]
sub ecx, edx
cmp eax, ecx
jne 0x10191296
push edx
push dword [esp + 0x48]
push ebx
call fcn.10190fb0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x10191317
mov dword [esp + 0x44], edx
jmp 0x10191317
jle 0x10191315
cmp dword [esp + 0x54], 0
je 0x10191315
mov eax, dword [esp + 0x18]
mov edx, ecx
cmp ebp, eax
cmovg eax, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 6]
cmp eax, ecx
cmovl edx, eax
cmp dword [esp + 0x18], edx
je 0x10191315
mov eax, dword [ebx + 8]
push edx
push dword [esp + 0x1c]
mov ebp, dword [eax + 4]
push edi
push dword [esp + 0x20]
push ebx
call fcn.10191870
add esp, 0x14
test eax, eax
je 0x1019162a
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, ebp
sub ecx, ebp
sub eax, edx
cmp eax, ecx
jne 0x1019130d
push ebp
push edx
push ebx
call fcn.10190fb0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x10191311
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x30]
mov ebp, ecx
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 6]
mov eax, dword [esp + 0x14]
movsx ebx, dx
mov dword [esp + 0x18], ebx
movzx eax, word [eax + 6]
cmp dx, ax
movsx ecx, ax
mov edx, ebx
mov ebx, dword [esp + 0x40]
cmovge edx, ecx
mov dword [esp + 0x18], edx
cmp edx, ebp
jle 0x10191426
mov eax, dword [ebx + 8]
push edx
push ebp
push edi
push dword [esp + 0x20]
mov eax, dword [eax + 4]
push esi
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
push ebx
call dword [esp + 0x68]
add esp, 0x1c
test eax, eax
je 0x1019162a
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x20]
mov edx, ebp
mov ecx, dword [esp + 0x44]
sub edx, ecx
mov eax, dword [eax + 4]
sub eax, ebp
cmp edx, eax
jne 0x1019141e
mov eax, edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1019141e
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], eax
mov ebx, eax
lea ebp, [ebx + ebp*8]
mov ebx, dword [esp + 0x40]
lea eax, [eax + ecx*8]
mov dword [esp + 0x34], eax
lea ecx, [eax + 8]
mov ax, word [eax + 0xe]
cmp ax, word [ebp + 0xa]
je 0x101913c7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
jmp 0x10191422
movzx eax, word [ebp + 0xe]
sub ebp, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov ax, word [ecx]
mov dword [esp + 0x34], ecx
cmp ax, word [ecx + ebp]
jne 0x101913bd
mov ax, word [ecx + 4]
cmp ax, word [ecx + ebp + 4]
jne 0x101913bd
add ecx, 8
sub dword [esp + 0x2c], 1
jne 0x101913d3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub dword [eax + 4], edx
mov eax, dword [esp + 0x34]
add eax, 0xe
nop word [eax + eax]
mov word [eax - 8], cx
lea eax, [eax - 8]
sub edx, 1
jne 0x10191410
jmp 0x10191422
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
movsx eax, word [ecx + 6]
cmp eax, edx
movsx eax, word [ebp + 6]
cmove ecx, esi
cmp eax, edx
mov esi, ecx
mov dword [esp + 0x10], ecx
cmove ebp, edi
mov dword [esp + 0x14], ebp
cmp esi, dword [esp + 0x24]
je 0x10191565
cmp ebp, dword [esp + 0x1c]
jne 0x101911a0
cmp dword [esp + 0x50], 0
je 0x10191525
movsx ecx, word [esi + 2]
add esi, 8
mov ebp, dword [esp + 0x24]
cmp esi, ebp
je 0x10191487
movsx eax, word [esi + 2]
cmp eax, ecx
jne 0x10191487
add esi, 8
cmp esi, ebp
jne 0x10191478
mov eax, dword [ebx + 8]
cmp ecx, edx
mov edi, dword [esp + 0x10]
cmovg edx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
movsx eax, word [edi + 6]
push eax
push edx
push esi
push edi
push ebx
call fcn.10191870
add esp, 0x14
test eax, eax
je 0x1019162a
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, edi
sub ecx, edi
sub eax, edx
cmp eax, ecx
jne 0x101914d6
push edi
push edx
push ebx
call fcn.10190fb0
add esp, 0xc
sub ebp, esi
sar ebp, 3
test ebp, ebp
je 0x10191525
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x101914ef
mov eax, dword [ecx + 4]
add eax, ebp
cmp eax, dword [ecx]
jle 0x10191501
push ebp
push ebx
call fcn.10191730
add esp, 8
test eax, eax
je 0x1019162a
mov ecx, dword [ebx + 8]
lea eax, [ebp*8]
push eax
push esi
mov eax, dword [ecx + 4]
add ecx, 8
lea eax, [ecx + eax*8]
push eax
call fcn.101ecd90
mov eax, dword [ebx + 8]
add esp, 0xc
add dword [eax + 4], ebp
push dword [esp + 0x28]
call fcn.101fd0fd
mov edx, dword [ebx + 8]
add esp, 4
mov esi, dword [edx + 4]
test esi, esi
jne 0x1019166c
test edx, edx
je 0x10191550
cmp dword [edx], esi
je 0x10191550
push edx
call fcn.101fd0fd
add esp, 4
mov eax, dword [0x102cf3c4]
pop edi
pop ebp
mov dword [ebx + 8], eax
mov eax, 1
pop esi
pop ebx
add esp, 0x2c
ret
mov edi, dword [esp + 0x1c]
cmp ebp, edi
je 0x10191525
cmp dword [esp + 0x54], 0
je 0x10191525
movsx ecx, word [ebp + 2]
lea esi, [ebp + 8]
cmp esi, edi
je 0x1019158f
nop
movsx eax, word [esi + 2]
cmp eax, ecx
jne 0x1019158f
add esi, 8
cmp esi, edi
jne 0x10191580
mov eax, dword [ebx + 8]
cmp ecx, edx
cmovg edx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
movsx eax, word [ebp + 6]
push eax
push edx
push esi
push ebp
push ebx
call fcn.10191870
add esp, 0x14
test eax, eax
je 0x1019162a
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, ebp
sub ecx, ebp
sub eax, edx
cmp eax, ecx
jne 0x101915d6
push ebp
push edx
push ebx
call fcn.10190fb0
add esp, 0xc
sub edi, esi
sar edi, 3
test edi, edi
je 0x10191525
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x101915f3
mov eax, dword [ecx + 4]
add eax, edi
cmp eax, dword [ecx]
jle 0x10191601
push edi
push ebx
call fcn.10191730
add esp, 8
test eax, eax
je 0x1019162a
mov ecx, dword [ebx + 8]
lea eax, [edi*8]
push eax
push esi
mov eax, dword [ecx + 4]
add ecx, 8
lea eax, [ecx + eax*8]
push eax
call fcn.101ecd90
mov eax, dword [ebx + 8]
add esp, 0xc
add dword [eax + 4], edi
jmp 0x10191525
push dword [esp + 0x28]
call fcn.101fd0fd
mov eax, dword [ebx + 8]
add esp, 4
test eax, eax
je 0x1019164b
cmp dword [eax], 0
je 0x1019164b
push eax
call fcn.101fd0fd
add esp, 4
mov eax, dword [0x102cf3c0]
pop edi
pop ebp
pop esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [0x102cf3c8]
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx], ecx
pop ebx
add esp, 0x2c
ret
cmp esi, 1
jne 0x101916a2
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
test edx, edx
je 0x1019168e
cmp dword [edx], 0
je 0x1019168e
push edx
call fcn.101fd0fd
add esp, 4
pop edi
pop ebp
pop esi
mov dword [ebx + 8], 0
mov eax, 1
pop ebx
add esp, 0x2c
ret
mov ecx, dword [edx]
mov eax, ecx
sar eax, 1
cmp esi, eax
jge 0x101916e1
cmp ecx, 0x32
jle 0x101916e1
lea ecx, [esi*8]
cmp esi, 0x1fffffff
ja 0x101916e1
mov eax, ecx
not eax
cmp eax, 8
jb 0x101916e1
add ecx, 8
je 0x101916e1
push ecx
push edx
call fcn.101f5511
add esp, 8
test eax, eax
je 0x101916e1
mov dword [eax], esi
mov dword [ebx + 8], eax
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 8]
test eax, eax
je 0x1019170d
cmp dword [eax], 0
je 0x1019170d
push eax
call fcn.101fd0fd
mov edx, dword [0x102cf3c8]
add esp, 4
mov eax, dword [0x102cf3c0]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], ecx
mov dword [esi + 8], edx
pop esi
pop ebx
add esp, 0x2c
ret