Function at 0x10001c30
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 0x10001c44
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 0x100030d2
mov ebx, dword [esp + 0x480]
mov ecx, dword [esp + 0x484]
movq xmm0, qword [0x100897f0]
movd esi, xmm0
pshufd xmm0, xmm0, 0x55
mov dword [esp + 0xc], ecx
movd edx, xmm0
mov eax, esi
or eax, edx
jne 0x10001cf7
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 0x100030d2
movq xmm0, qword [esp + 0x480]
mov esi, dword [esp + 0x480]
mov edx, dword [esp + 0x484]
movq qword [0x100897f0], xmm0
mov eax, esi
mov ecx, dword [esp + 0xc]
or eax, edx
je 0x1000668f
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.10016090
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.10016090
add eax, dword [esp + 0xc]
adc edx, edi
push 0
push 0x3b9aca00
push edx
mov dword [esp + 0x18], eax
push eax
call fcn.10016090
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 0x10001e03
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 0x10001dfd
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 0x10001e0e
jmp 0x10001e03
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 0x100030d2
mov esi, dword [esp + 0x480]
mov edi, dword [esp + 0x484]
movq xmm0, qword [0x100897f0]
movd edx, xmm0
pshufd xmm0, xmm0, 0x55
movd ecx, xmm0
mov eax, edx
or eax, ecx
jne 0x10001ebc
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 0x100030d2
mov edx, dword [esp + 0x480]
mov ecx, dword [esp + 0x484]
movq xmm0, qword [esp + 0x480]
mov eax, edx
movq qword [0x100897f0], xmm0
or eax, ecx
je 0x1000668f
mov dword [esp + 0x10], ecx
push ecx
push edx
push edi
push esi
mov ebx, edx
mov dword [esp + 0xb0], edx
call fcn.10016090
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.10016090
mov ebx, eax
add ebx, dword [esp + 0x60]
adc edx, edi
push 0
push 0x3b9aca00
push edx
push ebx
call fcn.10016090
mov dword [esp + 0x10], edx
mov esi, eax
movq xmm0, qword [0x100897f0]
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
mov eax, ecx
or eax, edx
mov eax, dword [esp + 8]
jne 0x10001fce
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 0x100030d2
mov ecx, dword [esp + 0x480]
movq xmm0, qword [esp + 0x480]
mov edx, dword [esp + 0x484]
mov eax, ecx
movq qword [0x100897f0], xmm0
or eax, edx
mov eax, dword [esp + 8]
je 0x1000668f
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.10016090
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 0x1000205d
cmp dword [esp + 0x60], ecx
setne al
ja 0x100020db
cmp al, 1
jne 0x100020db
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 0x1000668f
mov eax, dword [esp + 8]
mov edi, edx
sub eax, dword [esp + 0x80]
sbb edi, esi
cmp ebx, ecx
jbe 0x100020a9
mov edx, eax
or eax, edi
je 0x1000668f
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 0x100020fa
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0xb0]
jmp 0x10002140
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 0x100021b3
jmp 0x100030d9
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 0x1000668f
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 0x100030d9
cmp ecx, edi
mov eax, esi
sbb eax, edx
jb 0x100030d9
mov eax, dword [esp + 0xc]
sub ecx, edi
sbb esi, edx
cmp ebx, eax
jae 0x100021d9
mov eax, ecx
or eax, esi
je 0x100030d9
mov eax, dword [esp + 0xc]
add ecx, 0xffffffff
adc esi, 0xffffffff
add ebx, 0x3b9aca00
sub ebx, eax
cmp ebx, 0x3b9aca00
jb 0x1000220a
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 0x1000668f
mov ecx, edi
add ecx, edx
adc esi, 0
cmp ecx, 0x19
sbb esi, 0
jb 0x100030d9
lea eax, [0x10078e8e]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xa63c173d
mov edx, dword [esp + 0x480]
call fcn.10001b70
mov ecx, 0x4b0dbaf0
mov edx, 0x762b5ff9
mov esi, 0xa75a5373
mov edi, 0x4bbcf8c9
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 0x100022a9
and ecx, 0x7f
mov dword [esp + 0x10], 1
xor edi, edi
mov esi, ecx
jmp 0x10002338
mov edx, ecx
mov esi, ecx
shr edx, 8
and esi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x10002310
mov eax, ecx
shl edx, 6
shr eax, 0x10
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x10002321
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
jbe 0x10002336
lea eax, [esi + 0xff0000]
and esi, 0x3ff
shr eax, 0xa
or esi, 0xdc00
or eax, 0xd800
mov edi, esi
mov esi, eax
jmp 0x10002338
shl esi, 6
mov dword [esp + 0x10], 2
xor edi, edi
or esi, edx
jmp 0x10002338
shl esi, 0xc
mov dword [esp + 0x10], 3
or esi, eax
cmp esi, 0xffff
ja 0x100022f0
xor edi, edi
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 0x1000668f
movzx eax, byte [0x10089800]
lea edx, [ebx + ebx]
xor ecx, ecx
call fcn.10016070
test eax, eax
je 0x1000668f
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 0x100023d1
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 0x10002483
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
cmp edx, 0x10
je 0x10002541
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + edx + 0x480]
test cl, cl
js 0x10002407
inc edx
mov edi, ecx
mov dword [esp + 0x10], edx
jmp 0x1000247b
movzx esi, byte [esp + edx + 0x481]
mov edi, ecx
and edi, 0x1f
and esi, 0x3f
cmp cl, 0xdf
jbe 0x1000246f
mov dword [esp + 0xb4], ebx
movzx ebx, byte [esp + edx + 0x482]
shl esi, 6
and ebx, 0x3f
or ebx, esi
cmp cl, 0xf0
jb 0x100024e9
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 0x1000247b
jmp 0x10002508
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 0x100023c0
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.100204d0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x884]
jmp 0x100023c0
shl edi, 0xc
add edx, 3
or edi, ebx
mov ebx, dword [esp + 0xb4]
cmp edi, 0xffff
mov dword [esp + 0x10], edx
jbe 0x1000247b
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 0x100023c0
jmp 0x10002492
mov edi, dword [esp + 0x880]
mov esi, dword [esp + 0x884]
mov edx, dword [esp + 8]
test ebx, ebx
je 0x100025e3
xor eax, eax
nop dword [eax]
cmp word [esi + eax*2], 0
je 0x10002611
inc eax
add edx, 0xfffffffe
jne 0x10002560
mov dword [esp + 0x880], edi
mov dword [esp + 0x884], esi
mov dword [esp + 0x888], ebx
cmp word [esi + ebx*2 - 2], 0
je 0x100025b8
cmp ebx, edi
jne 0x100025b0
mov edi, ecx
lea ecx, [esp + 0x880]
call fcn.10012a00
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 0x10002670
test ebx, ebx
jne 0x1000264f
push esi
push 0
push dword [0x100897f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 2
xor ebx, ebx
jmp 0x10002670
test edi, edi
mov dword [esp + 0x880], edi
mov dword [esp + 0x884], esi
mov dword [esp + 0x888], 0
je 0x10002626
mov ebx, 1
cmp edi, 1
mov word [esi], 0
ja 0x1000264f
jmp 0x10002670
mov eax, edi
neg eax
jno 0x1000261b
xor ebx, ebx
jmp 0x10002675
mov ecx, edi
mov eax, esi
mov edi, ebx
jmp 0x100026d5
lea ecx, [esp + 0x880]
call fcn.10012a00
mov edi, dword [esp + 0x880]
mov esi, dword [esp + 0x884]
mov ebx, 1
cmp edi, 1
mov word [esi], 0
jbe 0x10002670
add ebx, ebx
push ebx
push esi
push 0
push dword [0x100897f8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1000668f
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 0x100026b1
cmp edi, 6
je 0x100026b1
mov ecx, 0x80000001
cmp eax, 0xb7
jne 0x10002ec7
push edi
call sub.KERNEL32.dll_CloseHandle
mov ecx, 0x80000001
xor eax, eax
test bl, bl
mov word [esi], 0
jne 0x100026d5
push esi
push 0
push dword [0x100897f8]
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 0x1000668f
test al, 1
mov dword [esp + 0xb4], edi
je 0x100030de
lea eax, [0x100770d1]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0x43ba688b
mov edx, dword [esp + 0x480]
call fcn.10001b90
mov ecx, 0xd649f750
mov edx, 0xfcd3e321
xor ecx, dword [eax]
xor edx, dword [eax + 4]
movzx ebx, byte [eax + 0xa]
movzx eax, word [eax + 8]
mov dword [esp + 0x480], 0x10021554
mov dword [esp + 0x484], 2
mov dword [esp + 0x490], 0
mov dword [esp + 0x880], ecx
lea ecx, [esp + 0x880]
xor al, 0x3a
mov dword [esp + 0x884], edx
xor ah, 0xec
lea edx, [esp + 0x1e0]
xor bl, 0x47
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.10015c80
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 0x1000283e
jmp 0x10002860
jbe 0x100028f9
cmp edi, 0x201
jae 0x10002860
mov dword [esp + 0xc], 0x200
lea esi, [esp + 0x480]
mov ebx, edi
jmp 0x1000287b
mov ebx, dword [esp + 8]
sub edi, ebx
jne 0x100028cc
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 0x100028a0
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x100029ea
cmp edi, ebx
jne 0x10002830
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1000668f
lea edi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x10002860
jmp 0x1000283e
lea ecx, [esp + 0x1e0]
mov edx, ebx
push 2
push 2
push edi
call fcn.100206d0
add esp, 0xc
mov eax, dword [esp + 0x1e4]
mov ebx, dword [esp + 0x1e0]
mov dword [esp + 0x10], eax
jmp 0x10002868
cmp edi, dword [esp + 0xc]
ja 0x1000668f
lea ecx, [esp + 0x880]
mov edx, esi
push edi
call fcn.10013c60
add esp, 4
cmp dword [esp + 0x1e0], 0
je 0x10002934
push dword [esp + 0x1e4]
push 0
push dword [0x100897f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [0x1007cc95]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xe9255052
mov edx, dword [esp + 0x480]
call fcn.10001be0
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 0x1000668f
mov ebx, dword [esp + 0x884]
mov esi, dword [esp + 0x888]
lea ecx, [esp + 0x480]
mov edx, ebx
push esi
call fcn.10013e90
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 + 0x1000685c]
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 0x1000291f
jmp 0x10002934
mov eax, 1
test bl, bl
mov word [esi], 0
je 0x100026ba
jmp 0x100026d5
call sub.KERNEL32.dll_GetLastError
ud2
call fcn.10016010
lea eax, [0x1007edc2]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0xd24dca35
mov edx, dword [esp + 0x480]
call fcn.10001c10
mov ecx, 0xf0ffdc89
lea edx, [esp + 0x880]
xor ecx, dword [eax]
movzx eax, word [eax + 4]
mov dword [esp + 0x480], 0x10021554
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, 0xfe
xor ah, 0xde
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.10015c80
call fcn.10016010
mov eax, 2
jmp 0x100031e0
add eax, dword [esp + 0xc]
cmp ebx, eax
jbe 0x1000321d
lea ecx, [esp + 0x480]
lea edx, [esp + 0x880]
call fcn.100146f0
cmp byte [esp + 0x484], 0xa
jne 0x1000321d
sub ebx, dword [esp + 0x480]
jb 0x1000668f
mov dword [esp + 0x884], ebx
xor eax, eax
jmp edi
mov dword [esp + 0x60], esi
lea eax, [0x1007b670]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0x309af6b6
mov edx, dword [esp + 0x480]
call fcn.10001b00
mov ecx, dword [eax]
mov ecx, dword [eax + 4]
movzx eax, byte [eax + 8]
mov esi, dword [esp + 0x60]
test esi, esi
je 0x1000668f
lea eax, [0x10079cb6]
mov dword [esp + 0x480], eax
lea eax, [esp + 0x480]
lea eax, [esp + 0x480]
mov ecx, dword [esp + 0x480]
mov dword [esp + 0x480], 0x19611c48
mov edx, dword [esp + 0x480]
call fcn.10001c00
mov ecx, 0xe678cc7e
mov edx, 0x1190325
xor ecx, dword [eax]
xor edx, dword [eax + 4]
movzx eax, word [eax + 8]
xor al, 0xfb
xor ah, 0xc0
test ebx, ebx
mov dword [esp + 0x360], ecx
mov dword [esp + 0x364], edx
mov byte [esp + 0x368], al
mov byte [esp + 0x369], ah
js 0x1000668f
je 0x100033a0
movzx eax, byte [0x10089800]
xor ecx, ecx
mov edx, ebx
call fcn.10016070
test eax, eax
je 0x1000668f
push ebx
push esi
push eax
mov edi, eax
call fcn.10018000
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.10013e90
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 + 0x10006904]
mov dword [esp + 0x10], ecx
mov ecx, 6
add esi, dword [esp + 0x90]
jmp esi
push ebx
push esi
push 1
call fcn.10018000
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 0x100035da
lea esi, [esp + 0x360]
lea ecx, [esp + 0x480]
mov edx, esi
push 0xa
call fcn.10013e90
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 + 0x1000694c]
add edi, dword [esp + 0x90]
jmp edi
ud2