Function at 0x40dc50
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6f76
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x188], eax
add eax, 0xd8
lea ecx, [ebp - 0x148]
push eax
call fcn.0040b1d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x134]
mov eax, edx
mov ecx, dword [ebp - 0x138]
sub eax, ecx
push 0x11
push str._api_v1_game_time
cmp eax, 0x11
jb 0x40dcf7
cmp edx, 0xf
lea esi, [ebp - 0x148]
lea eax, [ecx + 0x11]
cmova esi, dword [ebp - 0x148]
add esi, ecx
mov dword [ebp - 0x138], eax
push esi
call fcn.0048f690
add esp, 0xc
mov byte [esi + 0x11], 0
jmp 0x40dd11
mov byte [ebp - 0x184], 0
lea ecx, [ebp - 0x148]
push dword [ebp - 0x184]
push 0x11
call fcn.0040a190
and dword [ebp - 0x178], 0xfffffe00
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
push ecx
lea edx, [ebp - 0x180]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
call fcn.00427210
add esp, 4
test al, al
jne 0x40dd97
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x118]
push str.getSvrTime_JosnRequest_error_n
push 0xff
push eax
call fcn.00421d00
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40e0fa
push 0x646ea4
push str.info
lea ecx, [ebp - 0x180]
call fcn.0042c930
push 0x646eae
push str.errmsg
lea ecx, [ebp - 0x180]
mov esi, eax
call fcn.0042c930
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
mov edi, 0xf
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x130], 0
mov byte [ebp - 4], 4
cmp byte [eax + 8], 0
je 0x40de6f
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.0042bd30
lea ecx, [ebp - 0x130]
cmp ecx, eax
je 0x40de39
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
movq qword [ebp - 0x120], xmm0
mov edi, dword [ebp - 0x11c]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x40ded7
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40de92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1fc
jmp 0x40de92
cmp byte [esi + 8], 0
je 0x40de9e
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
call fcn.0042bd30
lea ecx, [ebp - 0x130]
cmp ecx, eax
je 0x40de39
jmp 0x40de0b
push ecx
push edx
call fcn.004392c8
add esp, 8
jmp 0x40ded7
mov eax, dword [0x646eb8]
movq xmm0, qword [0x646eb0]
mov dword [ebp - 0x128], eax
mov ax, word [0x646ebc]
mov dword [ebp - 0x120], 0xe
movq qword [ebp - 0x130], xmm0
mov word [ebp - 0x124], ax
mov byte [ebp - 0x122], 0
push 0x646ec4
push str.code
lea ecx, [ebp - 0x180]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x40e0c2
push 0x646ecf
push str.success
lea ecx, [ebp - 0x180]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x40e0c2
push 0x646ec4
push str.code
lea ecx, [ebp - 0x180]
call fcn.0042c930
mov ecx, eax
call fcn.0042bee0
push 0x646ecf
push str.success
lea ecx, [ebp - 0x180]
mov esi, eax
call fcn.0042c930
mov ecx, eax
call fcn.0042c4e0
mov cl, al
lea eax, [esi - 0x64]
cmp eax, 0x12b
ja 0x40e0c2
test cl, cl
je 0x40e0c2
mov byte [ebp - 4], 2
cmp edi, 0xf
jbe 0x40df9f
mov ecx, dword [ebp - 0x130]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x40df95
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1fc
push edi
push ecx
call fcn.004392c8
add esp, 8
cmp byte [ebp - 0x178], 7
jne 0x40e084
push 0x646ed4
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042cb30
test eax, eax
je 0x40e084
push 0x646ed4
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x40e084
push 0x646ed4
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x40e084
push 0x646ed4
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042c930
mov ecx, eax
call fcn.0042cfe0
test al, al
je 0x40e084
push 0x646ed4
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042c930
mov ecx, eax
call fcn.0042c0a0
mov edi, edx
mov esi, eax
test edi, edi
jl 0x40e084
jg 0x40e052
test esi, esi
je 0x40e084
call fcn.004387b4
push 0
push 0x989680
push edx
push eax
call fcn.004bac80
mov ecx, dword [ebp - 0x188]
sub eax, esi
mov byte [ebp - 0x161], 1
sbb edx, edi
mov dword [ecx + 0x128], eax
mov dword [ecx + 0x12c], edx
jmp 0x40e101
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x118]
push str.getSvrTime_m_svr_time_error_n
push 0xff
push eax
call fcn.00421d00
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40e0fa
mov byte [ebp - 4], 2
cmp edi, 0xf
jbe 0x40e0fa
mov ecx, dword [ebp - 0x130]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x40e0f0
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1fc
push edi
push ecx
call fcn.004392c8
add esp, 8
mov byte [ebp - 0x161], 0
mov byte [ebp - 4], 0
movsx eax, byte [ebp - 0x178]
sub eax, 4
je 0x40e148
sub eax, 2
je 0x40e11b
sub eax, 1
jne 0x40e162
mov esi, dword [ebp - 0x180]
test esi, esi
je 0x40e162
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00432230
push 0x30
push dword [esi]
call fcn.004392c8
push 8
push esi
call fcn.004392c8
add esp, 0x10
jmp 0x40e162
test dword [ebp - 0x178], 0x100
je 0x40e162
push dword [ebp - 0x180]
call fcn.00499896
add esp, 4
mov esi, dword [ebp - 0x174]
test esi, esi
je 0x40e197
push 0x42b6c0
mov byte [ebp - 4], 8
push dword [esi - 4]
push 4
push esi
call fcn.00439a96
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.004399a8
add esp, 8
mov ecx, dword [ebp - 0x134]
xorps xmm0, xmm0
movlpd qword [ebp - 0x180], xmm0
cmp ecx, 0xf
jbe 0x40e1d8
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e1ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1fc
push ecx
push edx
call fcn.004392c8
add esp, 8
mov al, byte [ebp - 0x161]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049452a
int3