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

Disassembly:
mov eax, 0x4d9bf8
call fcn.00471450
sub esp, 0x80
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], 3
call edi
push eax
push 0x525
push str.shocking:f3_d_t_d
call fcn.00401f98
add esp, 0xc
mov ecx, esi
push 0x4f56a8
call sub.MFC42.DLL_CCmdTarget::GetInterface
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
or dword [ebp - 0x48], 0xffffffff
cmp dword [ebp + 0x20], 1
jne 0x415a9a
mov dword [ebp - 0x40], ebx
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x40]
push edx
push 0x4f4d28
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x1c]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x415a54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
push edx
push 0x4f6b04
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x48]
push edx
push 0x4f6af8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x415a89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x415a9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::CString_3
movzx ecx, byte [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov byte [ebp + 0xc], 1
shl byte [ebp + 0xc], cl
push dword [ebp + 0xc]
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0xc]
push 1
call fcn.004166a2
push dword [ebp + 8]
push ebx
push esi
call fcn.004170d6
test eax, eax
je 0x415af0
push esi
call fcn.004170ea
jmp 0x415f3f
push dword [ebp + 8]
mov ecx, esi
call fcn.00417635
call edi
push eax
push str.shocking:beg_load_config_t_d
call fcn.00401f98
pop ecx
mov dword [ebp - 0x10], ebx
pop ecx
mov eax, dword [esi + 0x84]
lea edx, [ebp - 0x10]
push edx
push 0x4f4d28
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
call edi
push eax
push str.shocking:end_load_config_t_d
call fcn.00401f98
pop ecx
pop ecx
push dword [ebp + 0x30]
mov ecx, esi
call fcn.004188f2
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx + 0x18]
test eax, eax
jne 0x415c2b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x415c2b
mov ecx, dword [eax]
lea edx, [ebp + 0xf]
push edx
push 0x4f6b10
push eax
call dword [ecx + 0x70]
cmp byte [ebp + 0xf], 5
jne 0x415c2b
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
push edx
mov ecx, dword [eax]
push 0x4f6b10
push eax
call dword [ecx + 0x38]
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x40], ebx
mov byte [ebp - 4], 0xa
jne 0x415bd4
lea ecx, [ebp - 0x30]
call fcn.004139c5
cmp dword [ebp - 0x30], ebx
je 0x415c1a
lea ecx, [ebp - 0x30]
call fcn.004139c5
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x415c1a
mov dword [ebp + 0x30], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x30]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call dword [ecx + 0x44]
lea ecx, [ebp - 0x30]
call fcn.004139c5
cmp dword [ebp - 0x30], ebx
je 0x415c09
lea ecx, [ebp - 0x30]
call fcn.004139c5
mov eax, dword [ebp - 0x30]
push dword [ebp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x415c1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x415c2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xc
call dword [ecx + 0x14]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx + 0x1c]
cmp dword [ebp + 0x20], 1
jne 0x415ca9
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0xc]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xe
call dword [ecx + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x4f6b04
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push 0x4f6af8
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x415ca9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 8]
mov ecx, dword [eax]
push 0x4f6af0
push eax
call dword [ecx + 0x18]
cmp dword [ebp + 0x24], ebx
jne 0x415ce1
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x28]
mov ecx, dword [eax]
push str.CURRENT_HOSTINGID
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x2c]
mov ecx, dword [eax]
push str.CURRENT_ACCOUNT
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp + 0x14]
push dword [eax - 8]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0043c39a
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
mov edx, dword [edx]
push eax
push ecx
push 0x4f6b34
push dword [ebp - 0x18]
call dword [edx + 0x24]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x6c]
push edx
push 0x10
mov ecx, dword [eax]
push 0x4f6b24
push eax
call dword [ecx + 0x24]
call edi
push eax
push str.shocking:begin_initresource_t_d_r_n
call fcn.00401f98
pop ecx
pop ecx
call fcn.00416fb9
test eax, eax
jne 0x415d76
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 0xc]
push 0x878
push eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_BasicLoadStr_class_CString___unsigned_int_]
pop ecx
pop ecx
push ebx
push ebx
push dword [ebp + 0xc]
call sub.MFC42.DLL_AfxMessageBox_1
push esi
call fcn.004170ea
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
jmp 0x415efb
call edi
push eax
push str.shocking:end_initresource_t_d_r_n
call fcn.00401f98
pop ecx
mov dword [ebp - 0x20], ebx
pop ecx
mov eax, dword [0x5572c8]
lea edx, [ebp - 0x20]
mov edi, 0x4f4fc8
push edx
mov ecx, dword [eax]
push edi
push eax
mov byte [ebp - 4], 0x10
call dword [ecx + 0xc]
mov eax, dword [esi + 0x84]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
push dword [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea eax, [ebp + 0xc]
push str._n_Y._m._d__H:_M:_S
push eax
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
push dword [ebp - 0x44]
push 0x54cf70
call fcn.00415f9c
add esp, 0xc
mov dword [ebp - 0x3c], ebx
mov esi, dword [esi + 0x84]
lea ecx, [ebp - 0x3c]
push ecx
push 0x4f65e8
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0x13
call dword [eax + 0x1c]
test eax, eax
jne 0x415ec4
cmp dword [ebp - 0x3c], ebx
je 0x415ec4
push dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
mov word [ebp - 0x7c], bx
mov word [ebp - 0x5c], bx
call sub.MFC42.DLL_COleVariant::operator
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0x14
push str.StatLogicObj
lea ecx, [ebp - 0x38]
mov word [ebp - 0x38], bx
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_COleVariant::operator
sub esp, 0x10
lea esi, [ebp - 0x7c]
mov edi, esp
mov eax, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x8c]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0x15
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x40]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x14
call esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
push eax
call esi
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x415ede
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x415efb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x415f0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x415f1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x415f2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x415f3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x415f5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x2c