Function at 0x140052430
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x14006d010]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x140052495
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140052495
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.14003b700
test eax, eax
je 0x14005251b
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14006dd00], eax
jle 0x1400524f4
lea rcx, [0x14006dd00]
call fcn.140057c78
cmp dword [0x14006dd00], 0xffffffff
jne 0x1400524f4
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14006dd10], rax
lea rcx, [0x14006dd00]
call fcn.140057c18
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x14006dd10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005251b
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x1400525a0
mov edx, 3
lea ecx, [rdx + 3]
call fcn.14003b700
test eax, eax
je 0x14005259a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14006dd08], eax
jle 0x140052578
lea rcx, [0x14006dd08]
call fcn.140057c78
cmp dword [0x14006dd08], 0xffffffff
jne 0x140052578
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14006dcf0], rax
lea rcx, [0x14006dd08]
call fcn.140057c18
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x14006dcf0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005259a
mov ecx, 2
call rax
jmp 0x1400525a0
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x100], 0x50
mov dword [rbp + 0x104], 0x40
lea rax, [0x1400522d0]
mov qword [rbp + 0x108], rax
xor edi, edi
mov qword [rbp + 0x110], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x118], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x130], xmm1
lea rbx, str.Kenemation_Launcher
mov qword [rbp + 0x140], rbx
xor eax, eax
mov qword [rbp + 0x148], rax
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rdi
mov rax, qword [rbp + 0x118]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x1a4], rdi
mov qword [rbp + 0x1b8], 2
mov qword [rbp + 0x1d0], 2
mov qword [rbp + 0x190], rdi
mov dword [rbp + 0x1a0], 0x1c
mov dword [rbp + 0x198], 0x3c
mov dword [rbp + 0x19c], 1
mov dword [rbp + 0x1b4], 0x20
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1ac], 1
mov qword [rbp + 0x1c8], 1
mov dword [rbp + 0x248], 0xb000
mov dword [rbp + 0x24c], 0xa000
lea rax, [0x14006dc08]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x50], rax
lea rax, [0x14006dbf8]
mov qword [rsp + 0x48], rax
lea rax, [0x14006dc10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x248]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140052777
call fcn.140052250
mov rdx, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x1400535c3
call fcn.1400521e0
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14006dbe8]
test rbx, rbx
je 0x1400527a2
inc dword [rbx + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xf0], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x248], rcx
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x1400527d8
xor edx, edx
mov rcx, rax
call fcn.140001570
jmp 0x1400527db
mov rax, rdi
mov qword [0x14006dbe8], rax
call fcn.140009530
mov r13, qword [0x14006dbe8]
test rbx, rbx
cmovne r13, rbx
mov qword [0x14006dbe8], r13
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.14002e9c0
mov rsi, qword [0x14006dbe8]
mov ebx, 0xffff
test dword [r13 + 8], 0x400
je 0x140052b07
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rsp + 0x70], xmm6
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm6
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], bx
mov r15, qword [r13 + 0x50]
lea rdx, [0x14005bd4c]
lea rcx, str.FontsFont.otf
call fcn.1400032a0
mov rbx, rax
test rax, rax
je 0x140052abe
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140052ab5
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140052ab5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140052ab3
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140052ab3
cmp rdi, 0xffffffffffffffff
je 0x140052ab3
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x1400528fb
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140052ab3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140052954
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x140052944
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
jmp 0x140052abe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x190], xmm2
movaps xmm3, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x1a0], xmm3
movaps xmmword [rbp + 0x1b0], xmm6
xorps xmm4, xmm4
movaps xmmword [rbp + 0x1c0], xmm4
movaps xmm5, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x1d0], xmm5
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x1e0], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x1f0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x200], xmm8
movsd xmm9, qword [rbp - 0x10]
movsd qword [rbp + 0x210], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140052a5f
lea r9, [0x1400614de]
lea rdx, str.FontsFont.otf
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400529f7
cmp al, 0x5c
je 0x1400529f7
mov r9, rcx
cmp rcx, rdx
ja 0x1400529e0
movsd xmm0, qword [0x1400617b0]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x1e6]
call fcn.140003170
movsd xmm9, qword [rbp + 0x210]
movaps xmm8, xmmword [rbp + 0x200]
movaps xmm7, xmmword [rbp + 0x1f0]
movaps xmm1, xmmword [rbp + 0x1e0]
movaps xmm5, xmmword [rbp + 0x1d0]
movaps xmm4, xmmword [rbp + 0x1c0]
movaps xmm6, xmmword [rbp + 0x1b0]
movaps xmm3, xmmword [rbp + 0x1a0]
movaps xmm2, xmmword [rbp + 0x190]
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm5
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x20], xmm8
movsd qword [rbp - 0x10], xmm9
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], edi
mov dword [rbp - 0x7c], 0x41780000
lea rax, [0x1400606c0]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400334d0
xor edi, edi
jmp 0x140052abe
xor edi, edi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movss xmm1, dword [0x1400617a8]
lea rcx, [rsi + 0x3908]
call fcn.140002530
mov qword [rsi + 0x3910], 0
mov rax, qword [0x14006dbe8]
mov dword [rax + 0x394c], 0x447a0000
mov dword [rax + 0x391c], 0xbc23d70a
mov dword [rsi + 0x39fc], 0x3f800000
mov ebx, 0xffff
mov edx, 2
mov rcx, r12
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], rcx
mov dword [rbp + 0x220], 0x28
lea rdx, [rbp + 0x220]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x230]
sub eax, dword [rbp + 0x228]
cmp eax, 0x438
jle 0x140052bfb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], rax
mov byte [rbp + 0x19c], 1
mov dword [rbp + 0x1a8], 3
mov dword [rbp + 0x1ac], 1
mov dword [rbp + 0x1d4], 0x7f7fffff
mov dword [rbp + 0x1e0], 0x3f800000
mov word [rbp + 0x1e4], bx
mov dword [rbp + 0x1a4], 0x41d00000
mov rax, qword [0x14006dbe8]
lea rdx, [rbp + 0x190]
mov rcx, qword [rax + 0x50]
call fcn.140033790
mov rax, qword [0x14006dbe8]
mov qword [rax + 0x20], rdi
mov rcx, r12
call fcn.1400397f0
mov r14, qword [0x14006dc08]
mov rsi, qword [0x14006dbf8]
mov rdi, qword [0x14006dbe8]
test rdi, rdi
je 0x140052c2e
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x140052c7f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
xor r12d, r12d
jmp 0x140052c85
xor r12d, r12d
mov ebx, r12d
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rbp + 0xf8], r12
mov qword [rbp + 0x248], r12
mov qword [rbp + 0xf0], r12
mov rax, qword [rsi]
lea r8, [rbp + 0xf8]
lea rdx, [0x140060be8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140052d20
mov rcx, qword [rbp + 0xf8]
mov rax, qword [rcx]
lea r8, [rbp + 0x248]
lea rdx, [0x140060bf8]
call qword [rax + 0x30]
test eax, eax
jne 0x140052d20
mov rcx, qword [rbp + 0x248]
mov rax, qword [rcx]
lea r8, [rbp + 0xf0]
lea rdx, [0x140060c18]
call qword [rax + 0x30]
test eax, eax
jne 0x140052d20
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0xf0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140052d32
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x248]
test rcx, rcx
je 0x140052d44
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + htons]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + htons]
test dword [rdi + 8], 0x400
je 0x140052dad
mov rax, qword [0x14006dbe8]
lea rcx, [0x140039450]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x1400395a0]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x140039630]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140039720]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x1400397d0]
mov qword [rax + 0x38c0], rcx
xor r15b, r15b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], rax
lea rax, [rbp]
mov qword [rbp + 0xf0], rax
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8d, recv
lea rdx, str.Settings.ini
lea rcx, [rbp]
call fcn.140056010
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
xor r8d, r8d
lea rdx, [0x14005bc1e]
lea rcx, [rbp + 0x20]
call fcn.140056010
nop
lea r8, [rbp]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x170]
call fcn.14004ead0
nop
lea rcx, [0x14006dc50]
lea r14, [0x14006d050]
mov rdx, qword [rbp + 0x170]
mov rdi, qword [rbp + 0x178]
cmp rdx, rdi
je 0x14005308f
sub rdi, rdx
sar rdi, 5
test edi, edi
js 0x140052eb1
cmp rcx, rdx
je 0x140052eb1
mov rsi, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140052e6c
mov rdx, qword [rdx]
mov rax, qword [0x14006dc68]
cmp rsi, rax
ja 0x140052e9f
mov rbx, rcx
cmp rax, 0x10
cmovae rbx, qword [0x14006dc50]
mov qword [0x14006dc60], rsi
mov r8, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140052eaa
mov r9, rdx
mov rdx, rsi
call fcn.140056640
mov rdx, qword [rbp + 0x170]
cmp edi, 1
jl 0x140052f54
lea r9, [rdx + 0x20]
cmp r14, r9
je 0x140052f12
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x140052ed1
mov r9, qword [r9]
mov rax, qword [0x14006d068]
cmp rsi, rax
ja 0x140052f07
mov rbx, r14
cmp rax, 0x10
cmovae rbx, qword [0x14006d050]
mov qword [0x14006d060], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140052f12
mov rdx, rsi
mov rcx, r14
call fcn.140056640
mov edx, r12d
mov rcx, r12
mov r8, qword [0x14006dc28]
nop
mov rax, r14
cmp qword [0x14006d068], 0x10
cmovae rax, qword [0x14006d050]
movzx eax, byte [rcx + rax]
mov byte [rcx + r8], al
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, qword [0x14006d060]
jbe 0x140052f20
mov rdx, qword [rbp + 0x170]
cmp edi, 2
jl 0x140052ff3
add rdx, 0x40
lea rcx, [rbp + 0x150]
call fcn.1400544f0
mov edx, r12d
mov rcx, r12
mov r10, qword [0x14006dc20]
mov r9, qword [rbp + 0x168]
mov r11, qword [rbp + 0x160]
mov r8, qword [rbp + 0x150]
nop
lea rax, [rbp + 0x150]
cmp r9, 0x10
cmovae rax, r8
movzx eax, byte [rcx + rax]
mov byte [rcx + r10], al
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r11
jbe 0x140052f90
cmp r9, 0x10
jb 0x140052fec
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140052fe4
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053080
mov rcx, r8
call fcn.1400580a8
mov rdx, qword [rbp + 0x170]
cmp edi, 3
jl 0x14005308f
add rdx, 0x60
lea rcx, [rbp + 0x150]
call fcn.1400544f0
mov edx, r12d
mov rcx, r12
mov r10, qword [0x14006dc18]
mov r9, qword [rbp + 0x168]
mov r11, qword [rbp + 0x160]
mov r8, qword [rbp + 0x150]
nop
lea rax, [rbp + 0x150]
cmp r9, 0x10
cmovae rax, r8
movzx eax, byte [rax + rcx]
mov byte [rcx + r10], al
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r11
jbe 0x140053030
cmp r9, 0x10
jb 0x14005308f
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140053087
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053087
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400580a8
mov edi, 1
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140053100
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx r15d, r15b
cmp dword [rbp + 0x198], 0x12
cmove r15d, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1400530b1
test r15b, r15b
jne 0x1400532b1
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x140053115
mov rcx, qword [rax + 0xa0]
jmp 0x140053118
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x140053124
call fcn.140038f30
call fcn.14003a670
call fcn.140008340
call fcn.140051c60
call fcn.14000af10
call fcn.14000b420
movaps xmm0, xmmword [0x140061c90]
movups xmmword [rbp + 0x250], xmm0
mov rcx, qword [0x14006dc08]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14006dc00]
mov edx, edi
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x14006dc08]
mov rax, qword [rcx]
lea r8, [rbp + 0x250]
mov rdx, qword [0x14006dc00]
call qword [rax + 0x190]
mov rax, qword [0x14006dbe8]
mov rax, qword [rax + 0x4210]
mov rcx, qword [rax]
add rcx, 0xa8
mov rax, r12
cmp byte [rcx], 0
cmovne rax, rcx
mov rcx, rax
call fcn.1400382b0
test dword [r13 + 8], 0x400
je 0x140053292
call fcn.14001c1f0
mov rbx, qword [0x14006dbe8]
mov r14d, edi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140053231
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005321a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140053207
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14005321a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x38d8]
cmp r14d, eax
jl 0x1400531e0
mov edi, 1
mov r14d, edi
cmp eax, 1
jle 0x14005328f
mov esi, 8
nop
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005327a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140053267
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14005327a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140053240
mov edi, 1
xor r12d, r12d
mov rcx, qword [0x14006dc10]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
cmp byte [0x14006d048], 1
je 0x140053094
lea rax, [rbp + 0x40]
mov qword [rbp + 0xf0], rax
mov rdx, qword [0x14006dc18]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400532e0
lea rcx, [rbp + 0x40]
call fcn.140056010
nop
lea rax, [rbp + 0x60]
mov qword [rbp + 0x248], rax
mov rdx, qword [0x14006dc20]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r12
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140053315
mov r8, rbx
lea rcx, [rbp + 0x60]
call fcn.140056010
nop
lea rax, [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
lea rdx, [0x14006d050]
lea rcx, [rbp + 0xb0]
call fcn.1400544f0
mov rdi, rax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xa0], rax
lea rdx, [0x14006dc50]
lea rcx, [rbp + 0xd0]
call fcn.1400544f0
mov rbx, rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], r12
mov r8d, recv
lea rdx, str.Settings.ini
lea rcx, [rbp + 0x80]
call fcn.140056010
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], r12
xor r8d, r8d
lea rdx, [0x14005bc1e]
lea rcx, [rbp + 0x150]
call fcn.140056010
nop
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x150]
call fcn.14004efa0
mov rdi, qword [0x14006dbe8]
test rdi, rdi
je 0x140053422
mov rbx, qword [rdi + 0xa0]
jmp 0x140053425
mov rbx, r12
call fcn.14001c7f0
call fcn.140039330
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005343e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005344c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005345b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x14005347b
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006dbe8]
test rbx, rbx
je 0x140053499
mov rdi, qword [rbx + 0x98]
jmp 0x14005349c
mov rdi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.14001c7f0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400534c8
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x1400534e8
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006dbe8]
mov qword [0x14006dbe8], rbx
call fcn.140009890
mov qword [0x14006dbe8], r12
test rbx, rbx
je 0x140053533
mov rcx, rbx
call fcn.140027390
mov rax, qword [0x14006dbe8]
test rax, rax
je 0x14005352a
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14006dc00]
test rcx, rcx
je 0x14005354c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14006dc00], r12
mov rcx, qword [0x14006dc10]
test rcx, rcx
je 0x140053565
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14006dc10], r12
mov rcx, qword [0x14006dc08]
test rcx, rcx
je 0x14005357e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14006dc08], r12
mov rcx, qword [0x14006dbf8]
test rcx, rcx
je 0x140053597
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14006dbf8], r12
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.USER32.dll_UnregisterClassA]
nop
lea rcx, [rbp + 0x170]
call fcn.140054300
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140057b00
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret