Function at 0x100151d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bfb5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1004a0c0]
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.10016deb
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.10005970
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.10009d10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1001529d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015293
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015538
push ecx
push edx
call fcn.10016e1b
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.1000ade0
cmp eax, 1
jne 0x100152fe
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x100152fe
push 1
call fcn.10021416
push eax
push 0x10045a08
lea eax, [ebp - 0x34]
push str.CONOUT_
push eax
call fcn.10027022
push str.zh_ch
push 2
call fcn.10026ee2
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.1000ade0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 1
jne 0x10015368
call fcn.10019750
call esi
push eax
call fcn.10019c20
push 0x10013350
push 0x1004c2ec
call fcn.100191b0
call fcn.100197b0
call fcn.10019750
call esi
push eax
call fcn.10019c20
push 0x10014bd0
push 0x1004c308
call fcn.100191b0
call fcn.100197b0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.MODE
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.1000ade0
cmp eax, 2
jne 0x10015394
call fcn.10013c30
call fcn.10014220
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.MODE
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.1000ade0
cmp eax, 3
jne 0x100153fd
call fcn.10019750
call esi
push eax
call fcn.10019c20
push 0x10013350
push 0x1004c2ec
call fcn.100191b0
call fcn.100197b0
call fcn.10019750
call esi
push eax
call fcn.10019c20
push 0x10014bd0
push 0x1004c308
call fcn.100191b0
call fcn.100197b0
call fcn.10013c30
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.CHANGEWINDOW
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.1000ade0
cmp eax, 1
jne 0x1001547a
call fcn.10019750
call esi
push eax
call fcn.10019c20
push str.Window_Text_func_HOOKED__n
call fcn.10006bb0
add esp, 4
push 0x10006bf0
push 0x1004c2cc
call fcn.100191b0
push 0x10007260
push 0x1004c2d8
call fcn.100191b0
push 0x100078f0
push 0x1004c2d0
call fcn.100191b0
push 0x10007f50
push 0x1004c2d4
call fcn.100191b0
call fcn.100197b0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x10045a3c
push str.GLOBAL
lea ecx, [ebp - 0x18]
call fcn.1000ade0
cmp eax, 1
jne 0x100154f1
push 0x13
push str.Tokyo_Standard_Time
mov ecx, 0x1004ab8c
mov dword [0x1004c2bc], 0x3a4
mov dword [0x1004c2c4], 0x411
mov dword [0x1004c2c0], 0x80
call fcn.10004f30
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a4
je 0x100154f1
lea ecx, [ebp - 0x2c]
call fcn.10009400
test al, al
jne 0x10015530
push str._Failed_to_relaunch._Continuing_with_default_locale_n
call fcn.10006bb0
add esp, 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push str.TextOutA
push str.TEXTREPLACE
lea ecx, [ebp - 0x18]
call fcn.1000ade0
lea ecx, [ebp - 0x18]
call fcn.100086e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016dd8
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.100212fd
int3