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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbc2b
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2fc], ecx
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x104
call fcn.004035b0
movzx eax, al
test eax, eax
je 0x45c98b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x320], ecx
mov eax, dword [ebp - 0x300]
xor edx, edx
mov ecx, 0x64
div ecx
test edx, edx
je 0x45c7f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x300], eax
mov edx, dword [ebp - 0x300]
sub edx, dword [ebp - 0x320]
cmp edx, 0x1388
jbe 0x45c7da
jmp 0x45c7f9
mov eax, dword [ebp - 0x300]
xor edx, edx
mov ecx, 0x64
div ecx
test edx, edx
jne 0x45c7ef
jmp 0x45c7f9
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45c7b8
xorps xmm0, xmm0
movlpd qword [ebp - 0x308], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x29c], xmm0
lea ecx, [ebp - 0x29c]
call fcn.0045b870
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x308], edx
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x304], eax
push 0
push 0x3e8
mov ecx, dword [ebp - 0x304]
push ecx
mov edx, dword [ebp - 0x308]
push edx
call fcn.004ed7f0
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x300]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, dword [ebp - 0x29c]
sub ecx, eax
mov eax, dword [ebp - 0x298]
sbb eax, edx
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], eax
xor ecx, ecx
mov edx, dword [ebp - 0x308]
sub edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x304]
sbb eax, ecx
mov dword [ebp - 0x308], edx
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x300]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor eax, eax
add edx, dword [ebp - 0x308]
adc eax, dword [ebp - 0x304]
push 0
push 0x3e8
push eax
push edx
call fcn.004ed740
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], edx
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x298], edx
xor eax, eax
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x2c8]
call fcn.0045b880
mov ecx, dword [ebp - 0x2c8]
push ecx
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x2bc]
push ecx
mov edx, dword [ebp - 0x2b8]
add edx, 1
push edx
mov eax, dword [ebp - 0x2b4]
add eax, 0x76c
push eax
push str._04d_02d_02d_02d_02d_02d
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x104
push ecx
call fcn.004b03c0
add esp, 0x20
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x11c
call fcn.004035b0
movzx edx, al
test edx, edx
je 0x45cdeb
mov dword [ebp - 0x2f8], 0
mov eax, 0x53
mov word [ebp - 0x84], ax
mov ecx, 0x4f
mov word [ebp - 0x82], cx
mov edx, 0x46
mov word [ebp - 0x80], dx
mov eax, 0x54
mov word [ebp - 0x7e], ax
mov ecx, 0x57
mov word [ebp - 0x7c], cx
mov edx, 0x41
mov word [ebp - 0x7a], dx
mov eax, 0x52
mov word [ebp - 0x78], ax
mov ecx, 0x45
mov word [ebp - 0x76], cx
mov edx, 0x5c
mov word [ebp - 0x74], dx
mov eax, 0x4d
mov word [ebp - 0x72], ax
mov ecx, 0x69
mov word [ebp - 0x70], cx
mov edx, 0x63
mov word [ebp - 0x6e], dx
mov eax, 0x72
mov word [ebp - 0x6c], ax
mov ecx, 0x6f
mov word [ebp - 0x6a], cx
mov edx, 0x73
mov word [ebp - 0x68], dx
mov eax, 0x6f
mov word [ebp - 0x66], ax
mov ecx, 0x66
mov word [ebp - 0x64], cx
mov edx, 0x74
mov word [ebp - 0x62], dx
mov eax, 0x5c
mov word [ebp - 0x60], ax
mov ecx, 0x57
mov word [ebp - 0x5e], cx
mov edx, 0x69
mov word [ebp - 0x5c], dx
mov eax, 0x6e
mov word [ebp - 0x5a], ax
mov ecx, 0x64
mov word [ebp - 0x58], cx
mov edx, 0x6f
mov word [ebp - 0x56], dx
mov eax, 0x77
mov word [ebp - 0x54], ax
mov ecx, 0x73
mov word [ebp - 0x52], cx
mov edx, 0x20
mov word [ebp - 0x50], dx
mov eax, 0x4e
mov word [ebp - 0x4e], ax
mov ecx, 0x54
mov word [ebp - 0x4c], cx
mov edx, 0x5c
mov word [ebp - 0x4a], dx
mov eax, 0x43
mov word [ebp - 0x48], ax
mov ecx, 0x75
mov word [ebp - 0x46], cx
mov edx, 0x72
mov word [ebp - 0x44], dx
mov eax, 0x72
mov word [ebp - 0x42], ax
mov ecx, 0x65
mov word [ebp - 0x40], cx
mov edx, 0x6e
mov word [ebp - 0x3e], dx
mov eax, 0x74
mov word [ebp - 0x3c], ax
mov ecx, 0x56
mov word [ebp - 0x3a], cx
mov edx, 0x65
mov word [ebp - 0x38], dx
mov eax, 0x72
mov word [ebp - 0x36], ax
mov ecx, 0x73
mov word [ebp - 0x34], cx
mov edx, 0x69
mov word [ebp - 0x32], dx
mov eax, 0x6f
mov word [ebp - 0x30], ax
mov ecx, 0x6e
mov word [ebp - 0x2e], cx
xor edx, edx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x2a0], 4
mov dword [ebp - 0x294], 0
push str.Advapi32.dll
lea ecx, [ebp - 0x338]
call fcn.00403690
mov dword [ebp - 4], 0
lea eax, [ebp - 0x338]
push eax
call fcn.004bf880
mov ecx, eax
call fcn.004bf940
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x338]
call fcn.00403610
cmp dword [ebp - 0x30c], 0
je 0x45cd35
push str.RegOpenKeyExW
mov ecx, dword [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x310], eax
push str.RegQueryValueExW
mov edx, dword [ebp - 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x314], eax
push str.RegCloseKey
mov eax, dword [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x310], 0
je 0x45cd35
cmp dword [ebp - 0x314], 0
je 0x45cd35
cmp dword [ebp - 0x318], 0
je 0x45cd35
mov ecx, 0x49
mov word [ebp - 0x28], cx
mov edx, 0x6e
mov word [ebp - 0x26], dx
mov eax, 0x73
mov word [ebp - 0x24], ax
mov ecx, 0x74
mov word [ebp - 0x22], cx
mov edx, 0x61
mov word [ebp - 0x20], dx
mov eax, 0x6c
mov word [ebp - 0x1e], ax
mov ecx, 0x6c
mov word [ebp - 0x1c], cx
mov edx, 0x44
mov word [ebp - 0x1a], dx
mov eax, 0x61
mov word [ebp - 0x18], ax
mov ecx, 0x74
mov word [ebp - 0x16], cx
mov edx, 0x65
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x2f8]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x84]
push edx
push 0x80000002
call dword [ebp - 0x310]
test eax, eax
jne 0x45ccd8
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x294]
push ecx
push 0
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2f8]
push eax
call dword [ebp - 0x314]
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [ebp - 0x318]
cmp dword [ebp - 0x294], 0
jne 0x45cd35
lea edx, [ebp - 0x2f8]
push edx
push 0x20119
push 0
lea eax, [ebp - 0x84]
push eax
push 0x80000002
call dword [ebp - 0x310]
test eax, eax
jne 0x45cd35
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x294]
push edx
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [ebp - 0x314]
mov edx, dword [ebp - 0x2f8]
push edx
call dword [ebp - 0x318]
cmp dword [ebp - 0x294], 0
jbe 0x45cdeb
mov eax, dword [ebp - 0x294]
xor ecx, ecx
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], ecx
xor edx, edx
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x2e8], edx
mov dword [ebp - 0x2e4], edx
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2cc], edx
lea edx, [ebp - 0x2f4]
lea ecx, [ebp - 0x2ec]
call fcn.0045b880
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x2dc]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x2d8]
add edx, 0x76c
push edx
push str._04d_02d_02d_02d_02d_02d
mov eax, dword [ebp - 0x2fc]
add eax, 0x11c
push eax
call fcn.004b03c0
add esp, 0x20
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x134
call fcn.004035b0
movzx ecx, al
test ecx, ecx
je 0x45ceee
push 0x20a
push 0
lea edx, [ebp - 0x290]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2a4], 0x104
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x290]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edx, 2
imul eax, edx, 0x103
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0x20a
jae 0x45ce5a
jmp 0x45ce5f
call fcn.004ec8f5
xor ecx, ecx
mov edx, dword [ebp - 0x31c]
mov word [ebp + edx - 0x290], cx
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x134
call fcn.0040c330
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x134
mov edx, str.__r_t_n
call fcn.004affb0
push 0x2d
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x134
mov edx, 0x2c
call fcn.004afe20
add esp, 4
push 0x2d
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x134
mov edx, 0xd
call fcn.004afe20
add esp, 4
push 0x2d
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x134
mov edx, 0xa
call fcn.004afe20
add esp, 4
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x14c
call fcn.004035b0
movzx ecx, al
test ecx, ecx
je 0x45cf23
lea edx, [ebp - 0x350]
push edx
mov ecx, dword [ebp - 0x2fc]
call fcn.0045e250
lea ecx, [ebp - 0x350]
call fcn.00410740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ec151
mov esp, ebp
pop ebp
ret