Function at 0x1001b900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103e1d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2610
call fcn.100bb0e0
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x252c], ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x64]
mov dword [ebp - 0x2520], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2538], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2558], eax
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x2528], 0
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x1001b97b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2528]
call fcn.10002a70
mov edx, dword [ebp - 0x50]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x1001b9c5
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b9bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7cd
push edx
push ecx
call fcn.100bacf4
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.1003fde0
test eax, eax
je 0x1001ba48
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001ba48
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov edi, eax
call fcn.100053e0
mov esi, eax
push str.GetCdnCfg_Start:
push esi
mov byte [ebp - 4], 3
call fcn.10003110
mov ecx, dword [ebp - 0x2528]
mov edx, 0x1010dc24
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10003110
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0x2608]
mov byte [ebp - 4], 2
call fcn.100083c0
push dword [ebp - 0x2528]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x2520]
push eax
call fcn.10018cf0
add esp, 0xc
lea ecx, [ebp - 0x2518]
mov byte [ebp - 4], 4
call fcn.1001c940
push 4
push dword [0x1010e830]
mov eax, 0x50
mov dword [ebp - 0xc8], 2
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0x2518]
push 0x21
push eax
mov dword [ebp - 0xc4], 4
call fcn.100df7e2
push eax
call fcn.1001aec0
mov eax, dword [ebp - 0x252c]
add esp, 0x14
add eax, 4
cmp dword [eax + 0x14], 0x10
jb 0x1001babf
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2554]
push eax
call fcn.10051bf0
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1001bade
mov esi, dword [esi]
lea ecx, [ebp - 0x2518]
call fcn.1001c940
push esi
lea ecx, [ebp - 0x2518]
call fcn.1001ca70
mov edx, dword [ebp - 0x2540]
cmp edx, 8
jb 0x1001bb35
mov ecx, dword [ebp - 0x2554]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bb2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7d2
push edx
push ecx
call fcn.100bacf4
add esp, 8
push 0xfde9
lea eax, [ebp - 0x20d0]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10051ab0
add esp, 0xc
mov byte [ebp - 4], 5
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x1001c7d7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2530], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x32
or eax, ecx
mov byte [ebp - 4], 6
jge 0x1001bb99
push 0x32
lea ecx, [ebp - 0x2530]
call fcn.10002770
mov esi, dword [ebp - 0x2530]
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
push 0x32
cmovae eax, dword [ebp - 0x7c]
push esi
push dword [ebp - 0x6c]
push eax
call fcn.10043700
push dword [esi - 8]
push esi
call fcn.100da6db
add esp, 0x18
test eax, eax
js 0x1001c7c3
cmp eax, dword [esi - 8]
jg 0x1001c7c3
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001bc80
call fcn.1003fde0
test eax, eax
je 0x1001bc78
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001bc78
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2520], eax
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov dword [ebp - 0x2524], eax
call fcn.100053e0
mov edi, eax
push str.local_cfg_file_not_exist:
push edi
mov byte [ebp - 4], 7
call fcn.10003110
mov eax, dword [ebp - 0x2520]
mov ecx, 0x1010dc24
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.10003110
mov ecx, dword [ebp - 0x2524]
add esp, 0x10
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x2608]
mov byte [ebp - 4], 6
call fcn.100083c0
or edi, 0xffffffff
jmp 0x1001c1b4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x4c]
push ecx
push eax
call fcn.100491a0
add esp, 8
cmp dword [ebp - 0x54], 0
jne 0x1001bd50
call fcn.1003fde0
test eax, eax
je 0x1001bd3c
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001bd3c
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2520], eax
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov dword [ebp - 0x2524], eax
call fcn.100053e0
mov edi, eax
push str.local_cfg_file_is_empty:
push edi
mov byte [ebp - 4], 9
call fcn.10003110
mov eax, dword [ebp - 0x2520]
mov ecx, 0x1010dc24
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.10003110
mov ecx, dword [ebp - 0x2524]
add esp, 0x10
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x2608]
call fcn.100083c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.10005fd0
or edi, 0xffffffff
jmp 0x1001c1b4
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.10048170
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x30]
call fcn.10048cc0
test al, al
jne 0x1001bd94
lea ecx, [ebp - 0x30]
call fcn.100451c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.10005fd0
or edi, 0xffffffff
jmp 0x1001c1b4
push 0x1010e2cc
lea ecx, [ebp - 0x253c]
mov dword [ebp - 0x18], 0
call fcn.10002a70
push 8
push str.url_path
lea ecx, [ebp - 0x2570]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2560], 0
mov dword [ebp - 0x255c], 0xf
mov byte [ebp - 0x2570], 0
call fcn.1000f130
push 0xfde9
lea eax, [ebp - 0x253c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x2570]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.10048b30
lea ecx, [ebp - 0x2570]
call fcn.10005fd0
mov edx, dword [ebp - 0x253c]
or edi, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001be2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001c7e1
mov ecx, esi
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1001be66
test dx, dx
je 0x1001be62
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1001be66
add ecx, 4
add eax, 4
test dx, dx
jne 0x1001be40
xor eax, eax
jmp 0x1001be6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001befb
call fcn.1003fde0
test eax, eax
je 0x1001bed4
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001bed4
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov dword [ebp - 0x2520], eax
call fcn.100053e0
mov edi, eax
push str.local_cfg_url_not_equal_cdn_url
push edi
mov byte [ebp - 4], 0x10
call fcn.10003110
mov eax, dword [ebp - 0x2520]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x14]
lea ecx, [ebp - 0x2608]
call fcn.100083c0
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c1a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001c1a0
mov eax, dword [ebp - 0x252c]
cmp dword [eax + 0x2c], 0
je 0x1001bfa4
call fcn.1003fde0
test eax, eax
je 0x1001bf5f
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001bf5f
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov edi, eax
call fcn.100053e0
mov esi, eax
push str.current_content_not_is_empty
push esi
mov byte [ebp - 4], 0x11
call fcn.10003110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x2608]
call fcn.100083c0
lea ecx, [ebp - 0x18]
call fcn.10001730
lea ecx, [ebp - 0x30]
call fcn.100451c0
lea ecx, [ebp - 0x64]
call fcn.10005fd0
lea ecx, [ebp - 0x2530]
call fcn.10001730
lea ecx, [ebp - 0x7c]
call fcn.10005fd0
lea ecx, [ebp - 0x4c]
call fcn.10006020
lea ecx, [ebp - 0x2528]
call fcn.10001730
mov al, 1
jmp 0x1001c2bf
push 0x1010e2cc
lea ecx, [ebp - 0x2524]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x34], 0
call fcn.10002a70
push 4
push str.data
lea ecx, [ebp - 0x2554]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x2544], 0
mov dword [ebp - 0x2540], 0xf
mov byte [ebp - 0x2554], 0
call fcn.1000f130
push 0xfde9
lea eax, [ebp - 0x2524]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x2554]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.10048b30
lea ecx, [ebp - 0x2554]
call fcn.10005fd0
lea ecx, [ebp - 0x2524]
mov byte [ebp - 4], 0x17
call fcn.10001730
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
jne 0x1001c0fc
call fcn.1003fde0
test eax, eax
je 0x1001c0d3
call fcn.1003fde0
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1001c0d3
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2520], eax
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov dword [ebp - 0x2534], eax
call fcn.100053e0
mov dword [ebp - 0x2524], eax
push str.local_cfg_data_is_empty:
push eax
mov byte [ebp - 4], 0x18
call fcn.10003110
mov eax, dword [ebp - 0x2520]
add esp, 8
test eax, eax
mov ecx, 0x1010dc24
cmovne ecx, eax
push ecx
push dword [ebp - 0x2524]
call fcn.10003110
mov ecx, dword [ebp - 0x2534]
add esp, 8
mov eax, dword [ecx]
push dword [ebp - 0x2524]
call dword [eax + 0x14]
lea ecx, [ebp - 0x2608]
call fcn.100083c0
lea ecx, [ebp - 0x34]
call fcn.10001730
lea ecx, [ebp - 0x18]
call fcn.10001730
lea ecx, [ebp - 0x30]
call fcn.100451c0
lea ecx, [ebp - 0x64]
call fcn.10005fd0
mov byte [ebp - 4], 6
jmp 0x1001c1b4
lea eax, [ebp - 0x2620]
push eax
lea ecx, [ebp - 0x2519]
call fcn.1001ab00
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x19
jb 0x1001c11a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2520]
call fcn.10002a70
lea eax, [ebp - 0x2520]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2534]
push eax
call fcn.10051e10
add esp, 0xc
mov ecx, dword [ebp - 0x252c]
push dword [eax]
mov byte [ebp - 4], 0x1b
lea ecx, [ecx + 0x1c]
call fcn.1001a3b0
lea ecx, [ebp - 0x2534]
call fcn.10001730
lea ecx, [ebp - 0x2520]
call fcn.10001730
lea ecx, [ebp - 0x2620]
call fcn.10006020
lea ecx, [ebp - 0x34]
call fcn.10001730
mov ecx, dword [ebp - 0x252c]
mov dword [ebp - 4], 0xf
cmp dword [ecx + 0x2c], 0
jne 0x1001c6d0
lea ecx, [ebp - 0x18]
call fcn.10001730
lea ecx, [ebp - 0x30]
call fcn.100451c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.10005fd0
push dword [ebp - 0x2538]
mov ecx, dword [ebp - 0x252c]
call fcn.1001b3b0
test al, al
jne 0x1001c2dd
call fcn.1003fde0
test eax, eax
je 0x1001c22b
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001c22b
call fcn.1003fde0
lea ecx, [ebp - 0x2608]
mov dword [ebp - 0x2538], eax
call fcn.100053e0
mov edi, eax
push str.Down_CdnCfg_failed
push edi
mov byte [ebp - 4], 0x1e
call fcn.10003110
mov eax, dword [ebp - 0x2538]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x14]
lea ecx, [ebp - 0x2608]
call fcn.100083c0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c249
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1001c281
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c277
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7eb
push edx
push ecx
call fcn.100bacf4
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.10006020
mov eax, dword [ebp - 0x2528]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001c2bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
lea ecx, [ebp - 0xac]
movups xmmword [ebp - 0xac], xmm0
movq qword [ebp - 0x9c], xmm0
call fcn.10048170
push 0xfde9
lea eax, [ebp - 0x2570]
mov byte [ebp - 4], 0x1f
push esi
push eax
call fcn.10051ab0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2554]
mov byte [ebp - 4], 0x20
call fcn.10044910
push 8
push str.url_path
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1000f130
lea eax, [ebp - 0x2554]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xac]
call fcn.100481e0
mov ecx, eax
call fcn.10045230
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x21
cmp edx, 0x10
jb 0x1001c3a1
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c397
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7f0
push edx
push ecx
call fcn.100bacf4
add esp, 8
lea ecx, [ebp - 0x2554]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.100451c0
mov edx, dword [ebp - 0x255c]
mov byte [ebp - 4], 0x1f
cmp edx, 0x10
jb 0x1001c3fc
mov ecx, dword [ebp - 0x2570]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c3f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7f5
push edx
push ecx
call fcn.100bacf4
add esp, 8
mov eax, dword [ebp - 0x252c]
add eax, 0x34
cmp dword [eax + 0x14], 8
jb 0x1001c40d
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2570]
push eax
call fcn.10051ab0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2554]
mov byte [ebp - 4], 0x23
call fcn.10044910
push 4
push str.data
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1000f130
lea eax, [ebp - 0x2554]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xac]
call fcn.100481e0
mov ecx, eax
call fcn.10045230
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x24
cmp edx, 0x10
jb 0x1001c4b0
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c4a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7fa
push edx
push ecx
call fcn.100bacf4
add esp, 8
lea ecx, [ebp - 0x2554]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.100451c0
mov edx, dword [ebp - 0x255c]
mov byte [ebp - 4], 0x1f
cmp edx, 0x10
jb 0x1001c50b
mov ecx, dword [ebp - 0x2570]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c501
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c7ff
push edx
push ecx
call fcn.100bacf4
add esp, 8
push 0
push 0x1010da2c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1000f130
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xac]
call fcn.10048e90
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x28
cmp edx, 0x10
jb 0x1001c57e
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c804
push edx
push ecx
call fcn.100bacf4
add esp, 8
cmp dword [ebp - 0x80], 0x10
lea edx, [ebp - 0x94]
push dword [ebp - 0x84]
cmovae edx, dword [ebp - 0x94]
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
push edx
cmovae eax, dword [ebp - 0x4c]
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10049380
mov eax, dword [ebp - 0x2558]
add esp, 0xc
mov ecx, dword [ebp - 0x252c]
mov byte [eax], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [ebp - 0x80]
mov byte [ebp - 0x2519], al
mov byte [ebp - 4], 0x1f
cmp edx, 0x10
jb 0x1001c613
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c609
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c809
push edx
push ecx
call fcn.100bacf4
add esp, 8
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
call fcn.100451c0
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001c651
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1001c689
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c67f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c80e
push edx
push ecx
call fcn.100bacf4
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.10006020
mov edx, dword [ebp - 0x2528]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1001c6c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x2519]
jmp 0x1001c2bf
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x2519], al
call fcn.10001730
lea ecx, [ebp - 0x30]
call fcn.100451c0
lea ecx, [ebp - 0x64]
call fcn.10005fd0
lea ecx, [ebp - 0x2530]
call fcn.10001730
lea ecx, [ebp - 0x7c]
call fcn.10005fd0
lea ecx, [ebp - 0x4c]
call fcn.10006020
lea ecx, [ebp - 0x2528]
call fcn.10001730
mov al, byte [ebp - 0x2519]
jmp 0x1001c2bf
push 0x80070057
call fcn.10001900
call fcn.100da4dc
call fcn.100da4dc
push 0x80004005
call fcn.10001900
push 0x80004005
call fcn.10001900
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
int3