Function at 0x10183190
Capabilities:
Check for time delay via gettickcount
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10298278
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10314008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x88]
mov dword [ebp - 4], 4
lea edi, [ebx + 0x108]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x20], edi
test edi, edi
je 0x101831f1
mov eax, dword [edi]
test eax, eax
je 0x101831f1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x10183bea
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x130], 0
lea eax, [ebp + 8]
mov dword [ebx + 0x134], 0
cmp edx, eax
je 0x1018322f
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
mov ecx, edx
push eax
call fcn.10004d70
lea ecx, [ebx + 0xcc]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x1018324d
cmp dword [ebp + 0x34], 8
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.10004d70
lea ecx, [ebp + 0x38]
lea edx, [ebx + 0x84]
call fcn.10090b40
cmp edx, eax
je 0x10183274
cmp dword [ebp + 0x4c], 0x10
mov eax, ecx
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, edx
push eax
call fcn.1000d9c0
lea ecx, [ebx + 0x9c]
lea eax, [ebp + 0x50]
cmp ecx, eax
je 0x10183292
cmp dword [ebp + 0x64], 8
push dword [ebp + 0x60]
cmovae eax, dword [ebp + 0x50]
push eax
call fcn.10004d70
lea ecx, [ebx + 0xb4]
lea eax, [ebp + 0x68]
cmp ecx, eax
je 0x101832b0
cmp dword [ebp + 0x7c], 8
push dword [ebp + 0x78]
cmovae eax, dword [ebp + 0x68]
push eax
call fcn.10004d70
cmp dword [ebx + 0x138], 0
mov ecx, dword [ebp + 0x80]
mov dword [ebx + 0x100], ecx
mov ecx, dword [ebp + 0x84]
mov dword [ebx + 0x104], ecx
jne 0x10183bea
cmp dword [ebx + 0x13c], 0
jne 0x10183bea
call fcn.1009dab0
push 8
call fcn.1025b3f7
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movq qword [eax], xmm0
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
cmovae ecx, dword [ebp + 0x20]
sub esp, 0xc
push ecx
mov ecx, eax
call fcn.1009d920
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
push 4
mov dword [ebx + 0x138], eax
call fcn.1025b3f7
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
push 8
mov dword [eax], 0
call fcn.1025b3f7
mov ecx, dword [ebp - 0x70]
add esp, 8
mov dword [ecx], eax
mov dword [eax], 0
mov eax, dword [ecx]
mov dword [eax + 4], 0
mov byte [ebp - 4], 5
mov dword [ebx + 0x13c], ecx
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x1018336f
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov byte [ebx + 0x12d], 0
mov ecx, dword [ebx + 0x140]
cmp ecx, esi
je 0x1018339f
test esi, esi
je 0x10183390
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebx + 0x140]
test ecx, ecx
je 0x10183399
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx + 0x140], esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
test edi, edi
je 0x101833bd
mov eax, dword [edi]
test eax, eax
je 0x101833b6
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x7c], 0
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebx + 0x140]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101833e8
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 8
cmp byte [ebx + 0x12d], 0
mov esi, dword [ebp - 0x14]
jne 0x10183403
test esi, esi
je 0x10183413
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test esi, esi
je 0x10183413
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x14], esi
push dword [ebp + 0x84]
mov ecx, dword [ebp - 0x70]
lea eax, [ebp + 0x68]
push dword [ebp + 0x80]
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x84]
call fcn.10259320
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x6a], al
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1018345b
mov eax, dword [edi]
test eax, eax
je 0x1018345b
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x10183507
lea edi, [eax + 0x20]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x94], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x24], 4
mov eax, dword [eax + 4]
test eax, eax
je 0x101834f3
push 0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0x20000013
push eax
call fcn.100aa5d0
mov ecx, eax
call fcn.100aab50
test eax, eax
je 0x101834f3
mov eax, dword [ebp - 0x2c]
cmp eax, 0xce
je 0x101834d9
cmp eax, 0xc8
je 0x101834d9
xor al, al
jmp 0x101834db
mov al, 1
mov byte [ebp - 0x69], al
mov byte [ebp - 4], 9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov al, byte [ebp - 0x69]
mov edi, dword [ebp - 0x80]
jmp 0x10183515
mov byte [ebp - 4], 9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, dword [ebp - 0x80]
xor al, al
jmp 0x10183515
mov eax, dword [ecx + 4]
test eax, eax
je 0x10183525
cmp dword [eax + 8], 0
setne al
test al, al
je 0x10183525
cmp byte [ebp - 0x6a], 0
jne 0x101836f4
jmp 0x10183529
mov byte [ebp - 0x6a], 0
mov edi, dword [ebp - 0x70]
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
je 0x1018353b
call fcn.102585d0
jmp 0x1018353d
xor eax, eax
cmp dword [ebp + 0x84], 0
jne 0x1018354f
cmp dword [ebp + 0x80], 0
je 0x1018355a
cmp eax, 0x1a0
je 0x10183902
cmp dword [ebp - 0x7c], 3
jb 0x101835ef
mov ecx, dword [edi]
mov eax, dword [ecx]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x101835e5
lea edi, [eax + 0x20]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x98], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], 4
mov eax, dword [eax + 4]
test eax, eax
je 0x101835d3
push 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0x20000013
push eax
call fcn.100aa5d0
mov ecx, eax
call fcn.100aab50
test eax, eax
je 0x101835d3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffe70
cmp eax, 0x63
jbe 0x1018378d
mov byte [ebp - 4], 9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, dword [ebp - 0x70]
jmp 0x101835ef
cmp dword [ecx + 4], 0
je 0x1018379a
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
jne 0x101835fe
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10183603
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10183619
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi]
mov dword [eax], 0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10183631
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi]
mov dword [eax + 4], 0
mov edi, dword [ebp - 0x80]
test edi, edi
je 0x1018364c
mov eax, dword [edi]
test eax, eax
je 0x10183645
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x7c], 0x1d
jae 0x101836f4
mov ecx, dword [ebx + 0x140]
mov dword [ebp - 0x74], ecx
cmp esi, ecx
je 0x1018367c
test ecx, ecx
je 0x1018366b
mov eax, dword [ecx]
call dword [eax]
test esi, esi
je 0x10183676
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
cmp byte [ebx + 0x12d], 0
mov esi, dword [ebp - 0x14]
jne 0x10183693
test esi, esi
je 0x101836a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test esi, esi
je 0x101836a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x101836b9
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 0x140]
mov dword [ebp - 0x74], ecx
cmp esi, ecx
je 0x101836df
test ecx, ecx
je 0x101836ce
mov eax, dword [ecx]
call dword [eax]
test esi, esi
je 0x101836d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
cmp byte [ebx + 0x12d], 0
jne 0x101836f4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x101836f4
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1018370f
mov eax, dword [edi]
test eax, eax
je 0x1018370f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xc
cmp byte [ebx + 0x12d], 0
jne 0x101838a6
cmp byte [ebp - 0x6a], 0
jne 0x101837ad
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10183749
mov eax, dword [eax]
test eax, eax
je 0x10183742
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10183768
mov eax, dword [eax]
test eax, eax
je 0x10183761
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10183778
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, 0x1e
jb 0x101833d0
jmp 0x10183980
mov byte [ebp - 4], 9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, ebx
call fcn.10183080
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x80]
jmp 0x10183959
mov esi, dword [ebp - 0x70]
mov ecx, esi
call fcn.10259ac0
mov dword [ebx + 0x10], eax
mov ecx, esi
lea eax, [ebp - 0xbc]
mov dword [ebx + 0x14], edx
push eax
call fcn.10259ce0
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x18]
push eax
call fcn.10004650
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc]
call fcn.10004cc0
mov ecx, esi
call fcn.10259b70
mov dword [ebx + 0x30], eax
mov ecx, esi
lea eax, [ebp - 0xd4]
mov dword [ebx + 0x34], edx
push eax
call fcn.10259f40
mov byte [ebp - 4], 0xe
lea ecx, [ebx + 0x3c]
push eax
call fcn.10004650
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd4]
call fcn.10004cc0
lea eax, [ebp - 0xec]
mov ecx, esi
push eax
call fcn.1025a010
mov byte [ebp - 4], 0xf
lea ecx, [ebx + 0x54]
push eax
call fcn.10004650
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xec]
call fcn.10004cc0
mov byte [ebx + 0x12c], 1
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1018386e
mov eax, dword [eax]
test eax, eax
je 0x10183867
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1018388d
mov eax, dword [eax]
test eax, eax
je 0x10183886
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10183983
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10183983
mov ecx, ebx
mov byte [ebp - 0x6a], 0
call fcn.10183080
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x101838d0
mov eax, dword [eax]
test eax, eax
je 0x101838c9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101838ef
mov eax, dword [eax]
test eax, eax
je 0x101838e8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10183980
mov eax, dword [ecx]
jmp 0x1018397d
mov edi, dword [ebx + 0x140]
cmp esi, edi
je 0x10183924
test edi, edi
je 0x10183916
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test esi, esi
je 0x10183921
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x14], edi
cmp byte [ebx + 0x12d], 0
mov esi, dword [ebp - 0x14]
jne 0x1018393b
test esi, esi
je 0x1018394b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
test esi, esi
je 0x1018394b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, ebx
call fcn.10183080
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10183971
mov eax, dword [eax]
test eax, eax
je 0x1018396a
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
test esi, esi
je 0x10183980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x70]
cmp byte [ebp - 0x6a], 0
mov dword [ebx + 0x38], 0xffffffff
je 0x10183bc2
mov ecx, ebx
call fcn.10184a20
mov ecx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x101839af
test eax, eax
je 0x10183bdb
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x10183b37
mov dword [ebx + 0x38], eax
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10183bdb
call fcn.102585d0
cmp eax, 0xce
jne 0x10183bdb
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x8c], xmm0
mov edi, dword [eax]
test edi, edi
je 0x10183bdb
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.102588c0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x50]
call fcn.100ab940
add esp, 8
test al, al
je 0x10183b19
lea esi, [edi + 0x20]
mov byte [ebp - 0x69], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x9c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0x11
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], 4
test eax, eax
je 0x10183aa7
push 0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0x20000013
push eax
call fcn.100aa5d0
mov ecx, eax
call fcn.100aab50
test eax, eax
je 0x10183aa7
cmp dword [ebp - 0x34], 0xce
sete byte [ebp - 0x69]
jne 0x10183aa7
mov eax, dword [ebp - 0x78]
cmp dword [edi + 0x18], eax
jne 0x10183aa3
mov eax, dword [ebp - 0x74]
cmp dword [edi + 0x1c], eax
je 0x10183aa7
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 0x10
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.10004cc0
cmp byte [ebp - 0x69], 0
je 0x10183bdb
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x78]
jne 0x10183bdb
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x74]
jne 0x10183bdb
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebx + 0x10]
jne 0x10183bdb
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebx + 0x14]
jne 0x10183bdb
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x38], 1
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebp - 0x6a]
jmp 0x10183bec
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.10004cc0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebp - 0x6a]
jmp 0x10183bec
mov ecx, dword [ecx]
test ecx, ecx
je 0x10183b7b
lea eax, [ebp - 0x68]
push eax
call fcn.102588c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x68]
call fcn.100ab7a0
mov byte [ebp - 0x69], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.10004cc0
xor eax, eax
mov ecx, ebx
cmp byte [ebp - 0x69], al
setne al
mov dword [ebx + 0x38], eax
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebp - 0x6a]
jmp 0x10183bec
cmp dword [eax + 8], 0
jne 0x10183b9f
xor eax, eax
mov byte [ebp - 0x69], 0
cmp byte [ebp - 0x69], al
mov ecx, ebx
setne al
mov dword [ebx + 0x38], eax
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebp - 0x6a]
jmp 0x10183bec
mov al, byte [eax + 0x278]
mov ecx, ebx
mov byte [ebp - 0x69], al
xor eax, eax
cmp byte [ebp - 0x69], al
setne al
mov dword [ebx + 0x38], eax
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebp - 0x6a]
jmp 0x10183bec
mov ecx, dword [ebx + 0x140]
test ecx, ecx
je 0x10183bdb
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx + 0x140], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebp - 0x6a]
jmp 0x10183bec
xor bl, bl
mov byte [ebp - 4], 4
test edi, edi
je 0x10183c08
mov eax, dword [edi]
test eax, eax
je 0x10183c01
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.10004cc0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
call fcn.10004cc0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x4c]
cmp edx, 0x10
jb 0x10183c5a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10183c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10183c50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1025b427
add esp, 8
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x50]
call fcn.10004cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x68]
call fcn.10004cc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret 0x84