Function at 0x40e050
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 0x5c75c6
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.0040b5e0
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 0x40e0f7
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.0048fd10
add esp, 0xc
mov byte [esi + 0x11], 0
jmp 0x40e111
mov byte [ebp - 0x184], 0
lea ecx, [ebp - 0x148]
push dword [ebp - 0x184]
push 0x11
call fcn.0040a5a0
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.00427890
add esp, 4
test al, al
jne 0x40e197
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebp - 0x118]
push str.getSvrTime_JosnRequest_error_n
push 0xff
push eax
call fcn.00422380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40e4fa
push 0x646ee8
push str.info
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
push 0x646ef2
push str.errmsg
lea ecx, [ebp - 0x180]
mov esi, eax
call fcn.0042cfb0
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 0x40e26f
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.0042c3b0
lea ecx, [ebp - 0x130]
cmp ecx, eax
je 0x40e239
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 0x40e2d7
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e292
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5fc
jmp 0x40e292
cmp byte [esi + 8], 0
je 0x40e29e
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
call fcn.0042c3b0
lea ecx, [ebp - 0x130]
cmp ecx, eax
je 0x40e239
jmp 0x40e20b
push ecx
push edx
call fcn.00439938
add esp, 8
jmp 0x40e2d7
mov eax, dword [0x646efc]
movq xmm0, qword [0x646ef4]
mov dword [ebp - 0x128], eax
mov ax, word [0x646f00]
mov dword [ebp - 0x120], 0xe
movq qword [ebp - 0x130], xmm0
mov word [ebp - 0x124], ax
mov byte [ebp - 0x122], 0
push 0x646f08
push str.code
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 0
je 0x40e4c2
push 0x646f13
push str.success
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 0
je 0x40e4c2
push 0x646f08
push str.code
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042c560
push 0x646f13
push str.success
lea ecx, [ebp - 0x180]
mov esi, eax
call fcn.0042cfb0
mov ecx, eax
call fcn.0042cb60
mov cl, al
lea eax, [esi - 0x64]
cmp eax, 0x12b
ja 0x40e4c2
test cl, cl
je 0x40e4c2
mov byte [ebp - 4], 2
cmp edi, 0xf
jbe 0x40e39f
mov ecx, dword [ebp - 0x130]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x40e395
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5fc
push edi
push ecx
call fcn.00439938
add esp, 8
cmp byte [ebp - 0x178], 7
jne 0x40e484
push 0x646f18
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042d1b0
test eax, eax
je 0x40e484
push 0x646f18
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 0
je 0x40e484
push 0x646f18
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042cc30
test al, al
jne 0x40e484
push 0x646f18
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042d650
test al, al
je 0x40e484
push 0x646f18
push str.time
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042c720
mov edi, edx
mov esi, eax
test edi, edi
jl 0x40e484
jg 0x40e452
test esi, esi
je 0x40e484
call fcn.00438e22
push 0
push 0x989680
push edx
push eax
call fcn.004bb300
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 0x40e501
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebp - 0x118]
push str.getSvrTime_m_svr_time_error_n
push 0xff
push eax
call fcn.00422380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40e4fa
mov byte [ebp - 4], 2
cmp edi, 0xf
jbe 0x40e4fa
mov ecx, dword [ebp - 0x130]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x40e4f0
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5fc
push edi
push ecx
call fcn.00439938
add esp, 8
mov byte [ebp - 0x161], 0
mov byte [ebp - 4], 0
movsx eax, byte [ebp - 0x178]
sub eax, 4
je 0x40e548
sub eax, 2
je 0x40e51b
sub eax, 1
jne 0x40e562
mov esi, dword [ebp - 0x180]
test esi, esi
je 0x40e562
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.004328a0
push 0x30
push dword [esi]
call fcn.00439938
push 8
push esi
call fcn.00439938
add esp, 0x10
jmp 0x40e562
test dword [ebp - 0x178], 0x100
je 0x40e562
push dword [ebp - 0x180]
call fcn.00499f16
add esp, 4
mov esi, dword [ebp - 0x174]
test esi, esi
je 0x40e597
push 0x42bd40
mov byte [ebp - 4], 8
push dword [esi - 4]
push 4
push esi
call fcn.0043a106
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.0043a018
add esp, 8
mov ecx, dword [ebp - 0x134]
xorps xmm0, xmm0
movlpd qword [ebp - 0x180], xmm0
cmp ecx, 0xf
jbe 0x40e5d8
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e5ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5fc
push ecx
push edx
call fcn.00439938
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.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00494baa
int3