Function at 0x100e0a0
Capabilities:
Allocate thread local storage
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0xa
ja 0x100e12a
cmp dword [ebp - 0x2cc], 0xa
je 0x100fd84
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
sub dword [ebp - 0x2d0], 1
je 0x100e1d5
sub dword [ebp - 0x2d0], 3
je 0x100e80f
sub dword [ebp - 0x2d0], 2
je 0x100fa3d
sub dword [ebp - 0x2d0], 2
je 0x100e71a
sub dword [ebp - 0x2d0], 1
je 0x100e74b
jmp 0x10102e6
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d4], eax
sub dword [ebp - 0x2d4], 0xb
je 0x100e1d5
sub dword [ebp - 0x2d4], 1
je 0x101016a
sub dword [ebp - 0x2d4], 1
je 0x100e16b
sub dword [ebp - 0x2d4], 1
je 0x100e80f
jmp 0x10102e6
push dword [0x1071c50]
call dword [sym.imp.KERNEL32.dll_TlsFree]
or dword [0x1071c50], 0xffffffff
and dword [ebp - 0x10], 0
jmp 0x100e18b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x32
jae 0x100e1d0
push 2
pop ecx
mov eax, dword [ebp - 0x10]
lea edx, [eax*8 + 0x1071ac0]
xor eax, eax
inc eax
lock cmpxchg dword [edx], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x100e1ce
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*8 + 0x1071ac4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
and dword [eax*8 + 0x1071ac0], 0
push dword [ebp - 0x18]
call fcn.01010a99
jmp 0x100e184
jmp 0x10102fa
cmp dword [0x1071c50], 0xffffffff
jne 0x100e20b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x1071c50
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x100e204
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_TlsFree]
call fcn.01010a8d
jmp 0x100e1d5
cmp dword [ebp + 8], 0xb
jne 0x100e216
jmp 0x10102fa
call fcn.010108eb
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x78
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x40], 0
mov eax, dword [ebp - 0x1c]
and dword [eax], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 4
jbe 0x100e248
mov eax, dword [ebp - 0x1c]
mov dword [eax], 4
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jbe 0x100e25b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x44], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x44]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x3b], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x3a], 1
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jbe 0x100e37e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
jne 0x100e2c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x1010306
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
jne 0x100e2f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x1010306
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x100e322
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x1010306
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jne 0x100e350
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
jmp 0x1010306
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1c], 0
jne 0x100e37e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
jmp 0x1010306
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 7
and eax, 0xfffffff8
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [ecx + 0x50], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x54], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 3
and eax, 0xfffffffc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x48]
sub eax, dword [ecx + 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 3
and eax, 0xfffffffc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2c]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x1c]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x3c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x1c]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x30
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x1c]
mov ax, word [eax]
mov word [ecx + 0x34], ax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
inc eax
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov cx, word [ecx + 0x34]
mov word [eax + 0x36], cx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jbe 0x100e60b
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e4fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x100e517
jmp 0x100e573
cmp dword [ebp - 0x40], 0x102
jne 0x100e531
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
jmp 0x1010306
cmp dword [ebp - 0x40], 0x80
jne 0x100e54b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
jmp 0x1010306
cmp dword [ebp - 0x40], 0xffffffff
jne 0x100e562
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
jmp 0x1010306
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e594
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x100e5ad
jmp 0x100e609
cmp dword [ebp - 0x58], 0x102
jne 0x100e5c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
jmp 0x1010306
cmp dword [ebp - 0x58], 0x80
jne 0x100e5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
jmp 0x1010306
cmp dword [ebp - 0x58], 0xffffffff
jne 0x100e5f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
jmp 0x1010306
jmp 0x100e618
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push 0xe
call fcn.0100e0a0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x3b], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x3a], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x30]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
add eax, 3
and eax, 0xfffffffc
cmp dword [eax], 0xffffffff
jne 0x100e653
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x38], 0
jmp 0x100e6d0
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
call fcn.01010581
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x34]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x1c]
mov ax, word [eax]
mov word [ecx + 0x34], ax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
inc eax
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jbe 0x100e70d
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e702
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
jmp 0x1010306
lea eax, [0x100e74b]
mov dword [ebp - 0xc], eax
jmp 0x100e715
lea esp, [ebp + 0x14]
jmp 0x100e7c0
jmp 0x10102fa
call fcn.0101054f
mov dword [ebp - 0x70], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0
jbe 0x100e73e
lea eax, [0x100e753]
mov dword [ebp - 0xc], eax
jmp 0x100e746
lea esp, [ebp + 0x14]
jmp 0x100e7c7
jmp 0x10102fa
call fcn.0101054f
push eax
jmp 0x100e764
push 0xffffffffffffffff
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop eax
mov ecx, dword [eax + 0x28]
lea ebx, [0xb95e1d7]
sub esp, 0x1c
mov dword [esp], ebx
lea ebx, [esp + 0x18]
mov dword [ebx], ecx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x10], ecx
sub dword [esp], 0xa94fa28
mov dword [esp + 0xc], 4
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
jmp fcn.01010581
call fcn.0101054f
jmp 0x100e770
call fcn.0101054f
push eax
lea ecx, [0xd99df4d]
sub esp, 0x10
mov dword [esp], ecx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 4
sub dword [esp], 0xc98f744
je 0x100e802
add ecx, 4
add ecx, esi
sub ecx, dword [esp]
jmp fcn.0100e0a0
push esi
push edi
jmp fcn.01010581
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100e8a8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x100e83a
jmp 0x100e8a8
cmp dword [ebp - 0x7c], 0x102
jne 0x100e854
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
jmp 0x1010306
cmp dword [ebp - 0x7c], 0x80
jne 0x100e874
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
jmp 0x1010306
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x100e891
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax + 0x48]
sub eax, dword [ecx + 0x44]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x38]
test eax, eax
je 0x100e8f8
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100e8f1
mov eax, dword [ebp - 0x74]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e8f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
jmp 0x1010306
xor eax, eax
jmp 0x1010306
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x39]
test eax, eax
jne 0x100f397
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
call fcn.01010581
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x30
push eax
call fcn.01010581
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x94], eax
and dword [ebp - 0xa8], 0
and dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 1
and dword [ebp - 0x9c], 0
push 0
push 1
mov eax, dword [ebp - 0x74]
add eax, 0x50
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x36]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x30]
sub eax, ecx
push eax
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
push dword [eax + 0x5c]
mov eax, dword [ebp - 0x74]
mov ax, word [eax + 0x36]
push eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x30]
call fcn.0101038c
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
call fcn.01010581
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x50
push eax
call fcn.01010368
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x30
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebp - 0x74]
cmp dword [eax], 3
jbe 0x100ed7b
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100ea91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x100eab0
jmp 0x100eb2d
cmp dword [ebp - 0xb0], 0x102
jne 0x100ead3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
jmp 0x1010306
cmp dword [ebp - 0xb0], 0x80
jne 0x100eaf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
jmp 0x1010306
cmp dword [ebp - 0xb0], 0xffffffff
jne 0x100eb16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100eb54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x100eb73
jmp 0x100ebf0
cmp dword [ebp - 0xc8], 0x102
jne 0x100eb96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
jmp 0x1010306
cmp dword [ebp - 0xc8], 0x80
jne 0x100ebb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
jmp 0x1010306
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x100ebd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100ec17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100ec3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x100ec5d
jmp 0x100ecda
cmp dword [ebp - 0xe4], 0x102
jne 0x100ec80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
jmp 0x1010306
cmp dword [ebp - 0xe4], 0x80
jne 0x100eca3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
jmp 0x1010306
cmp dword [ebp - 0xe4], 0xffffffff
jne 0x100ecc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x100ecf9
jmp 0x100ed76
cmp dword [ebp - 0xf8], 0x102
jne 0x100ed1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
jmp 0x1010306
cmp dword [ebp - 0xf8], 0x80
jne 0x100ed3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
jmp 0x1010306
cmp dword [ebp - 0xf8], 0xffffffff
jne 0x100ed5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
jmp 0x1010306
jmp 0x100eff4
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100efe7
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100edae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100edd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
cmp dword [eax], 3
jae 0x100edea
push dword [ebp + 0x10]
push dword [ebp - 0x74]
push 0xe
call fcn.0100e0a0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x100ee09
jmp 0x100ee86
cmp dword [ebp - 0x114], 0x102
jne 0x100ee2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
jmp 0x1010306
cmp dword [ebp - 0x114], 0x80
jne 0x100ee4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
jmp 0x1010306
cmp dword [ebp - 0x114], 0xffffffff
jne 0x100ee6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x100eea5
jmp 0x100ef22
cmp dword [ebp - 0x128], 0x102
jne 0x100eec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
jmp 0x1010306
cmp dword [ebp - 0x128], 0x80
jne 0x100eeeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
jmp 0x1010306
cmp dword [ebp - 0x128], 0xffffffff
jne 0x100ef0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100ef49
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x100ef68
jmp 0x100efe5
cmp dword [ebp - 0x140], 0x102
jne 0x100ef8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
jmp 0x1010306
cmp dword [ebp - 0x140], 0x80
jne 0x100efae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
jmp 0x1010306
cmp dword [ebp - 0x140], 0xffffffff
jne 0x100efce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
jmp 0x1010306
jmp 0x100eff4
push dword [ebp + 0x10]
push dword [ebp - 0x74]
push 0xe
call fcn.0100e0a0
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x3b], 0
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x3a], 0
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0x30]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x38]
test eax, eax
jne 0x100f14b
push 0xff
push 1
call fcn.01010a48
mov dword [ebp - 4], eax
and dword [ebp - 0x154], 0
jmp 0x100f049
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x36]
cmp dword [ebp - 0x154], eax
jae 0x100f07d
mov eax, dword [ebp - 0x154]
add eax, 0x80
imul eax, dword [ebp - 0x154]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x94]
add ecx, dword [ebp - 0x154]
mov byte [ecx], al
jmp 0x100f03c
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov cx, word [ecx + 0x34]
mov word [eax + 0x36], cx
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
call fcn.01010581
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x34]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x74]
mov ax, word [eax]
mov word [ecx + 0x34], ax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
inc eax
inc eax
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f144
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f137
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
jmp 0x1010306
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100e815
xor eax, eax
jmp 0x1010306
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov cx, word [ecx + 0x34]
mov word [eax + 0x36], cx
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f390
mov eax, dword [ebp - 0x74]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f18c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
jmp 0x1010306
mov dword [ebp - 0x160], 1
jmp 0x100f1a5
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
dec eax
cmp dword [ebp - 0x160], eax
jae 0x100f27f
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f1de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x100f1fd
jmp 0x100f27a
cmp dword [ebp - 0x168], 0x102
jne 0x100f220
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
jmp 0x1010306
cmp dword [ebp - 0x168], 0x80
jne 0x100f243
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
jmp 0x1010306
cmp dword [ebp - 0x168], 0xffffffff
jne 0x100f263
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
jmp 0x1010306
jmp 0x100f198
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f2a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f2cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f2f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f31b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f342
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f369
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f390
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
jmp 0x1010306
xor eax, eax
jmp 0x1010306
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x3b]
test eax, eax
jne 0x100f9d2
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x3b], 1
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f47c
mov eax, dword [ebp - 0x74]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f3e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
jmp 0x1010306
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
jne 0x100f3ff
jmp 0x100f47c
cmp dword [ebp - 0x1dc], 0x102
jne 0x100f422
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
jmp 0x1010306
cmp dword [ebp - 0x1dc], 0x80
jne 0x100f445
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
jmp 0x1010306
cmp dword [ebp - 0x1dc], 0xffffffff
jne 0x100f465
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
jmp 0x1010306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
jmp 0x1010306
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x34]
mov ecx, 0x1fc4
sub ecx, eax
push ecx
push 0
call fcn.01010a48
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
add eax, 3
and eax, 0xfffffffc
cmp dword [eax], 0xffffffff
jne 0x100f4ee
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f4dc
mov eax, dword [ebp - 0x74]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f4dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
jmp 0x1010306
cmp dword [ebp + 8], 0xe
jne 0x100f4e9
xor eax, eax
jmp 0x1010306
jmp 0x100e815
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 8]
add eax, dword [ebp - 0x74]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x1a6]
movzx ecx, word [ebp - 0x1a8]
add eax, ecx
movzx ecx, word [ebp - 0x1ae]
add eax, ecx
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x1c]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x34]
mov ecx, 0x1fc4
sub ecx, eax
inc ecx
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x40]
xor eax, 0x1fc4
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
call fcn.01010581
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x40]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x3c
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x74]
mov ax, word [eax + 0x50]
mov word [ebp - 0x1a4], ax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x2c
push eax
call fcn.01010581
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
mov ax, word [eax]
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
inc eax
inc eax
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
movzx eax, word [ebp - 0x1b8]
movzx ecx, word [ebp - 0x1a4]
xor eax, ecx
mov word [ebp - 0x1b8], ax
movzx eax, word [ebp - 0x1b8]
cmp eax, 0xffff
je 0x100f718
movzx eax, word [ebp - 0x1b8]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x30]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x198]
sub eax, dword [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c0]
sub ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x74]
add ecx, dword [eax + 0x2c]
push ecx
call fcn.01010581
mov dword [ebp - 0x1f4], 4
mov ecx, dword [ebp - 0x1f4]
movzx esi, word [ebp - 0x1b8]
mov eax, dword [ebp - 0x74]
add esi, dword [eax + 0x2c]
mov edi, dword [ebp - 0x198]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x198]
add eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
mov ax, word [eax]
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x58]
inc eax
inc eax
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
movzx eax, word [ebp - 0x1b8]
movzx ecx, word [ebp - 0x1a4]
xor eax, ecx
mov word [ebp - 0x1b8], ax
jmp 0x100f632
mov eax, dword [ebp - 0x74]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x34]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0x30]
add ecx, eax
sub ecx, dword [ebp - 0x1c0]
push ecx
push dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c0]
sub ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x74]
add ecx, dword [eax + 0x2c]
push ecx
call fcn.01010581
and dword [ebp - 0x1d0], 0
and dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 1
and dword [ebp - 0x1c4], 0
push 0
push 0
mov eax, dword [ebp - 0x74]
add eax, 0x50
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
push dword [eax + 0x5c]
mov eax, dword [ebp - 0x74]
mov ax, word [eax + 0x34]
push eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x30]
call fcn.0101038c
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
lea ecx, [0x10f22774]
add ecx, dword [ebp - 0x1c8]
sub ecx, dword [ebp - 0x1d0]
sub ecx, 0xff12faa
jmp ecx
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x3a]
test eax, eax
jne 0x100fa20
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100fa20
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x3a], 1
mov eax, dword [ebp - 0x74]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100fa13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
jmp 0x1010306
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100e815
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x204], eax
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0101054f
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x208]
mov eax, dword [eax + 0x48]
sub eax, dword [ecx + 0x44]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x208]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x208]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x208]
add eax, 0x30
push eax
call fcn.01010581
mov eax, dword [ebp - 0x208]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x208]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x208]
add eax, 0x2c
push eax
call fcn.01010581
and dword [ebp - 0x220], 0
and dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 1
and dword [ebp - 0x214], 0
push 0
push 1
mov eax, dword [ebp - 0x208]
add eax, 0x50
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x208]
movzx eax, word [eax + 0x34]
mov ecx, dword [ebp - 0x208]
mov ecx, dword [ecx + 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 0x30]
sub eax, ecx
push eax
push dword [ebp - 0x20c]
mov eax, dword [ebp - 0x208]
push dword [eax + 0x5c]
mov eax, dword [ebp - 0x208]
mov ax, word [eax + 0x34]
push eax
mov eax, dword [ebp - 0x208]
push dword [eax + 0x30]
call fcn.0101038c
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
lea ecx, [0xff1ab91]
add ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x220]
sub ecx, 0xef0b040
jmp ecx
call fcn.0101054f
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x250]
mov eax, dword [eax + 0x48]
sub eax, dword [ecx + 0x44]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x250]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x250]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x250]
add eax, 0x30
push eax
call fcn.01010581
mov eax, dword [ebp - 0x250]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x250]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x250]
add eax, 0x2c
push eax
call fcn.01010581
and dword [ebp - 0x268], 0
and dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 1
and dword [ebp - 0x25c], 0
push 0
push 1
mov eax, dword [ebp - 0x250]
add eax, 0x50
push eax
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x250]
movzx eax, word [eax + 0x36]
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x30]
sub eax, ecx
push eax
push dword [ebp - 0x254]
mov eax, dword [ebp - 0x250]
push dword [eax + 0x5c]
mov eax, dword [ebp - 0x250]
mov ax, word [eax + 0x36]
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 0x30]
call fcn.0101038c
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], edx
lea ecx, [0xce65df2]
add ecx, dword [ebp - 0x260]
sub ecx, dword [ebp - 0x268]
sub ecx, 0xbe55f50
jmp ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [eax + 0x48]
sub eax, dword [ecx + 0x44]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x2a8]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x2a8]
add eax, 0x30
push eax
call fcn.01010581
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x2a8]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x2a8]
add eax, 0x2c
push eax
call fcn.01010581
and dword [ebp - 0x2c0], 0
and dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 1
and dword [ebp - 0x2b4], 0
push 1
push 0
mov eax, dword [ebp - 0x2a8]
add eax, 0x50
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 0x2a8]
movzx eax, word [eax + 0x36]
mov ecx, dword [ebp - 0x2a8]
mov ecx, dword [ecx + 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x2a8]
mov eax, dword [eax + 0x30]
sub eax, ecx
push eax
push dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x5c]
mov eax, dword [ebp - 0x2a8]
mov ax, word [eax + 0x36]
push eax
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x30]
call fcn.0101038c
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x2a8]
add eax, 0x30
push eax
mov eax, dword [ebp - 0x2a8]
add eax, 0x30
push eax
call fcn.0101078d
mov eax, dword [ebp - 0x2a8]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 4
mov eax, dword [ebp - 0x2a8]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x2a8]
add eax, 0x2c
push eax
call fcn.0101078d
lea ecx, [0xc04cc0e]
add ecx, dword [ebp - 0x2b8]
sub ecx, dword [ebp - 0x2c0]
sub ecx, 0xb03c944
jmp ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
jmp 0x1010306
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc