Function at 0x1019a770
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x2c
mov edx, dword [0x102d9428]
push ebx
push esi
mov esi, dword [ecx + 8]
cmp esi, edx
je 0x1019adfe
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 8]
cmp eax, edx
je 0x1019adfe
test esi, esi
je 0x1019a7a9
lea edx, [esi + 8]
mov esi, dword [esi + 4]
mov dword [esp + 8], edx
jmp 0x1019a7b4
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 0x1019a7c8
mov ebp, dword [eax + 4]
lea ebx, [eax + 8]
jmp 0x1019a7d1
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 0x1019a7f3
push str.The_expression_r1___r1_end_was_false
push 0x10287da4
call fcn.10180080
add esp, 8
cmp ebx, edi
jne 0x1019a809
push str.The_expression_r2___r2_end_was_false
push 0x10287da4
call fcn.10180080
add esp, 8
mov ebx, dword [esp + 0x40]
xor edi, edi
mov ecx, dword [0x102d9424]
mov dword [esp + 0x28], edi
cmp ebx, dword [esp + 0x44]
jne 0x1019a824
cmp esi, 1
jg 0x1019a82f
cmp ebx, dword [esp + 0x48]
jne 0x1019a839
cmp ebp, 1
jle 0x1019a839
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 0x1019a84c
mov dword [ebx + 8], ecx
jmp 0x1019a858
cmp dword [eax], 0
je 0x1019a858
mov dword [eax + 4], 0
mov eax, dword [ebx + 8]
cmp esi, dword [eax]
jle 0x1019a880
push esi
push ebx
call fcn.1019ae40
add esp, 8
test eax, eax
jne 0x1019a880
push edi
call fcn.102067ed
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 0x1019a8ca
push str.The_expression_r1___r1_end_was_false
push 0x10287da4
call fcn.10180080
add esp, 8
mov edx, dword [esp + 0x1c]
cmp ebp, edx
jne 0x1019a8e8
push str.The_expression_r2___r2_end_was_false
push 0x10287da4
call fcn.10180080
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 0x1019a906
movsx eax, word [esi + 2]
cmp eax, ecx
jne 0x1019a906
add esi, 8
cmp esi, edi
jne 0x1019a8f7
mov edi, dword [esp + 0x14]
movsx ebp, word [ebp + 2]
add edi, 8
cmp edi, edx
je 0x1019a924
movsx eax, word [edi + 2]
cmp eax, ebp
jne 0x1019a924
add edi, 8
cmp edi, edx
jne 0x1019a915
cmp ecx, ebp
jge 0x1019a9ac
cmp dword [esp + 0x50], 0
je 0x1019aa27
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 0x1019aa27
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.1019af80
add esp, 0x14
test eax, eax
je 0x1019ad3a
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 0x1019a9a6
push edx
push dword [esp + 0x48]
push ebx
call fcn.1019a6c0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x1019aa27
mov dword [esp + 0x44], edx
jmp 0x1019aa27
jle 0x1019aa25
cmp dword [esp + 0x54], 0
je 0x1019aa25
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 0x1019aa25
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.1019af80
add esp, 0x14
test eax, eax
je 0x1019ad3a
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 0x1019aa1d
push ebp
push edx
push ebx
call fcn.1019a6c0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x1019aa21
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 0x1019ab36
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 0x1019ad3a
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 0x1019ab2e
mov eax, edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1019ab2e
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 0x1019aad7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
jmp 0x1019ab32
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 0x1019aacd
mov ax, word [ecx + 4]
cmp ax, word [ecx + ebp + 4]
jne 0x1019aacd
add ecx, 8
sub dword [esp + 0x2c], 1
jne 0x1019aae3
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 0x1019ab20
jmp 0x1019ab32
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 0x1019ac75
cmp ebp, dword [esp + 0x1c]
jne 0x1019a8b0
cmp dword [esp + 0x50], 0
je 0x1019ac35
movsx ecx, word [esi + 2]
add esi, 8
mov ebp, dword [esp + 0x24]
cmp esi, ebp
je 0x1019ab97
movsx eax, word [esi + 2]
cmp eax, ecx
jne 0x1019ab97
add esi, 8
cmp esi, ebp
jne 0x1019ab88
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.1019af80
add esp, 0x14
test eax, eax
je 0x1019ad3a
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 0x1019abe6
push edi
push edx
push ebx
call fcn.1019a6c0
add esp, 0xc
sub ebp, esi
sar ebp, 3
test ebp, ebp
je 0x1019ac35
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1019abff
mov eax, dword [ecx + 4]
add eax, ebp
cmp eax, dword [ecx]
jle 0x1019ac11
push ebp
push ebx
call fcn.1019ae40
add esp, 8
test eax, eax
je 0x1019ad3a
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.101f6470
mov eax, dword [ebx + 8]
add esp, 0xc
add dword [eax + 4], ebp
push dword [esp + 0x28]
call fcn.102067ed
mov edx, dword [ebx + 8]
add esp, 4
mov esi, dword [edx + 4]
test esi, esi
jne 0x1019ad7c
test edx, edx
je 0x1019ac60
cmp dword [edx], esi
je 0x1019ac60
push edx
call fcn.102067ed
add esp, 4
mov eax, dword [0x102d9424]
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 0x1019ac35
cmp dword [esp + 0x54], 0
je 0x1019ac35
movsx ecx, word [ebp + 2]
lea esi, [ebp + 8]
cmp esi, edi
je 0x1019ac9f
nop
movsx eax, word [esi + 2]
cmp eax, ecx
jne 0x1019ac9f
add esi, 8
cmp esi, edi
jne 0x1019ac90
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.1019af80
add esp, 0x14
test eax, eax
je 0x1019ad3a
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 0x1019ace6
push ebp
push edx
push ebx
call fcn.1019a6c0
add esp, 0xc
sub edi, esi
sar edi, 3
test edi, edi
je 0x1019ac35
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1019ad03
mov eax, dword [ecx + 4]
add eax, edi
cmp eax, dword [ecx]
jle 0x1019ad11
push edi
push ebx
call fcn.1019ae40
add esp, 8
test eax, eax
je 0x1019ad3a
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.101f6470
mov eax, dword [ebx + 8]
add esp, 0xc
add dword [eax + 4], edi
jmp 0x1019ac35
push dword [esp + 0x28]
call fcn.102067ed
mov eax, dword [ebx + 8]
add esp, 4
test eax, eax
je 0x1019ad5b
cmp dword [eax], 0
je 0x1019ad5b
push eax
call fcn.102067ed
add esp, 4
mov eax, dword [0x102d9420]
pop edi
pop ebp
pop esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [0x102d9428]
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx], ecx
pop ebx
add esp, 0x2c
ret
cmp esi, 1
jne 0x1019adb2
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
test edx, edx
je 0x1019ad9e
cmp dword [edx], 0
je 0x1019ad9e
push edx
call fcn.102067ed
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 0x1019adf1
cmp ecx, 0x32
jle 0x1019adf1
lea ecx, [esi*8]
cmp esi, 0x1fffffff
ja 0x1019adf1
mov eax, ecx
not eax
cmp eax, 8
jb 0x1019adf1
add ecx, 8
je 0x1019adf1
push ecx
push edx
call fcn.101fec01
add esp, 8
test eax, eax
je 0x1019adf1
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 0x1019ae1d
cmp dword [eax], 0
je 0x1019ae1d
push eax
call fcn.102067ed
mov edx, dword [0x102d9428]
add esp, 4
mov eax, dword [0x102d9420]
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