Function at 0x10001c50
Capabilities:
Check for time delay via queryperformancecounter
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffe0
sub esp, 0xbe0
call 0x10001c64
pop edi
lea eax, [esp + 0x480]
mov dword [esp + 0x484], 0
mov dword [esp + 0x480], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100030f2
mov ebx, dword [esp + 0x480]
mov ecx, dword [esp + 0x484]
movq xmm0, qword [0x1008c7e8]
movd esi, xmm0
pshufd xmm0, xmm0, 0x55
mov dword [esp + 0xc], ecx
movd edx, xmm0
mov eax, esi
or eax, edx
jne 0x10001d17
lea eax, [esp + 0x480]
mov dword [esp + 0x484], 0
mov dword [esp + 0x480], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100030f2
movq xmm0, qword [esp + 0x480]
mov esi, dword [esp + 0x480]
mov edx, dword [esp + 0x484]
movq qword [0x1008c7e8], xmm0
mov eax, esi
mov ecx, dword [esp + 0xc]
or eax, edx
je 0x100066bf
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 8], edx
mov dword [esp + 0x90], edi
push edx
push esi
push ecx
push ebx
call fcn.10016140
mov edi, edx
mov ecx, eax
mul esi
imul ebx, edi, 0x3b9aca00
imul edi, esi
mov esi, dword [esp + 0xb4]
add edi, edx
mov edx, ecx
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0xc]
imul edx, dword [esp + 8]
add edi, edx
sub esi, eax
mov edx, 0x3b9aca00
mov eax, ecx
sbb ebx, edi
mul edx
mov edi, edx
mov dword [esp + 0xc], eax
mov eax, esi
mov edx, 0x3b9aca00
imul ecx, ebx, 0x3b9aca00
add edi, dword [esp + 0xa0]
mul edx
add edx, ecx
push dword [esp + 8]
push dword [esp + 0x14]
push edx
push eax
call fcn.10016140
add eax, dword [esp + 0xc]
adc edx, edi
push 0
push 0x3b9aca00
push edx
mov dword [esp + 0x18], eax
push eax
call fcn.10016140
mov ebx, eax
mov dword [esp + 0xb4], edx
push 0x1f0003
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerExW]
test eax, eax
je 0x10001e23
mov esi, eax
mov dword [esp + 0x484], 0xffffffff
mov dword [esp + 0x480], 0xeb236c80
push 0
push 0
push 0
push 0
lea eax, [esp + 0x490]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x10001e1d
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push esi
call sub.KERNEL32.dll_CloseHandle
cmp edi, 0xffffffff
jne 0x10001e2e
jmp 0x10001e23
push esi
call sub.KERNEL32.dll_CloseHandle
push 0x88b8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x480]
mov dword [esp + 8], ebx
mov dword [esp + 0x484], 0
mov dword [esp + 0x480], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100030f2
mov esi, dword [esp + 0x480]
mov edi, dword [esp + 0x484]
movq xmm0, qword [0x1008c7e8]
movd edx, xmm0
pshufd xmm0, xmm0, 0x55
movd ecx, xmm0
mov eax, edx
or eax, ecx
jne 0x10001edc
lea eax, [esp + 0x480]
mov dword [esp + 0x484], 0
mov dword [esp + 0x480], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100030f2
mov edx, dword [esp + 0x480]
mov ecx, dword [esp + 0x484]
movq xmm0, qword [esp + 0x480]
mov eax, edx
movq qword [0x1008c7e8], xmm0
or eax, ecx
je 0x100066bf
mov dword [esp + 0x10], ecx
push ecx
push edx
push edi
push esi
mov ebx, edx
mov dword [esp + 0xb0], edx
call fcn.10016140
mov dword [esp + 0x60], edi
mov edi, edx
mov ecx, eax
mov dword [esp + 0x70], esi
mul ebx
imul esi, edi, 0x3b9aca00
imul edi, ebx
mov ebx, dword [esp + 0x70]
add edi, edx
mov edx, ecx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x60]
imul edx, dword [esp + 0x10]
add edi, edx
sub ebx, eax
mov edx, 0x3b9aca00
mov eax, ecx
sbb esi, edi
mul edx
mov edi, edx
mov dword [esp + 0x60], eax
mov eax, ebx
mov edx, 0x3b9aca00
imul ecx, esi, 0x3b9aca00
add edi, dword [esp + 0x2c]
mul edx
add edx, ecx
push dword [esp + 0x10]
push dword [esp + 0xa4]
push edx
push eax
call fcn.10016140
mov ebx, eax
add ebx, dword [esp + 0x60]
adc edx, edi
push 0
push 0x3b9aca00
push edx
push ebx
call fcn.10016140
mov dword [esp + 0x10], edx
mov esi, eax
movq xmm0, qword [0x1008c7e8]
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
mov eax, ecx
or eax, edx
mov eax, dword [esp + 8]
jne 0x10001fee
lea eax, [esp + 0x480]
mov dword [esp + 0x484], 0
mov dword [esp + 0x480], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100030f2
mov ecx, dword [esp + 0x480]
movq xmm0, qword [esp + 0x480]
mov edx, dword [esp + 0x484]
mov eax, ecx
movq qword [0x1008c7e8], xmm0
or eax, edx
mov eax, dword [esp + 8]
je 0x100066bf
imul eax, eax, 0x3b9aca00
mov dword [esp + 0xa0], edx
sub dword [esp + 0xc], eax
imul eax, esi, 0x3b9aca00
sub ebx, eax
mov dword [esp + 0x60], ebx
push edx
push ecx
push 0
push 0x3b9aca00
mov ebx, ecx
call fcn.10016140
mov edx, 1
xor ecx, ecx
lea edi, [eax - 0x3b9aca00]
mov dword [esp + 0x2c], ebx
cmp edx, ebx
mov ebx, dword [esp + 0xb4]
sbb ecx, dword [esp + 0xa0]
cmovb edi, eax
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x10]
xor eax, dword [esp + 8]
mov edx, edi
xor edx, ebx
or edx, eax
mov edx, ebx
mov ebx, esi
setne cl
cmp dword [esp + 8], esi
mov eax, edx
sbb eax, edi
mov eax, 0xff
cmovae eax, ecx
mov ecx, dword [esp + 0xc]
test al, al
jne 0x1000207d
cmp dword [esp + 0x60], ecx
setne al
ja 0x100020fb
cmp al, 1
jne 0x100020fb
cmp dword [esp + 8], ebx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x60]
mov eax, edx
sbb eax, esi
jb 0x100066bf
mov eax, dword [esp + 8]
mov edi, edx
sub eax, dword [esp + 0x80]
sbb edi, esi
cmp ebx, ecx
jbe 0x100020c9
mov edx, eax
or eax, edi
je 0x100066bf
add edx, 0xffffffff
lea ecx, [ecx + 0x3b9aca00]
adc edi, 0xffffffff
mov eax, edx
mov edx, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x28], edi
sub edx, ebx
cmp edx, 0x3b9aca00
mov dword [esp + 0xc0], edx
jae 0x1000211a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0xb0]
jmp 0x10002160
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov ecx, ebx
cmp ebx, edi
mov ebx, dword [esp + 0x60]
mov eax, esi
sbb eax, edx
jae 0x100021d3
jmp 0x100030f9
mov ecx, dword [esp + 0xb0]
mov eax, edx
mov edx, 0x44b83
shr eax, 9
mul edx
shr edx, 7
mov eax, ecx
add eax, edx
mov eax, edi
adc eax, 0
jb 0x100066bf
imul eax, edx, 0x3b9aca00
sub dword [esp + 0xc0], eax
add ecx, edx
mov eax, dword [esp + 0x2c]
mov edi, ecx
mov ecx, dword [esp + 0xa0]
adc dword [esp + 0x28], 0
cmp eax, 2
mov edx, dword [esp + 0x28]
sbb ecx, 0
mov ecx, edi
setb al
movzx eax, al
xor ecx, eax
mov dword [esp + 0xa0], eax
xor eax, eax
or ecx, edx
setne al
cmp edi, dword [esp + 0xa0]
mov edi, dword [esp + 0xc0]
sbb edx, 0
mov edx, 0xff
cmovb eax, edx
xor ecx, ecx
cmp edi, dword [esp + 0x70]
mov edi, dword [esp + 8]
setne cl
cmovb ecx, edx
test al, al
mov edx, dword [esp + 0xb4]
cmovne ecx, eax
cmp cl, 1
mov ecx, dword [esp + 0x80]
jne 0x100030f9
cmp ecx, edi
mov eax, esi
sbb eax, edx
jb 0x100030f9
mov eax, dword [esp + 0xc]
sub ecx, edi
sbb esi, edx
cmp ebx, eax
jae 0x100021f9
mov eax, ecx
or eax, esi
je 0x100030f9
mov eax, dword [esp + 0xc]
add ecx, 0xffffffff
adc esi, 0xffffffff
add ebx, 0x3b9aca00
sub ebx, eax
cmp ebx, 0x3b9aca00
jb 0x1000222a
shr ebx, 9
mov edi, ecx
mov ecx, 0x44b83
mov eax, ebx
mul ecx
mov eax, edi
shr edx, 7
add eax, edx
mov eax, esi
adc eax, 0
jb 0x100066bf
mov ecx, edi
add ecx, edx
adc esi, 0
cmp ecx, 0x19
sbb esi, 0
jb 0x100030f9
lea eax, [0x10080f45]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xab3dc60b
mov edx, dword [esp + 0x480]
call fcn.10001b10
mov ecx, 0xecffef87
mov edx, 0x30efe700
mov esi, 0x4dffa1e7
mov edi, 0x81a0bdc6
lea ebx, [esp + 0x490]
xor ecx, dword [eax]
xor edx, dword [eax + 4]
xor esi, dword [eax + 8]
xor edi, dword [eax + 0xc]
test cl, cl
mov dword [esp + 0x480], ecx
mov dword [esp + 0x484], edx
mov dword [esp + 0x488], esi
mov dword [esp + 0x48c], edi
js 0x100022c9
and ecx, 0x7f
mov dword [esp + 0x10], 1
xor edi, edi
mov esi, ecx
jmp 0x10002358
mov edx, ecx
mov esi, ecx
shr edx, 8
and esi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x10002314
mov eax, ecx
shl edx, 6
shr eax, 0x10
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x10002325
shr ecx, 0x18
and esi, 7
shl eax, 6
mov dword [esp + 0x10], 4
and ecx, 0x3f
shl esi, 0x12
or ecx, eax
or esi, ecx
cmp esi, 0xffff
ja 0x1000233a
xor edi, edi
jmp 0x10002358
shl esi, 6
mov dword [esp + 0x10], 2
xor edi, edi
or esi, edx
jmp 0x10002358
shl esi, 0xc
mov dword [esp + 0x10], 3
or esi, eax
cmp esi, 0xffff
jbe 0x10002310
lea eax, [esi + 0xff0000]
and esi, 0x3ff
shr eax, 0xa
or esi, 0xdc00
or eax, 0xd800
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, 0xaaaaaaab
lea ecx, [esp + eax + 0x480]
mov eax, ebx
mov ebx, 4
or eax, 2
mov dword [esp + 0xa0], eax
sub eax, ecx
mul edx
shr edx, 1
cmp di, 1
sbb edx, 0xffffffff
lea eax, [edx + 1]
cmp edx, 3
cmovae ebx, eax
cmp ebx, 0x40000000
jae 0x100066bf
movzx eax, byte [0x1008c7f8]
lea edx, [ebx + ebx]
xor ecx, ecx
call fcn.10016120
test eax, eax
je 0x100066bf
mov ecx, 2
mov edx, 2
mov word [eax], si
mov dword [esp + 0x880], ebx
mov dword [esp + 0x884], eax
mov dword [esp + 0x888], 1
jmp 0x100023f1
mov word [eax + edx], di
mov dword [esp + 0x888], ecx
add edx, 2
inc ecx
mov edi, esi
lea ebx, [ecx - 1]
test di, di
jne 0x100024a3
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
cmp edx, 0x10
je 0x10002561
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + edx + 0x480]
test cl, cl
js 0x10002427
inc edx
mov edi, ecx
mov dword [esp + 0x10], edx
jmp 0x1000249b
movzx esi, byte [esp + edx + 0x481]
mov edi, ecx
and edi, 0x1f
and esi, 0x3f
cmp cl, 0xdf
jbe 0x1000248f
mov dword [esp + 0xb4], ebx
movzx ebx, byte [esp + edx + 0x482]
shl esi, 6
and ebx, 0x3f
or ebx, esi
cmp cl, 0xf0
jb 0x10002509
movzx ecx, byte [esp + edx + 0x483]
and edi, 7
shl ebx, 6
add edx, 4
shl edi, 0x12
and ecx, 0x3f
or ecx, ebx
or edi, ecx
mov ebx, dword [esp + 0xb4]
cmp edi, 0xffff
mov dword [esp + 0x10], edx
jbe 0x1000249b
jmp 0x10002528
shl edi, 6
add edx, 2
mov dword [esp + 0x10], edx
or edi, esi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
xor esi, esi
cmp ebx, dword [esp + 0x880]
jne 0x100023e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
lea ecx, [esp + eax + 0x480]
mov eax, dword [esp + 0xa0]
sub eax, ecx
mov ecx, 0xaaaaaaab
mul ecx
lea ecx, [esp + 0x880]
mov eax, edx
mov edx, ebx
shr eax, 1
cmp si, 1
sbb eax, 0
add eax, 2
push eax
call fcn.10020580
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x884]
jmp 0x100023e0
shl edi, 0xc
add edx, 3
or edi, ebx
mov ebx, dword [esp + 0xb4]
cmp edi, 0xffff
mov dword [esp + 0x10], edx
jbe 0x1000249b
lea ecx, [edi + 0xff0000]
and edi, 0x3ff
mov edx, dword [esp + 8]
shr ecx, 0xa
or edi, 0xdc00
or ecx, 0xd800
mov esi, edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
cmp ebx, dword [esp + 0x880]
jne 0x100023e0
jmp 0x100024b2
mov edi, dword [esp + 0x880]
mov esi, dword [esp + 0x884]
mov edx, dword [esp + 8]
test ebx, ebx
je 0x10002603
xor eax, eax
nop dword [eax]
cmp word [esi + eax*2], 0
je 0x10002631
inc eax
add edx, 0xfffffffe
jne 0x10002580
mov dword [esp + 0x880], edi
mov dword [esp + 0x884], esi
mov dword [esp + 0x888], ebx
cmp word [esi + ebx*2 - 2], 0
je 0x100025d8
cmp ebx, edi
jne 0x100025d0
mov edi, ecx
lea ecx, [esp + 0x880]
call fcn.10012a30
mov ecx, edi
mov edi, dword [esp + 0x880]
mov esi, dword [esp + 0x884]
mov word [esi + ecx*2 - 2], 0
inc ebx
cmp edi, ebx
jbe 0x10002690
test ebx, ebx
jne 0x1000266f
push esi
push 0
push dword [0x1008c7f0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 2
xor ebx, ebx
jmp 0x10002690
test edi, edi
mov dword [esp + 0x880], edi
mov dword [esp + 0x884], esi
mov dword [esp + 0x888], 0
je 0x10002646
mov ebx, 1
cmp edi, 1
mov word [esi], 0
ja 0x1000266f
jmp 0x10002690
mov eax, edi
neg eax
jno 0x1000263b
xor ebx, ebx
jmp 0x10002695
mov ecx, edi
mov eax, esi
mov edi, ebx
jmp 0x100026f5
lea ecx, [esp + 0x880]
call fcn.10012a30
mov edi, dword [esp + 0x880]
mov esi, dword [esp + 0x884]
mov ebx, 1
cmp edi, 1
mov word [esi], 0
jbe 0x10002690
add ebx, ebx
push ebx
push esi
push 0
push dword [0x1008c7f0]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x100066bf
mov esi, eax
mov ebx, 1
test ebx, ebx
sete bl
push esi
push 0
push 0
call sub.KERNEL32.dll_CreateMutexW
mov edi, eax
call sub.KERNEL32.dll_GetLastError
mov ecx, 0x80000000
test edi, edi
je 0x100026d1
cmp edi, 6
je 0x100026d1
mov ecx, 0x80000001
cmp eax, 0xb7
jne 0x10002ee7
push edi
call sub.KERNEL32.dll_CloseHandle
mov ecx, 0x80000001
xor eax, eax
test bl, bl
mov word [esi], 0
jne 0x100026f5
push esi
push 0
push dword [0x1008c7f0]
mov esi, edi
mov edi, ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
mov eax, ebx
mov edi, esi
cmp ecx, 0x80000001
jne 0x100066bf
test al, 1
mov dword [esp + 0xb4], edi
je 0x100030fe
lea eax, [0x100853d3]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0x509f1998
mov edx, dword [esp + 0x480]
call fcn.10001c10
mov ecx, 0x478d5cfe
mov edx, 0x6e4fb417
xor ecx, dword [eax]
xor edx, dword [eax + 4]
movzx ebx, byte [eax + 0xa]
movzx eax, word [eax + 8]
mov dword [esp + 0x480], 0x10022554
mov dword [esp + 0x484], 2
mov dword [esp + 0x490], 0
mov dword [esp + 0x880], ecx
lea ecx, [esp + 0x880]
xor al, 0x51
mov dword [esp + 0x884], edx
xor ah, 0x16
lea edx, [esp + 0x1e0]
xor bl, 0x6e
mov byte [esp + 0x888], al
mov dword [esp + 0x1e0], ecx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x889], ah
mov dword [esp + 0xf8], edx
mov byte [esp + 0x88a], bl
mov dword [esp + 0x1e4], 0xb
mov dword [esp + 0xfc], 0x10001000
mov dword [esp + 0x488], ecx
lea ecx, [esp + 0x480]
mov dword [esp + 0x48c], 1
call fcn.10015cf0
mov edi, 0x200
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 2
mov dword [esp + 0x1e8], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 2
cmp edi, 0x201
jb 0x1000285e
jmp 0x10002880
jbe 0x10002919
cmp edi, 0x201
jae 0x10002880
mov dword [esp + 0xc], 0x200
lea esi, [esp + 0x480]
mov ebx, edi
jmp 0x1000289b
mov ebx, dword [esp + 8]
sub edi, ebx
jne 0x100028ec
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
test eax, eax
jne 0x100028c0
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x10002a0a
cmp edi, ebx
jne 0x10002850
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x100066bf
lea edi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x10002880
jmp 0x1000285e
lea ecx, [esp + 0x1e0]
mov edx, ebx
push 2
push 2
push edi
call fcn.10020950
add esp, 0xc
mov eax, dword [esp + 0x1e4]
mov ebx, dword [esp + 0x1e0]
mov dword [esp + 0x10], eax
jmp 0x10002888
cmp edi, dword [esp + 0xc]
ja 0x100066bf
lea ecx, [esp + 0x880]
mov edx, esi
push edi
call fcn.10013e40
add esp, 4
cmp dword [esp + 0x1e0], 0
je 0x10002954
push dword [esp + 0x1e4]
push 0
push dword [0x1008c7f0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [0x10084ab4]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xd3df5f7
mov edx, dword [esp + 0x480]
call fcn.10001ba0
mov ecx, dword [eax]
mov ecx, dword [eax + 4]
movzx eax, byte [eax + 8]
mov ecx, dword [esp + 0x880]
mov dword [esp + 0x2fc], ecx
neg ecx
jo 0x100066bf
mov ebx, dword [esp + 0x884]
mov esi, dword [esp + 0x888]
lea ecx, [esp + 0x480]
mov edx, ebx
push esi
call fcn.10014070
add esp, 4
movzx edi, byte [esp + 0x480]
mov eax, dword [esp + 0x488]
mov edx, dword [esp + 0x490]
mov dword [esp + 0x2c], ebx
mov ecx, dword [edi*4 + 0x1000688c]
mov dword [esp + 8], eax
mov eax, 6
mov edi, esi
add ecx, dword [esp + 0x90]
jmp ecx
call sub.KERNEL32.dll_GetLastError
mov byte [esp + 0x884], 0
mov dword [esp + 0x888], eax
mov dword [esp + 0x880], 0x80000000
cmp dword [esp + 0x1e0], 0
jne 0x1000293f
jmp 0x10002954
mov eax, 1
test bl, bl
mov word [esi], 0
je 0x100026da
jmp 0x100026f5
call sub.KERNEL32.dll_GetLastError
ud2
call fcn.100160c0
lea eax, [0x1007abab]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xcae6946f
mov edx, dword [esp + 0x480]
call fcn.10001b30
mov ecx, 0xff9d5ae4
lea edx, [esp + 0x880]
xor ecx, dword [eax]
movzx eax, word [eax + 4]
mov dword [esp + 0x480], 0x10022554
mov dword [esp + 0x484], 2
mov dword [esp + 0x490], 0
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x1e4], 0x10001000
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0xf8]
xor al, 4
xor ah, 0xe0
mov byte [esp + 0xfc], al
mov dword [esp + 0x880], ecx
lea ecx, [esp + 0x1e0]
mov byte [esp + 0xfd], ah
mov dword [esp + 0x884], 6
mov dword [esp + 0x488], ecx
lea ecx, [esp + 0x480]
mov dword [esp + 0x48c], 1
call fcn.10015cf0
call fcn.100160c0
mov eax, 2
jmp 0x10003200
add eax, dword [esp + 0xc]
cmp ebx, eax
jbe 0x1000323d
lea ecx, [esp + 0x480]
lea edx, [esp + 0x880]
call fcn.100148d0
cmp byte [esp + 0x484], 0xa
jne 0x1000323d
sub ebx, dword [esp + 0x480]
jb 0x100066bf
mov dword [esp + 0x884], ebx
xor eax, eax
jmp edi
mov dword [esp + 0x60], esi
lea eax, [0x1007a25a]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xca127ec4
mov edx, dword [esp + 0x480]
call fcn.10001bc0
mov ecx, dword [eax]
mov ecx, dword [eax + 4]
movzx eax, byte [eax + 8]
mov esi, dword [esp + 0x60]
test esi, esi
je 0x100066bf
lea eax, [0x10082506]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xd578f517
mov edx, dword [esp + 0x480]
call fcn.10001b70
mov ecx, 0x4d9781a2
mov edx, 0x9d07113
xor ecx, dword [eax]
xor edx, dword [eax + 4]
movzx eax, word [eax + 8]
xor al, 0xaa
xor ah, 0x4f
test ebx, ebx
mov dword [esp + 0x360], ecx
mov dword [esp + 0x364], edx
mov byte [esp + 0x368], al
mov byte [esp + 0x369], ah
js 0x100066bf
je 0x100033c0
movzx eax, byte [0x1008c7f8]
xor ecx, ecx
mov edx, ebx
call fcn.10016120
test eax, eax
je 0x100066bf
push ebx
push esi
push eax
mov edi, eax
call fcn.100180b0
add esp, 0xc
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x18c], 0
mov edx, edi
movzx eax, byte [ebx + edi - 1]
cmp al, 0x2f
setne cl
cmp al, 0x5c
setne al
and al, cl
lea ecx, [esp + 0x480]
mov dword [esp + 0xa0], eax
push ebx
call fcn.10014070
add esp, 4
movzx eax, byte [esp + 0x480]
mov ecx, dword [esp + 0x488]
mov dword [esp + 0x60], edi
mov byte [esp + 8], al
movzx eax, al
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x490]
mov esi, dword [eax*4 + 0x10006934]
mov dword [esp + 0x10], ecx
mov ecx, 6
add esi, dword [esp + 0x90]
jmp esi
push ebx
push esi
push 1
call fcn.100180b0
add esp, 0xc
mov eax, dword [esp + 0x488]
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], 1
mov dword [esp + 0x188], ebx
mov byte [esp + 0x18c], 0
mov byte [esp + 8], 6
mov dword [esp + 0x60], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x490]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x70], eax
jmp 0x100035fa
lea esi, [esp + 0x360]
lea ecx, [esp + 0x480]
mov edx, esi
push 0xa
call fcn.10014070
add esp, 4
movzx eax, byte [esp + 0x480]
mov ecx, dword [esp + 0x488]
mov edx, dword [esp + 0x490]
movzx edi, al
mov edi, dword [edi*4 + 0x1000697c]
add edi, dword [esp + 0x90]
jmp edi
ud2