Function at 0x14003f9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1400cd240]
mov rdi, rax
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x14003fa26
cmp byte [rax + 1], 0
je 0x14003fa26
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x14003fa26
mov rcx, rbx
call fcn.1400784a0
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fa16
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400cd240]
xor r12d, r12d
mov qword [rdi + 0x58], r12
mov rcx, qword [rdi + 0x3d80]
test rcx, rcx
je 0x14003fa5f
mov qword [rdi + 0x3d78], r12
test rax, rax
je 0x14003fa4b
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3d80], r12
mov rax, qword [0x1400cd240]
cmp byte [rdi], r12b
je 0x140040281
cmp byte [rdi + 0x5dc0], r12b
je 0x14003fac9
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14003fac9
mov dword [rax + 0x5dc4], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.14005a390
mov rsi, rax
lea rdx, [0x1400af018]
mov rcx, rbx
call fcn.14003c410
mov rbx, rax
test rax, rax
je 0x14003fac9
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.14005d8a0
mov esi, r12d
mov eax, dword [rdi + 0x5d80]
test eax, eax
jle 0x14003fb4b
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14003faea
cmp esi, eax
jl 0x14003fb04
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x5d88]
mov rbx, qword [r14 + rax + 8]
test rbx, rbx
je 0x14003fb38
mov rcx, rbx
call fcn.14005fe30
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fb2f
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
inc rbp
add r14, 0x10
mov eax, dword [rdi + 0x5d80]
cmp esi, eax
jl 0x14003fae1
mov edx, 6
mov rcx, rdi
call fcn.1400402a0
mov esi, r12d
cmp dword [rdi + 0x3fa8], r12d
jle 0x14003fbb1
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x3fb0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14003fba3
mov rcx, rbx
call fcn.1400409b0
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fb9a
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add r14, 8
cmp esi, dword [rdi + 0x3fa8]
jl 0x14003fb70
mov rcx, qword [rdi + 0x3fb0]
test rcx, rcx
je 0x14003fbe3
mov qword [rdi + 0x3fa8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fbd6
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fb0], r12
mov rcx, qword [rdi + 0x3fc0]
test rcx, rcx
je 0x14003fc15
mov qword [rdi + 0x3fb8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fc08
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fc0], r12
mov rcx, qword [rdi + 0x3fd0]
test rcx, rcx
je 0x14003fc47
mov qword [rdi + 0x3fc8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fc3a
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fd0], r12
mov qword [rdi + 0x4008], r12
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x14003fc80
mov qword [rdi + 0x3fd8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fc73
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fe0], r12
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x14003fcb2
mov qword [rdi + 0x3fe8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fca5
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3ff0], r12
mov qword [rdi + 0x4a68], r12
mov qword [rdi + 0x4018], r12
mov qword [rdi + 0x4010], r12
mov qword [rdi + 0x40a0], r12
mov qword [rdi + 0x4088], r12
mov qword [rdi + 0x4020], r12
lea rcx, [rdi + 0x4740]
call fcn.14003a120
mov rcx, qword [rdi + 0x4978]
test rcx, rcx
je 0x14003fd1a
mov qword [rdi + 0x4970], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fd0d
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4978], r12
mov rcx, qword [rdi + 0x4988]
test rcx, rcx
je 0x14003fd4c
mov qword [rdi + 0x4980], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fd3f
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4988], r12
mov rcx, qword [rdi + 0x4998]
test rcx, rcx
je 0x14003fd7e
mov qword [rdi + 0x4990], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fd71
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4998], r12
mov rcx, qword [rdi + 0x49d8]
test rcx, rcx
je 0x14003fdb0
mov qword [rdi + 0x49d0], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fda3
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x49d8], r12
mov rcx, qword [rdi + 0x49e8]
test rcx, rcx
je 0x14003fde2
mov qword [rdi + 0x49e0], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fdd5
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x49e8], r12
mov qword [rdi + 0x4a20], r12
mov qword [rdi + 0x4a18], r12
mov qword [rdi + 0x4a10], r12
mov ebx, r12d
cmp dword [rdi + 0x49f8], r12d
jle 0x14003fe2e
mov rsi, r12
nop word [rax + rax]
mov rcx, qword [rdi + 0x4a00]
mov rcx, qword [rsi + rcx]
call fcn.14006b6b0
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x49f8]
jl 0x14003fe10
mov rcx, qword [rdi + 0x4a00]
test rcx, rcx
je 0x14003fe60
mov qword [rdi + 0x49f8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fe53
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4a00], r12
lea rcx, [rdi + 0x4d38]
call fcn.14006a310
mov rcx, qword [rdi + 0x4d68]
test rcx, rcx
je 0x14003fe9e
mov qword [rdi + 0x4d60], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fe91
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4d68], r12
mov rcx, qword [rdi + 0x4d78]
test rcx, rcx
je 0x14003fed0
mov qword [rdi + 0x4d70], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003fec3
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4d78], r12
mov ebx, r12d
cmp dword [rdi + 0x4cb8], r12d
jle 0x14003ff18
mov rsi, r12
nop
mov rax, qword [rdi + 0x4cc0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14003ff0a
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003ff03
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4cb8]
jl 0x14003fee0
mov rcx, qword [rdi + 0x4cc0]
test rcx, rcx
je 0x14003ff4a
mov qword [rdi + 0x4cb8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003ff3d
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4cc0], r12
lea rcx, [rdi + 0x4ce8]
call fcn.14006a470
mov esi, r12d
cmp dword [rdi + 0x4cd8], r12d
jle 0x14003ffb5
mov rbp, r12
nop word [rax + rax]
mov rbx, qword [rdi + 0x4ce0]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.140077760
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x14003ffa7
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003ffa0
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc esi
add rbp, 0x70
cmp esi, dword [rdi + 0x4cd8]
jl 0x14003ff70
mov rcx, qword [rdi + 0x4ce0]
test rcx, rcx
je 0x14003ffe7
mov qword [rdi + 0x4cd8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14003ffda
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4ce0], r12
mov rcx, qword [rdi + 0x4d28]
test rcx, rcx
je 0x140040019
mov qword [rdi + 0x4d20], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14004000c
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4d28], r12
mov rcx, qword [rdi + 0x5d40]
test rcx, rcx
je 0x14004004b
mov qword [rdi + 0x5d38], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14004003e
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5d40], r12
mov rcx, qword [rdi + 0x5d50]
test rcx, rcx
je 0x14004007d
mov qword [rdi + 0x5d48], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x140040070
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5d50], r12
mov rcx, qword [rdi + 0x4db8]
test rcx, rcx
je 0x1400400af
mov qword [rdi + 0x4db0], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x1400400a2
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4db8], r12
mov rcx, qword [rdi + 0x4dc8]
test rcx, rcx
je 0x1400400e1
mov qword [rdi + 0x4dc0], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x1400400d4
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4dc8], r12
mov rcx, qword [rdi + 0x4dd8]
test rcx, rcx
je 0x140040113
mov qword [rdi + 0x4dd0], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x140040106
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4dd8], r12
mov dword [rdi + 0x5c28], r12d
mov rcx, qword [rdi + 0x5c38]
test rcx, rcx
je 0x14004014c
mov qword [rdi + 0x5c30], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14004013f
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5c38], r12
mov rcx, qword [rdi + 0x5df0]
test rcx, rcx
je 0x14004017e
mov qword [rdi + 0x5de8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x140040171
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5df0], r12
mov rcx, qword [rdi + 0x5de0]
test rcx, rcx
je 0x1400401b0
mov qword [rdi + 0x5dd8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x1400401a3
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5de0], r12
cmp qword [rdi + 0x5e68], 0
je 0x1400401e1
mov rbx, qword [rdi + 0x5e68]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x1400401da
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x5e68], r12
mov rcx, qword [rdi + 0x5e78]
test rcx, rcx
je 0x140040213
mov qword [rdi + 0x5e70], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x140040206
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5e78], r12
mov rcx, qword [rdi + 0x5eb0]
test rcx, rcx
je 0x140040245
mov qword [rdi + 0x5ea8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x140040238
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5eb0], r12
mov rcx, qword [rdi + 0x5ec0]
test rcx, rcx
je 0x140040277
mov qword [rdi + 0x5eb8], r12
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14004026a
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5ec0], r12
mov dword [rdi + 0x5ec8], r12d
mov byte [rdi], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret