Function at 0x14004ef90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
call fcn.1400482f0
nop
lea rax, vtable.CCustomJapan.0
mov qword [rdi], rax
lea rcx, [rdi + 0x88]
call fcn.140081e70
nop
lea rcx, [rdi + 0xe0]
call fcn.140081e70
nop
lea rcx, [rdi + 0x138]
call fcn.140081e70
nop
lea rcx, [rdi + 0x190]
call fcn.140081e70
nop
lea rcx, [rdi + 0x1e8]
call fcn.140081e70
nop
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x18], ebx
mov dword [rdi + 0x240], 0xa
test rsi, rsi
jne 0x14004f038
lea r8, str.CustomJapan.cpp
lea edx, [rsi + 0xe]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x14004f525
xor eax, eax
mov dword [rdi + 0x80], eax
test dword [rsi + 0xcc], 0x200000
je 0x14004f053
mov dword [rdi + 0x2c], 2
mov eax, dword [rsi + 0x70]
shr eax, 0x15
xor eax, dword [rdi + 0x80]
and eax, 1
xor dword [rdi + 0x80], eax
movzx eax, word [rsi + 0x44a]
mov edx, 0x1033
cmp ax, dx
je 0x14004f0c7
mov edx, 0x10cf
cmp ax, dx
je 0x14004f0a8
mov edx, 0x1179
cmp ax, dx
jne 0x14004f0dc
or dword [rsi + 0x30], 0x100
mov rax, qword [rdi + 0x10]
or dword [rax + 0x3c], 0x10
mov dword [rdi + 0x240], 0x50
jmp 0x14004f0dc
or dword [rsi + 0x30], 0x8000000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x1000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x10000000
jmp 0x14004f0dc
mov dword [rdi + 0x20], 1
mov dword [rdi + 0x1c], 1
or dword [rsi + 0x2c], 0x40000
mov ecx, dword [rdi + 0x18]
cmp ecx, 0x2711
jg 0x14004f1da
je 0x14004f228
cmp ecx, 0x90
jg 0x14004f18d
je 0x14004f179
cmp ecx, 0xb
jl 0x14004f2c6
cmp ecx, 0xc
jle 0x14004f138
cmp ecx, 0x38
je 0x14004f12b
cmp ecx, 0x7c
jne 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x40000
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 4
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 4
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 1
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x70], 8
cmp dword [rdi + 0x18], 0xc
jne 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x8000
or dword [rdi + 0x80], 1
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 4
or dword [rdi + 0x80], 1
jmp 0x14004f2c6
cmp ecx, 0xd6
je 0x14004f1b0
lea eax, [rcx - 0x188]
cmp eax, 1
ja 0x14004f2c6
or dword [rdi + 0x80], 1
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 1
mov rax, qword [rdi + 0x10]
mov ecx, 0x506
cmp cx, word [rax + 0x44c]
jne 0x14004f2c6
mov dword [rdi + 0x2c], 3
jmp 0x14004f2c6
cmp ecx, 0x4e29
jg 0x14004f279
je 0x14004f250
cmp ecx, 0x2715
je 0x14004f238
cmp ecx, 0x2716
je 0x14004f228
lea eax, [rcx - 0x4e21]
cmp eax, 2
ja 0x14004f2c6
mov dword [rdi + 0x20], 0
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 0x1e
mov dword [rdi + 0x1c], 1
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x10000000
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x10000000
mov rax, qword [rdi + 0x10]
and dword [rax + 0x30], 0xf7ffffff
jmp 0x14004f2c6
mov dword [rdi + 0x20], 0
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 5
mov dword [rdi + 0x1c], 1
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x10000
jmp 0x14004f2c6
sub ecx, 0x4e2a
je 0x14004f2be
cmp ecx, 4
jne 0x14004f2c6
mov dword [rdi + 0x20], 0
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x24], 5
mov dword [rdi + 0x1c], 1
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x10000
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
or dword [rdi + 0x80], 0x20
jmp 0x14004f2c6
mov rax, qword [rdi + 0x10]
or dword [rax + 0x34], 0x40
movzx ecx, word [rsi + 0x44a]
shl ecx, 0x10
movzx eax, word [rsi + 0x448]
or ecx, eax
mov r9d, 0xfe
cmp ecx, 0x10cf1539
ja 0x14004f318
je 0x14004f30c
sub ecx, 0x10cf13c2
je 0x14004f30c
sub ecx, 0xb3
je 0x14004f30c
sub ecx, 0x31
je 0x14004f30c
sub ecx, 0x20
je 0x14004f30c
cmp ecx, 0x2a
jne 0x14004f4c0
or dword [rdi + 0x80], 1
jmp 0x14004f4c0
cmp ecx, 0x11790001
je 0x14004f4b9
cmp ecx, 0x1179fc30
je 0x14004f452
cmp ecx, 0x1179fdc0
je 0x14004f41e
cmp ecx, 0x1179ff00
jne 0x14004f4c0
mov rcx, qword [rdi + 0x10]
movzx edx, word [rcx + 0x44c]
mov eax, 0x8c
add eax, edx
mov r8d, 0xfffd
test r8w, ax
je 0x14004f370
mov eax, 0xff78
cmp ax, dx
jne 0x14004f382
or dword [rcx + 0x30], 0x4000000
or dword [rdi + 0x80], 8
mov rcx, qword [rdi + 0x10]
movzx edx, word [rcx + 0x44c]
lea eax, [r9 + rdx]
cmp ax, 0x2e
ja 0x14004f3a6
movzx eax, ax
movabs r8, 0x400000000015
bt r8, rax
jb 0x14004f3c9
lea eax, [rdx + 0x7a]
cmp ax, 0x2c
ja 0x14004f3bf
movabs r8, 0x100100000001
bt r8, rax
jb 0x14004f3c9
mov eax, 0xffb4
cmp ax, dx
jne 0x14004f3d8
or dword [rcx + 0x34], 0x40
or dword [rdi + 0x80], 0x10
mov rcx, qword [rdi + 0x10]
mov eax, 0xff08
cmp ax, word [rcx + 0x44c]
jne 0x14004f3f5
or dword [rcx + 0x34], 0x40
or dword [rdi + 0x80], 0x20
mov rcx, qword [rdi + 0x10]
movzx eax, word [rcx + 0x44c]
add ax, 0x78
mov edx, 0xffdf
test dx, ax
jne 0x14004f4c0
or dword [rcx + 0x34], 0x40
or dword [rdi + 0x80], 0x20
jmp 0x14004f4c0
mov rcx, qword [rdi + 0x10]
movzx edx, word [rcx + 0x44c]
mov eax, 0x23e
add eax, edx
cmp ax, 8
ja 0x14004f442
mov r8d, 0x155
bt r8d, eax
jb 0x14004f44c
mov eax, 0xfd3a
cmp dx, ax
jne 0x14004f4c0
or dword [rcx + 0x34], 0x40
jmp 0x14004f4a4
mov rdx, qword [rdi + 0x10]
movzx ecx, word [rdx + 0x44c]
mov eax, 0x37c
add eax, ecx
cmp ax, 0x10
ja 0x14004f479
movzx eax, ax
mov r8d, 0x10015
bt r8d, eax
jb 0x14004f4a0
mov eax, 0x3fc
add eax, ecx
cmp ax, 0x34
ja 0x14004f496
movabs r8, 0x15000000000015
bt r8, rax
jb 0x14004f4a0
mov eax, 0xfdc0
cmp cx, ax
jne 0x14004f4c0
or dword [rdx + 0x34], 0x40
mov rax, qword [rdi + 0x10]
or dword [rax + 0x44], 2
mov rax, qword [rdi + 0x10]
or dword [rax + 0x4c], 0x2000
jmp 0x14004f4c0
or dword [rdi + 0x80], 2
movzx ecx, word [rsi + 0x44e]
shl ecx, 0x10
movzx eax, word [rsi + 0x44c]
or ecx, eax
cmp ecx, 0x11790662
ja 0x14004f503
je 0x14004f4ef
sub ecx, 0x11790560
je 0x14004f51a
sub ecx, 2
je 0x14004f51a
cmp ecx, r9d
jne 0x14004f525
mov rax, qword [rdi + 0x10]
or dword [rax + 0x30], 0x4000000
or dword [rdi + 0x80], 8
jmp 0x14004f525
sub ecx, 0x1179ff0a
je 0x14004f51a
cmp ecx, 0x36
jne 0x14004f525
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 8
jmp 0x14004f525
mov rax, qword [rdi + 0x10]
or dword [rax + 0x2c], 0x10000000
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret