Function at 0x100e2fc
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 0x100e386
cmp dword [ebp - 0x2cc], 0xa
je 0x1010023
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
sub dword [ebp - 0x2d0], 1
je 0x100e431
sub dword [ebp - 0x2d0], 3
je 0x100ea8d
sub dword [ebp - 0x2d0], 2
je 0x100fcdc
sub dword [ebp - 0x2d0], 2
je 0x100e994
sub dword [ebp - 0x2d0], 1
je 0x100e9c9
jmp 0x1010585
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d4], eax
sub dword [ebp - 0x2d4], 0xb
je 0x100e431
sub dword [ebp - 0x2d4], 1
je 0x1010409
sub dword [ebp - 0x2d4], 1
je 0x100e3c7
sub dword [ebp - 0x2d4], 1
je 0x100ea8d
jmp 0x1010585
push dword [0x1072c98]
call dword [sym.imp.KERNEL32.dll_TlsFree]
or dword [0x1072c98], 0xffffffff
and dword [ebp - 0x10], 0
jmp 0x100e3e7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x32
jae 0x100e42c
push 2
pop ecx
mov eax, dword [ebp - 0x10]
lea edx, [eax*8 + 0x1072b08]
xor eax, eax
inc eax
lock cmpxchg dword [edx], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x100e42a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*8 + 0x1072b0c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
and dword [eax*8 + 0x1072b08], 0
push dword [ebp - 0x18]
call fcn.01010d56
jmp 0x100e3e0
jmp 0x1010599
cmp dword [0x1072c98], 0xffffffff
jne 0x100e467
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x1072c98
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x100e460
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_TlsFree]
call fcn.01010d4a
jmp 0x100e431
cmp dword [ebp + 8], 0xb
jne 0x100e472
jmp 0x1010599
call fcn.01010b8a
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 0x100e4a4
mov eax, dword [ebp - 0x1c]
mov dword [eax], 4
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jbe 0x100e4b7
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 0x100e5da
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 0x100e522
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x10105a5
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 0x100e550
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x10105a5
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 0x100e57e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x10105a5
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 0x100e5ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
jmp 0x10105a5
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 0x100e5da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
jmp 0x10105a5
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.01010a2c
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.01010a2c
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.01010a2c
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 0x100e885
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e75a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x10105a5
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 0x100e773
jmp 0x100e7ed
cmp dword [ebp - 0x40], 0x102
jne 0x100e7ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100e7a0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
jmp 0x10105a5
cmp dword [ebp - 0x40], 0x80
jne 0x100e7c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
jmp 0x10105a5
cmp dword [ebp - 0x40], 0xffffffff
jne 0x100e7dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
jmp 0x10105a5
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e80e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
jmp 0x10105a5
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 0x100e827
jmp 0x100e883
cmp dword [ebp - 0x58], 0x102
jne 0x100e841
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
jmp 0x10105a5
cmp dword [ebp - 0x58], 0x80
jne 0x100e85b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
jmp 0x10105a5
cmp dword [ebp - 0x58], 0xffffffff
jne 0x100e872
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
jmp 0x10105a5
jmp 0x100e892
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push 0xe
call fcn.0100e2fc
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 0x100e8cd
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x38], 0
jmp 0x100e94a
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.01010820
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.01010a2c
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 0x100e987
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100e97c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
jmp 0x10105a5
lea eax, [0x100e9c9]
mov dword [ebp - 0xc], eax
jmp 0x100e98f
lea esp, [ebp + 0x14]
jmp 0x100ea3e
jmp 0x1010599
call fcn.010107ee
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 0x100e9bc
lea eax, [0x100e9d1]
mov dword [ebp - 0xc], eax
jmp 0x100e9c4
lea esp, [ebp + 0x14]
jmp 0x100ea45
jmp 0x1010599
call fcn.010107ee
push eax
jmp 0x100e9e2
push 0xffffffffffffffff
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop eax
mov ecx, dword [eax + 0x28]
lea ebx, [0xb95e455]
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.01010820
call fcn.010107ee
jmp 0x100e9ee
call fcn.010107ee
push eax
lea ecx, [0xd99e1cb]
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 0x100ea80
add ecx, 4
add ecx, esi
sub ecx, dword [esp]
jmp fcn.0100e2fc
push esi
push edi
jmp fcn.01010820
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100eb26
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 0x100eab8
jmp 0x100eb26
cmp dword [ebp - 0x7c], 0x102
jne 0x100ead2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
jmp 0x10105a5
cmp dword [ebp - 0x7c], 0x80
jne 0x100eaf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
jmp 0x10105a5
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x100eb0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
jmp 0x10105a5
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 0x100eb76
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100eb6f
mov eax, dword [ebp - 0x74]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100eb6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
jmp 0x10105a5
xor eax, eax
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x39]
test eax, eax
jne 0x100f636
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.01010820
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.01010820
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.0101062b
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.01010820
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x50
push eax
call fcn.01010607
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.01010a2c
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.01010a2c
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.01010a2c
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 0x100eff9
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100ed0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
jmp 0x10105a5
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 0x100ed2e
jmp 0x100edab
cmp dword [ebp - 0xb0], 0x102
jne 0x100ed51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
jmp 0x10105a5
cmp dword [ebp - 0xb0], 0x80
jne 0x100ed74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
jmp 0x10105a5
cmp dword [ebp - 0xb0], 0xffffffff
jne 0x100ed94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100edd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
jmp 0x10105a5
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 0x100edf1
jmp 0x100ee6e
cmp dword [ebp - 0xc8], 0x102
jne 0x100ee14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
jmp 0x10105a5
cmp dword [ebp - 0xc8], 0x80
jne 0x100ee37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
jmp 0x10105a5
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x100ee57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100ee95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100eebc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
jmp 0x10105a5
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 0x100eedb
jmp 0x100ef58
cmp dword [ebp - 0xe4], 0x102
jne 0x100eefe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
jmp 0x10105a5
cmp dword [ebp - 0xe4], 0x80
jne 0x100ef21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
jmp 0x10105a5
cmp dword [ebp - 0xe4], 0xffffffff
jne 0x100ef41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
jmp 0x10105a5
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 0x100ef77
jmp 0x100eff4
cmp dword [ebp - 0xf8], 0x102
jne 0x100ef9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
jmp 0x10105a5
cmp dword [ebp - 0xf8], 0x80
jne 0x100efbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
jmp 0x10105a5
cmp dword [ebp - 0xf8], 0xffffffff
jne 0x100efdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
jmp 0x10105a5
jmp 0x100f293
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f286
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f02c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f053
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
cmp dword [eax], 3
jae 0x100f068
push dword [ebp + 0x10]
push dword [ebp - 0x74]
push 0xe
call fcn.0100e2fc
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 0x100f087
jmp 0x100f104
cmp dword [ebp - 0x114], 0x102
jne 0x100f0aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
jmp 0x10105a5
cmp dword [ebp - 0x114], 0x80
jne 0x100f0cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
jmp 0x10105a5
cmp dword [ebp - 0x114], 0xffffffff
jne 0x100f0ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
jmp 0x10105a5
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 0x100f123
jmp 0x100f1a0
cmp dword [ebp - 0x128], 0x102
jne 0x100f146
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
jmp 0x10105a5
cmp dword [ebp - 0x128], 0x80
jne 0x100f169
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
jmp 0x10105a5
cmp dword [ebp - 0x128], 0xffffffff
jne 0x100f189
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f1c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
jmp 0x10105a5
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 0x100f1e9
jmp 0x100f284
cmp dword [ebp - 0x140], 0x102
jne 0x100f20c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
jmp 0x10105a5
cmp dword [ebp - 0x140], 0x80
jne 0x100f24d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100f23c
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
jmp 0x10105a5
cmp dword [ebp - 0x140], 0xffffffff
jne 0x100f26d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
jmp 0x10105a5
jmp 0x100f293
push dword [ebp + 0x10]
push dword [ebp - 0x74]
push 0xe
call fcn.0100e2fc
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 0x100f3ea
push 0xff
push 1
call fcn.01010d05
mov dword [ebp - 4], eax
and dword [ebp - 0x154], 0
jmp 0x100f2e8
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 0x100f31c
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 0x100f2db
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.01010820
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.01010a2c
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 0x100f3e3
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f3d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
jmp 0x10105a5
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100ea93
xor eax, eax
jmp 0x10105a5
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 0x100f62f
mov eax, dword [ebp - 0x74]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f42b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
jmp 0x10105a5
mov dword [ebp - 0x160], 1
jmp 0x100f444
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 0x100f51e
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f47d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
jmp 0x10105a5
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 0x100f49c
jmp 0x100f519
cmp dword [ebp - 0x168], 0x102
jne 0x100f4bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
jmp 0x10105a5
cmp dword [ebp - 0x168], 0x80
jne 0x100f4e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
jmp 0x10105a5
cmp dword [ebp - 0x168], 0xffffffff
jne 0x100f502
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
jmp 0x10105a5
jmp 0x100f437
mov eax, dword [ebp - 0x74]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f545
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f56c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f593
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f5ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100f608
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f62f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
jmp 0x10105a5
xor eax, eax
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x3b]
test eax, eax
jne 0x100fc71
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x3b], 1
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f71b
mov eax, dword [ebp - 0x74]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f67f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
jmp 0x10105a5
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 0x100f69e
jmp 0x100f71b
cmp dword [ebp - 0x1dc], 0x102
jne 0x100f6c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
jmp 0x10105a5
cmp dword [ebp - 0x1dc], 0x80
jne 0x100f6e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
jmp 0x10105a5
cmp dword [ebp - 0x1dc], 0xffffffff
jne 0x100f704
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
jmp 0x10105a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
jmp 0x10105a5
mov eax, dword [ebp - 0x74]
movzx eax, word [eax + 0x34]
mov ecx, 0x1fc4
sub ecx, eax
push ecx
push 0
call fcn.01010d05
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 0x100f78d
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100f77b
mov eax, dword [ebp - 0x74]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100f77b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
jmp 0x10105a5
cmp dword [ebp + 8], 0xe
jne 0x100f788
xor eax, eax
jmp 0x10105a5
jmp 0x100ea93
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.01010820
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.01010a2c
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.01010820
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 0x100f9b7
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.01010820
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 0x100f8d1
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.01010820
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.0101062b
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
lea ecx, [0x10f22a13]
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 0x100fcbf
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jbe 0x100fcbf
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 0x100fcb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
jmp 0x10105a5
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100ea93
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.010107ee
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.01010820
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.01010820
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.0101062b
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
lea ecx, [0xff1ae30]
add ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x220]
sub ecx, 0xef0b040
jmp ecx
call fcn.010107ee
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.01010820
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.01010820
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.0101062b
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], edx
lea ecx, [0xce66091]
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.01010820
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.01010820
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.0101062b
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.01010a2c
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.01010a2c
lea ecx, [0xc04cead]
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 0x10105a5
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