Function at 0x111082c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118aa8b
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ecx + 0x24]
xor eax, eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x25c], eax
cmp dword [0x111ee258], eax
jne 0x11108315
cmp dword [ebp + 0x10], eax
je 0x1110834a
push edi
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
call fcn.11108070
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x11108351
push edi
push 0x111b61b4
call fcn.11147060
add esp, 8
xor eax, eax
jmp 0x111087fe
mov ecx, ebx
call fcn.110f62e0
test eax, eax
jne 0x1110834a
cmp dword [ebx + 8], eax
je 0x11108364
mov dword [ebx + 8], eax
cmp dword [ebx + 0x54], eax
jne 0x1110836e
cmp dword [ebx + 0x58], eax
je 0x11108396
push edi
push ebx
call fcn.110f62a0
add esp, 8
test eax, eax
jne 0x1110834a
cmp dword [ebx + 0x54], eax
je 0x1110838e
push 0x111b6188
call fcn.11147060
add esp, 4
xor eax, eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
lea ecx, [esi + 0x724]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
lea edx, [ebp - 0x264]
push edx
lea edx, [ebp - 0x268]
push edx
push 8
push edi
push eax
mov dword [ebp - 4], eax
call fcn.11026220
test eax, eax
jne 0x11108451
mov esi, dword [sym.imp.KeRneL32.DLl_GetLastError]
call esi
cmp eax, 0x1b6e
je 0x111083e4
cmp eax, 2
jne 0x111083ea
cmp dword [ebp + 0x10], 0
jne 0x1110844d
call esi
push eax
push edi
push 0x111b6138
call fcn.11147060
mov eax, dword [0x111ee264]
add esp, 0xc
cmp eax, edi
jne 0x11108434
cmp dword [ebp + 0x10], 0
jne 0x11108434
push eax
push 0x111b6108
call fcn.11147060
add esp, 8
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
dec eax
or eax, 1
push eax
mov ecx, ebx
call fcn.110f6340
mov dword [0x111ee264], 0xffffffff
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
call fcn.11026270
xor eax, eax
jmp 0x111087fe
test eax, eax
jne 0x1110846c
mov eax, dword [ebp - 0x268]
cmp dword [eax], 4
jne 0x1110846c
push edi
push 0x111b60cc
call fcn.11147060
add esp, 8
jmp 0x11108434
xor eax, eax
cmp dword [ebx + 0x1c], eax
je 0x111084ef
cmp dword [0x111ee258], eax
je 0x111084ef
cmp dword [ebp + 0x10], eax
jne 0x111084ef
push eax
push 1
mov dword [ebx + 0x14], ebx
mov dword [ebx + 0x1c], eax
push 0x110fe450
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], eax
call fcn.11110040
mov esi, eax
push 1
push esi
call dword [sym.imp.KeRneL32.DLl_SetThreadPriority]
push esi
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
cmp dword [ebx + 0x34], 0
lea eax, [ebx + 0x34]
je 0x111084ef
push 0
push eax
call dword [sym.imp.KeRneL32.DLl_InterlockedExchange]
mov esi, eax
test esi, esi
je 0x111084ef
push 0x1388
push esi
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
test eax, eax
je 0x111084e8
push 0x111b60ac
call fcn.11147060
push 0xffffffffffffffff
push esi
call fcn.111261c0
add esp, 0xc
push esi
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
push 0x207
lea edx, [ebp - 0x257]
push edx
mov ecx, 0x22
push 0
mov word [ebp - 0x258], cx
call dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
lea eax, [ebp - 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11108518
mov ecx, dword [0x111ee0dc]
push ecx
sub eax, edx
lea edx, [ebp + eax - 0x258]
push 0x111b60a4
push edx
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0xc
cmp dword [0x111ee258], 0
je 0x111085b8
cmp dword [ebp + 0x10], 0
jne 0x111085be
lea eax, [ebp - 0x258]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x11108554
mov ecx, dword [0x111b6098]
mov edx, dword [0x111b609c]
push 0
mov dword [eax], ecx
mov cx, word [0x111b60a0]
push 0
mov dword [eax + 4], edx
push 0x1119ab98
mov word [eax + 8], cx
mov ecx, dword [0x111ee100]
push 0x111a1084
call fcn.1105e820
test eax, eax
je 0x1110862a
lea edi, [ebp - 0x258]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x111085a0
mov edx, dword [0x111b6094]
mov dword [edi], edx
mov edi, dword [ebp - 0x280]
jmp 0x1110862a
cmp dword [ebp + 0x10], 0
je 0x1110862a
lea eax, [ebp - 0x258]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x111085c5
mov ecx, dword [0x111b608c]
mov dl, byte [0x111b6090]
mov dword [eax], ecx
mov ecx, dword [0x111ee100]
push 0
mov byte [eax + 4], dl
push pe_nt_image_headers32
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 0x50], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 0x111b6080
push 0x111a1084
call eax
cmp byte [ebp - 0x50], 0
jne 0x1110862a
lea eax, [ebp - 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11108610
sub eax, edx
lea ecx, [ebp + eax - 0x258]
push edi
push ecx
call fcn.1102a1f0
add esp, 8
lea edx, [ebp - 0x258]
push 0x111b40c8
push edx
call fcn.11165250
add esp, 8
test eax, eax
je 0x11108647
mov word [eax], 0x2020
mov esi, dword [ebp - 0x26c]
cmp edi, 0xffffffff
je 0x11108759
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test eax, eax
je 0x11108759
push 0
call fcn.110f6000
add esp, 4
mov esi, eax
push 4
lea eax, [ebp - 0x284]
push eax
push 0xc
push esi
mov dword [ebp - 0x284], edi
call dword [sym.imp.aDvapi32.DLL_SetTokenInformation]
test eax, eax
jne 0x111086aa
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
push 0
push edi
push esi
push 0x111b6054
call fcn.11147060
add esp, 0x14
push pe_nt_image_headers32
lea ecx, [ebp - 0x2c4]
push 0
push ecx
call fcn.11162be0
add esp, 0xc
lea edx, [ebp - 0x2c8]
push edx
mov dword [ebp - 0x2c8], 0x44
mov dword [ebp - 0x29c], 0x80
call dword [sym.imp.KeRneL32.DLl_GetCurrentProcess]
push eax
call dword [sym.imp.KeRneL32.DLl_GetPriorityClass]
or eax, 0x4000000
push eax
push 0
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
lea ecx, [ebp - 0x258]
push ecx
push esi
call fcn.1108cc60
add esp, 0x20
test eax, eax
jne 0x11108725
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
mov dword [ebp - 0x25c], 1
jmp 0x11108733
push eax
push 0x111b6034
call fcn.11147060
add esp, 8
push esi
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
cmp dword [0x111ee264], 0
jg 0x11108788
cmp dword [ebp + 0xc], 0
je 0x11108788
mov ecx, dword [0x111ee134]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push edi
call edx
jmp 0x11108788
mov eax, dword [esi]
mov eax, dword [eax + 0xec]
push 0
push 1
push 0
push 0x4000000
push 0
lea ecx, [ebp - 0x27c]
push ecx
push 0
lea edx, [ebp - 0x258]
push edx
mov ecx, esi
call eax
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x25c]
push ecx
push esi
lea edx, [ebp - 0x258]
push edx
push edi
push 0x111b6018
mov dword [0x111f18c4], 0
call fcn.11147060
add esp, 0x14
test esi, esi
je 0x111087e1
mov eax, dword [ebp - 0x27c]
mov dword [ebx + 0x34], eax
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
dec eax
or eax, 1
cmp dword [ebp + 0x10], 0
mov dword [ebx + 8], eax
je 0x111087e1
push edi
call fcn.110281e0
add esp, 4
mov dword [ebx + 0x60], eax
xor ecx, ecx
test esi, esi
setne cl
mov dword [ebp - 4], 0xffffffff
mov esi, ecx
lea ecx, [ebp - 0x268]
call fcn.11026270
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0xc