Function at 0x404510
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x467e82
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x48b270]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
push 0
mov edi, ecx
call fcn.00451de0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x38], edx
call fcn.00451b28
push 0xac
lea edx, [esp + 0x64]
push 0
push edx
call fcn.00451390
add esp, 0x18
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 2
jne 0x40459f
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x54]
lea esi, [ecx + edx]
jmp 0x4045a3
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x30]
push eax
push str.__d__b__Y:_H:_M:_S
lea ecx, [esp + 0x108]
push 0x40
push ecx
call fcn.00452bf6
mov eax, dword [edi + 0xa8]
sub eax, 0x10
push eax
call fcn.00401290
lea ebx, [eax + 0x10]
add esp, 0x14
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14c], 0
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4045fa
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
cmp dword [ebx - 0xc], 0
mov byte [esp + 0x14c], 1
jne 0x404628
push 1
push 0x46ef18
lea ecx, [esp + 0x2c]
call fcn.00401b90
lea ecx, [edi + 0x54]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00406770
mov ebp, dword [eax]
mov eax, dword [esp + 0x160]
mov ecx, dword [edi + 0x50]
mov ebx, dword [esp + 0x15c]
push eax
mov eax, esi
cdq
xor eax, edx
sub eax, edx
push ebx
push ecx
cdq
mov ecx, 0x3c
idiv ecx
mov eax, 0x77777777
lea ecx, [esp + 0x114]
mov byte [esp + 0x160], 2
push edx
imul esi
sub edx, esi
mov esi, dword [esp + 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push esi
push ebp
lea edx, [esp + 0x40]
push str._s____s___s__.2d_.2d____s___d__d_n
push edx
call fcn.00401f50
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x30
mov byte [esp + 0x14c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4046c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x4046d7
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401720
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4046f1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x14c], 3
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404723
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov edi, dword [edi + 0x50]
push edi
lea ecx, [esp + 0x24]
push 0x46ea2c
push ecx
mov byte [esp + 0x158], 4
call fcn.00401f50
push ebx
lea edx, [esp + 0x24]
push 0x46eef0
push edx
call fcn.00401f50
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
add esp, 0x18
cmp dword [edi - 0xc], 0
jl 0x404818
push 0x46eedc
push edi
call fcn.00452137
add esp, 8
test eax, eax
je 0x404818
sub eax, edi
test eax, eax
jle 0x404818
push 0x46eed8
push ebp
call fcn.0045100a
add esp, 8
test eax, eax
sete al
test al, al
je 0x404818
mov eax, dword [0x48ca4c]
test eax, eax
je 0x404818
mov ebx, eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x404818
push str.true
push eax
call fcn.00452137
add esp, 8
test eax, eax
je 0x404818
sub eax, dword [ebx]
test eax, eax
jle 0x404818
inc dword [0x48ca84]
lea ecx, [esp + 0x1c]
call fcn.00401850
mov eax, dword [0x48ca84]
push eax
lea ecx, [esp + 0x20]
push 0x46eebc
push ecx
mov byte [esp + 0x158], 5
call fcn.00401f50
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x1c]
call fcn.004018a0
lea eax, [edi - 0x10]
mov byte [esp + 0x14c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40483c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x14c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404888
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004517f0
add esp, 0x13c
ret 8