Function at 0x1001b3fd
Capabilities:
Check for software breakpoints
Check http status code

Disassembly:
push 0x318
mov eax, 0x100cc79e
call fcn.100c745c
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ecx + 0x328]
lea edi, [ebp - 0x30]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10027a10
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
cdq
push 0x18
pop ecx
idiv ecx
mov ecx, dword [ebp + 0x14]
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
shld ecx, eax, 0xa
mov dword [ebp - 0x10c], edi
shl eax, 0xa
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x170], eax
test edi, edi
je 0x1001c144
mov eax, dword [0x1016fa60]
cmp eax, 3
je 0x1001c144
xorps xmm0, xmm0
mov eax, ebx
movlpd qword [ebp - 0x114], xmm0
mov esi, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x114]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x118], eax
test edi, edi
je 0x1001b828
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x108], esi
push eax
lea ecx, [ebp - 0x30]
call fcn.1008a452
and dword [ebp - 0x90], 0
lea ecx, [ebp - 0xa0]
and dword [ebp - 0x8c], 0
push eax
call fcn.1008a452
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1008a452
pop ecx
pop ecx
test al, al
je 0x1001b6a6
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
jl 0x1001b670
jg 0x1001b51c
cmp eax, dword [ebp - 0x170]
jbe 0x1001b670
mov esi, 0x100eadb0
lea ecx, [ebp - 0x1bc]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 3
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 4
call fcn.1008a452
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x18c]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x1a4]
call fcn.100090b6
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 2
call fcn.100090b6
test esi, esi
je 0x1001b63d
mov esi, 0x100eadb0
lea ecx, [ebp - 0x18c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 6
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 7
call fcn.1008a452
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.PostLogFile
push str._s:_Log_file_too_large_to_attempt_upload__discarding_it
push 0x100eadb0
mov ecx, dword [esi + 0x24]
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x1bc]
call fcn.100090b6
lea ecx, [ebp - 0x1a4]
call fcn.100090b6
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call fcn.100090b6
lea eax, [ebp - 0xa0]
push eax
call fcn.1008a452
pop ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x114], xmm0
cmp edi, dword [ebp - 0x14]
je 0x1001b7cc
and dword [edi], 0
and dword [edi + 4], 0
add edi, 8
mov dword [ebp - 0x18], edi
jmp 0x1001b7df
cmp edi, dword [ebp - 0x14]
je 0x1001b685
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
add edi, 8
mov dword [ebp - 0x18], edi
jmp 0x1001b695
lea eax, [ebp - 0x24]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.1008a452
mov edi, dword [ebp - 0x18]
add ebx, dword [ebp - 0x24]
adc esi, dword [ebp - 0x20]
mov dword [ebp - 0x108], esi
jmp 0x1001b7e5
mov esi, 0x100eadb0
lea ecx, [ebp - 0x18c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0xa
call fcn.1008a452
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x1bc]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x1a4]
call fcn.100090b6
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call fcn.100090b6
test esi, esi
je 0x1001b64a
mov esi, 0x100eadb0
lea ecx, [ebp - 0x18c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xc
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0xd
call fcn.1008a452
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.PostLogFile
push str._s:_File_Size_Calculation_Failed
push 0x100eadb0
mov ecx, dword [esi + 0x24]
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x1bc]
call fcn.100090b6
lea ecx, [ebp - 0x1a4]
call fcn.100090b6
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call fcn.100090b6
jmp 0x1001b64a
lea eax, [ebp - 0x114]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.1008a452
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x108]
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x1001b809
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xa0]
call fcn.1008a452
pop ecx
pop ecx
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp eax, dword [ebp - 0x10c]
jb 0x1001b4bb
mov edi, dword [ebp - 0x10c]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
shld eax, ecx, 0xa
shl ecx, 0xa
cmp esi, eax
jb 0x1001bf47
ja 0x1001b847
cmp ebx, ecx
jb 0x1001bf47
xor esi, esi
mov dword [ebp - 0x4c], 7
xor eax, eax
mov dword [ebp - 0x50], esi
mov word [ebp - 0x60], ax
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebx + 0x328]
call fcn.1008a452
push esi
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x10
call fcn.1008a452
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1008a452
pop ecx
pop ecx
test al, al
je 0x1001b8b5
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1008a452
pop ecx
pop ecx
jmp 0x1001bb7c
mov esi, 0x100eadb0
lea ecx, [ebp - 0x1d4]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 0x11
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 0x12
call fcn.1008a452
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x30c]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x324]
call fcn.100090b6
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x10
call fcn.100090b6
test esi, esi
je 0x1001b9e2
mov esi, 0x100eadb0
lea ecx, [ebp - 0x21c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x14
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x15
call fcn.1008a452
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
mov ecx, dword [esi + 0x24]
push str.PostLogFile
push str._s:_No_Cached_Access_Token_found_with_Status__lu
push 0x100eadb0
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x18
lea ecx, [ebp - 0x1ec]
call fcn.100090b6
lea ecx, [ebp - 0x204]
call fcn.100090b6
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x10
call fcn.100090b6
mov ecx, dword [ebx + 0x328]
lea eax, [ebp - 0x70]
push eax
call fcn.1008a452
xor esi, esi
mov byte [ebp - 4], 0x17
push esi
lea ecx, [ebp - 0x16c]
call fcn.1008a452
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1008a452
pop ecx
pop ecx
test al, al
je 0x1001ba50
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x10], esi
je 0x1001ba50
push eax
lea eax, [ebp - 0x134]
mov ecx, ebx
push eax
call fcn.1001a648
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x18
push ecx
push eax
call fcn.1008a452
pop ecx
pop ecx
lea ecx, [ebp - 0x134]
call fcn.100090b6
jmp 0x1001bb6c
mov ebx, 0x100eadb0
lea ecx, [ebp - 0x264]
push ebx
call fcn.1008a452
push ebx
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x19
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x1a
call fcn.1008a452
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x234]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x24c]
call fcn.100090b6
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x17
call fcn.100090b6
test esi, esi
je 0x1001bb6a
push ebx
lea ecx, [ebp - 0x134]
call fcn.1008a452
push ebx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x1c
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x1d
call fcn.1008a452
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov ecx, dword [esi + 0x24]
push str.PostLogFile
push str._s:_No_Access_Token_found_with_Status__lu
push ebx
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x18
lea ecx, [ebp - 0x14c]
call fcn.100090b6
lea ecx, [ebp - 0x164]
call fcn.100090b6
lea ecx, [ebp - 0x134]
call fcn.100090b6
xor esi, esi
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x1001bb7c
call fcn.10020a90
cmp dword [ebp - 0x50], 0
je 0x1001bf19
mov ebx, esi
test edi, edi
je 0x1001bf19
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1008a452
mov edi, dword [ebp - 0x1c]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x1001bef9
push ebx
lea ecx, [ebp - 0x30]
call fcn.1008a452
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
call fcn.1008a452
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1008a452
pop ecx
pop ecx
lea ecx, [ebp - 0x104]
call fcn.1000e481
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x328]
call fcn.10027f24
movzx eax, word [ebp - 0x100]
cmp eax, 0xc8
je 0x1001bf08
cmp eax, 0xc9
je 0x1001bf08
cmp eax, 0xcc
je 0x1001bf08
lea ecx, [ebp - 0x14c]
mov esi, 0x100eadb0
push esi
cmp eax, 0x19d
jne 0x1001bd86
call fcn.1008a452
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x22
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x23
call fcn.1008a452
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x134]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x164]
call fcn.100090b6
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x21
call fcn.100090b6
test esi, esi
je 0x1001bd6b
mov esi, 0x100eadb0
lea ecx, [ebp - 0x14c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x25
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x26
call fcn.1008a452
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.PostLogFile
push str._s:_Upload_got_request_too_large_error__discarding_log_file
push 0x100eadb0
mov ecx, dword [esi + 0x24]
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x134]
call fcn.100090b6
lea ecx, [ebp - 0x164]
call fcn.100090b6
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x21
call fcn.100090b6
lea eax, [ebp - 0x88]
push eax
call fcn.1008a452
xor esi, esi
mov dword [edi + ebx*8], esi
pop ecx
mov dword [edi + ebx*8 + 4], esi
jmp 0x1001bea3
call fcn.1008a452
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x28
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x29
call fcn.1008a452
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x134]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x164]
call fcn.100090b6
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x21
call fcn.100090b6
test esi, esi
je 0x1001bea1
mov esi, 0x100eadb0
lea ecx, [ebp - 0x14c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x2b
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x2c
call fcn.1008a452
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100aa486
add esp, 0xc
mov ecx, eax
movzx eax, word [ebp - 0x100]
mov esi, dword [ecx]
push eax
push str.PostLogFile
push str._s:_Failed_to_post_logs_with_status__lu
push 0x100eadb0
push ecx
mov ecx, dword [esi + 0x24]
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x134]
call fcn.100090b6
lea ecx, [ebp - 0x164]
call fcn.100090b6
lea ecx, [ebp - 0x14c]
call fcn.100090b6
xor esi, esi
lea ecx, [ebp - 0x104]
call fcn.1000fba6
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x1001bec8
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x48]
call fcn.1008a452
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], 7
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x1001bef9
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x88]
call fcn.1008a452
pop ecx
pop ecx
inc ebx
cmp ebx, dword [ebp - 0x10c]
jb 0x1001bb90
jmp 0x1001bf1c
lea eax, [ebp - 0x88]
push eax
call fcn.1008a452
jmp 0x1001bd79
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb8]
call fcn.100090b6
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x1001bf4a
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x60]
call fcn.1008a452
pop ecx
pop ecx
jmp 0x1001bf4a
mov edi, dword [ebp - 0x1c]
xor esi, esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x114], xmm0
cmp dword [ebp - 0x10c], esi
jbe 0x1001c12f
mov ebx, dword [ebp - 0x110]
mov edi, dword [ebp - 0x114]
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008a452
xor ecx, ecx
cmp dword [eax + 4], ecx
jl 0x1001bf8a
jg 0x1001bf85
cmp dword [eax], ecx
jbe 0x1001bf8a
add edi, 1
adc ebx, ecx
inc esi
cmp esi, dword [ebp - 0x10c]
jb 0x1001bf6f
cmp ebx, dword [ebp + 0x1c]
jb 0x1001c12c
ja 0x1001bfa7
cmp edi, dword [ebp + 0x18]
jbe 0x1001c12c
sub edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x2ac]
mov esi, 0x100eadb0
sbb ebx, dword [ebp + 0x1c]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x2e
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x2f
call fcn.1008a452
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x27c]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x294]
call fcn.100090b6
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 1
call fcn.100090b6
test esi, esi
je 0x1001c0d0
mov esi, 0x100eadb0
lea ecx, [ebp - 0x2f4]
push esi
call fcn.1008a452
push esi
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x31
call fcn.1008a452
push str.NglController
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x32
call fcn.1008a452
lea eax, [ebp - 0x2f4]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push ebx
push edi
push str.PostLogFile
mov ecx, dword [esi + 0x14]
push str._s:_Too_many_log_files_for_later_retry__discarding__lu_files
push 0x100eadb0
push eax
call dword [0x100e97d8]
call dword [esi + 0x14]
add esp, 0x18
lea ecx, [ebp - 0x2c4]
call fcn.100090b6
lea ecx, [ebp - 0x2dc]
call fcn.100090b6
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 1
call fcn.100090b6
xor ecx, ecx
mov eax, ecx
mov esi, ecx
mov dword [ebp - 0x108], eax
cmp ecx, ebx
ja 0x1001c12c
jb 0x1001c0e6
cmp eax, edi
jae 0x1001c12c
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008a452
xor ecx, ecx
cmp dword [eax + 4], ecx
jl 0x1001c11d
jg 0x1001c0fc
cmp dword [eax], ecx
jbe 0x1001c11d
push esi
lea ecx, [ebp - 0x30]
call fcn.1008a452
push eax
call fcn.1008a452
mov eax, dword [ebp - 0x108]
inc eax
pop ecx
mov dword [ebp - 0x108], eax
xor ecx, ecx
jmp 0x1001c123
mov eax, dword [ebp - 0x108]
inc esi
cmp esi, dword [ebp - 0x10c]
jb 0x1001c0dc
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x1001c144
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffff8
push ecx
push edi
call fcn.1008a452
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call fcn.10022721
mov al, 1
call fcn.100c7406
ret 0x18