Function at 0x1012697
Capabilities:
Check for time delay via gettickcount
Get hostname

Disassembly:
mov eax, 0x103846d
call fcn.0102ee48
sub esp, 0x484
mov eax, dword [0x103ee78]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x440], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x418], esi
mov word [ebp - 0x414], si
mov byte [ebp - 4], 5
mov dword [ebp - 0x474], 0x200
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x410]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x101274b
mov word [ebp - 0x410], si
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x420]
push 0xe0f7
push eax
call fcn.0102b5ed
lea eax, [ebx + 4]
add esp, 0xc
push eax
mov dword [ebp - 0x42c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0100ec4e
test eax, eax
je 0x10127c2
test byte [0x103e19c], 1
je 0x1012cd5
push dword [ebp + 8]
push 0x1001f6c
push 0x86
push dword [0x103e194]
push dword [0x103e190]
call fcn.0101622b
jmp 0x1012cd5
push edi
mov edi, dword [ebp - 0x434]
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x454]
call fcn.0100d123
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x450]
call fcn.0100d123
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0x448]
call fcn.0100d123
mov eax, dword [ebp - 0x430]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x440]
call fcn.0100d123
add edi, 0x28
push edi
lea ecx, [ebp - 0x43c]
call fcn.0100d123
mov eax, dword [ebp - 0x454]
cmp eax, esi
je 0x1012828
mov eax, dword [eax]
jmp 0x101282a
xor eax, eax
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x448]
cmp eax, esi
je 0x101283e
mov eax, dword [eax]
jmp 0x1012840
xor eax, eax
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x450]
cmp eax, esi
je 0x1012854
mov eax, dword [eax]
jmp 0x1012856
xor eax, eax
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x440]
cmp eax, esi
je 0x1012870
mov eax, dword [eax]
mov dword [ebp - 0x430], eax
jmp 0x1012876
mov dword [ebp - 0x430], esi
mov eax, dword [ebp - 0x43c]
cmp eax, esi
je 0x101288a
mov eax, dword [eax]
mov dword [ebp - 0x434], eax
jmp 0x1012890
mov dword [ebp - 0x434], esi
cmp dword [ebp - 0x430], esi
jne 0x10128c5
test byte [0x103e19c], 1
je 0x1012cd4
push 0x1001f6c
push 0x87
push dword [0x103e194]
push dword [0x103e190]
call fcn.01008005
jmp 0x1012cd4
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x460]
lea eax, [edi + 0x9c]
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x464], eax
call fcn.0102b37d
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x438]
push eax
push edi
lea ecx, [ebp - 0x420]
call fcn.010098e2
push eax
push dword [ebp - 0x430]
lea eax, [ebp - 0x470]
push eax
call fcn.01035d23
cmp eax, 0x40007
mov dword [ebp - 0x428], eax
jne 0x1012af2
push dword [ebp - 0x438]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0xdfd7
push dword [ebp - 0x434]
push dword [ebp - 0x464]
push 2
push eax
call dword [ecx + 4]
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x444]
jae 0x1012964
mov dword [ebp - 0x444], eax
sub eax, dword [ebp - 0x444]
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp eax, 0x78
ja 0x1012c23
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0100deda
mov eax, dword [eax]
cmp eax, esi
je 0x1012c49
mov edi, dword [eax + 0xda8]
cmp edi, esi
mov dword [ebp - 0x478], edi
je 0x10129f7
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebx + 0x4c]
call fcn.0100df09
mov eax, dword [eax]
cmp eax, esi
je 0x10129f7
cmp dword [eax + 0xc], esi
je 0x10129f7
test byte [0x103e19c], 1
je 0x10129ed
push edi
push 0x1001f6c
push 0x89
push dword [0x103e194]
push dword [0x103e190]
call fcn.0101622b
mov dword [ebp - 0x44c], 1
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x44c], esi
jne 0x1012c5f
cmp dword [ebp - 0x424], esi
je 0x1012a39
push dword [ebp - 0x424]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0100fee6
push dword [ebp - 0x424]
call sub.MFC42u.dll_operatordelete
pop ecx
mov dword [ebp - 0x424], esi
push 0x32
pop edi
call fcn.0102b37d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
jne 0x1012a3c
lea eax, [ebp - 0x458]
push eax
push 0x7d0
push dword [ebp - 0x470]
mov dword [ebp - 0x458], esi
call fcn.01034d91
test eax, eax
jge 0x1012aa6
test byte [0x103e19c], 1
je 0x1012a97
push dword [ebp - 0x470]
push 0x1001f6c
push 0x8a
push dword [0x103e194]
push dword [0x103e190]
call fcn.0100802b
mov dword [ebp - 0x428], 0x40007
jmp 0x1012950
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x470]
push dword [ebp - 0x430]
push eax
call fcn.01036a59
cmp eax, esi
mov dword [ebp - 0x428], eax
jl 0x1012ae2
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0x40007
je 0x1012950
push esi
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.010120b8
mov ecx, dword [ebp - 0x460]
call fcn.0100acc9
test eax, eax
je 0x1012bb7
cmp dword [ebp - 0x428], esi
jl 0x1012bb7
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0100deda
mov ebx, dword [eax]
cmp ebx, esi
je 0x1012ba5
mov eax, dword [ebx + 4]
cmp eax, esi
mov dword [ebp - 0x458], eax
je 0x1012ba5
mov ecx, dword [ebp - 0x45c]
lea eax, [ebp - 0x458]
push eax
add ecx, 0x1c
call fcn.0100de7c
mov edi, dword [eax]
cmp edi, esi
je 0x1012ba5
cmp dword [edi + 0xc], esi
je 0x1012ba5
add ebx, 0x48
push ebx
call fcn.0103410d
test byte [0x103e19c], 4
mov ebx, eax
je 0x1012b98
push ebx
push 0x1001f6c
push 0x8b
push dword [0x103e194]
push dword [0x103e190]
call fcn.0101622b
push ebx
lea eax, [edi + 0x54]
push eax
call fcn.010340f3
mov dword [edi + 0xc], esi
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x45c]
cmp dword [ebp - 0x428], esi
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x488], eax
jge 0x1012c82
cmp dword [ebp - 0x438], esi
push dword [ebp - 0x428]
mov dword [ebp - 0x490], esi
je 0x1012c7b
push dword [ebp - 0x438]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0xdfd8
lea edx, [ebp - 0x490]
push edx
push eax
call dword [ecx + 8]
add esp, 0x14
jmp 0x1012ca9
test byte [0x103e19c], 1
je 0x1012c6c
push 0x1001f6c
push 0x88
push dword [0x103e194]
push dword [0x103e190]
call fcn.01008005
jmp 0x1012c6c
push dword [ebp - 0x42c]
mov dword [ebp - 0x428], 0x8004100a
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x44c], 1
jne 0x1012af2
mov dword [ebp - 0x428], 0x40006
jmp 0x1012bb7
push 0xdfe9
jmp 0x1012c97
push dword [ebp - 0x438]
mov dword [ebp - 0x490], 2
push 0xdfd9
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea ecx, [ebp - 0x490]
push ecx
push ebx
call dword [eax + 8]
add esp, 0x10
cmp dword [ebp - 0x424], esi
je 0x1012cc3
push dword [ebp - 0x424]
call sub.MFC42u.dll_operatordelete
pop ecx
mov dword [ebp - 0x424], esi
call fcn.0102b37d
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop edi
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x420]
call sub.MFC42u.dll_operatordelete
pop ecx
mov ecx, dword [ebp - 0x448]
cmp ecx, esi
mov dword [ebp - 0x420], esi
je 0x1012d02
call fcn.0100bf5b
mov ecx, dword [ebp - 0x450]
cmp ecx, esi
je 0x1012d11
call fcn.0100bf5b
mov ecx, dword [ebp - 0x454]
cmp ecx, esi
je 0x1012d20
call fcn.0100bf5b
mov ecx, dword [ebp - 0x43c]
cmp ecx, esi
je 0x1012d2f
call fcn.0100bf5b
mov ecx, dword [ebp - 0x440]
cmp ecx, esi
pop esi
pop ebx
je 0x1012d40
call fcn.0100bf5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0102db35
leave
ret 8