Function at 0x1000cc20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011c05
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10017040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push 0x30
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1000d101
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.hook.ini
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.10004850
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.10005bf0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000ccef
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cce5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cce5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d131
add esp, 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.DEBUG
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.10006e10
cmp eax, 1
jne 0x1000cd53
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x1000cd53
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x10012d90
lea eax, [ebp - 0x34]
push str.CONOUT_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
push str.zh_ch
push 2
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
add esp, 0x1c
push 0x3a4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.MODE
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.10006e10
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 1
jne 0x1000cdc2
call fcn.1000ca70
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000af20
push 0x100178f8
call fcn.1000f1f0
call fcn.1000f7f0
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000c4c0
push 0x10017914
call fcn.1000f1f0
call fcn.1000f7f0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.MODE
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.10006e10
cmp eax, 2
jne 0x1000ce2b
call fcn.1000ca70
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000b430
push 0x100178fc
call fcn.1000f1f0
call fcn.1000f7f0
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000b850
push 0x10017910
call fcn.1000f1f0
call fcn.1000f7f0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.MODE
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.10006e10
cmp eax, 3
jne 0x1000ceb5
call fcn.1000ca70
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000af20
push 0x100178f8
call fcn.1000f1f0
call fcn.1000f7f0
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000c4c0
push 0x10017914
call fcn.1000f1f0
call fcn.1000f7f0
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push 0x1000b430
push 0x100178fc
call fcn.1000f1f0
call fcn.1000f7f0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.CHANGEWINDOW
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.10006e10
cmp eax, 1
jne 0x1000cf32
call fcn.1000f790
call esi
push eax
call fcn.1000fc60
push str.Window_Text_func_HOOKED__n
call fcn.10002950
add esp, 4
push 0x100029a0
push 0x100178d8
call fcn.1000f1f0
push 0x10003080
push 0x100178e4
call fcn.1000f1f0
push 0x10003700
push 0x100178dc
call fcn.1000f1f0
push 0x10003d80
push 0x100178e0
call fcn.1000f1f0
call fcn.1000f7f0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x10012df4
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.10006e10
cmp eax, 1
jne 0x1000cfa0
push 0x13
push str.Tokyo_Standard_Time
mov ecx, 0x100170e0
mov dword [0x100178c8], 0x3a4
mov dword [0x100178d0], 0x411
mov dword [0x100178cc], 0x80
call fcn.10002220
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a4
je 0x1000cfa0
lea ecx, [ebp - 0x2c]
call fcn.10005240
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.TextOutA
push str.TEXTREPLACE
lea ecx, [ebp - 0x18]
call fcn.10006e10
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.10004ff0
push 0x30
push dword [ebp - 0x18]
call fcn.1000d131
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000d0ee
mov esp, ebp
pop ebp
ret