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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
movsxd rdi, dword [rcx + 0x494]
lea rbx, [rcx + 0x68]
mov rsi, rcx
test edi, edi
jns 0x1400b6c5a
mov r8d, 0xb19
lea rdx, str.C:Users_risqDesktoploaderimgui.h
lea rcx, str.index___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x1400b6c5e
cmp edi, dword [rbx]
jl 0x1400b6c78
mov r8d, 0x6fe
lea rdx, str.C:Users_risqDesktoploaderimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, rdi
mov eax, 0xffff
shl r14, 5
add r14, qword [rbx + 8]
cmp word [r14 + 4], ax
jne 0x1400b6ca9
mov r8d, 0xd6f
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.r__IsPacked__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rsi], 2
mov ebx, dword [rsi + 0x40]
movzx eax, word [r14]
jne 0x1400b752c
mov ecx, 0xf5
mov qword [rsp + 0x80], r13
cmp ax, cx
jne 0x1400b6cd3
cmp word [r14 + 2], 0x1b
je 0x1400b6ced
mov r8d, 0xd75
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.r__Width__FONT_ATLAS_DEFAULT_TEX_DATA_W__2__1__r__Height__FONT_ATLAS_DEFAULT_TEX_DATA_H
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rsi + 0x30], 0
lea r12, [r14 + 6]
movzx ebx, word [r12]
movzx r13d, word [r14 + 4]
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], r15
je 0x1400b6d6d
mov byte [rsp + 0x38], 0xff
lea r15, [0x1401e14c0]
mov ebp, reloc.WLDAP32.dll_Ordinal_27
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_46
mov qword [rsp + 0x28], r15
mov r8d, ebx
mov edx, r13d
mov dword [rsp + 0x20], ebp
mov rcx, rsi
lea r9d, [rbp + 0x5f]
call fcn.1400b6b20
movzx r8d, word [r12]
lea r9d, [rbp + 0x5f]
mov byte [rsp + 0x38], 0xff
lea edx, [r13 + 0x7b]
mov byte [rsp + 0x30], 0x58
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebp
call fcn.1400b6b20
jmp 0x1400b7512
lea eax, [r13 + 0x7a]
cmp eax, dword [rsi + 0x40]
jle 0x1400b6d90
mov r8d, 0xd64
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea eax, [rbx + 0x1b]
cmp eax, dword [rsi + 0x44]
jle 0x1400b6db2
mov r8d, 0xd65
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
imul ebx, dword [rsi + 0x40]
lea rdi, [0x1401e14c2]
mov rax, qword [rsi + 0x38]
mov ebp, reloc.WLDAP32.dll_Ordinal_27
mov rdx, rdi
mov r11d, ebp
movsxd rcx, ebx
mov ebx, 0xffffffff
add rcx, r13
lea r9, [rax + rcx*4]
nop dword [rax + rax]
lea rcx, [r9 + 8]
mov r8d, 2
nop word [rax + rax]
xor eax, eax
cmp byte [rdx - 2], 0x2e
cmove eax, ebx
mov dword [rcx - 8], eax
xor eax, eax
cmp byte [rdx - 1], 0x2e
cmove eax, ebx
mov dword [rcx - 4], eax
xor eax, eax
cmp byte [rdx], 0x2e
cmove eax, ebx
mov dword [rcx], eax
xor eax, eax
cmp byte [rdx + 1], 0x2e
cmove eax, ebx
mov dword [rcx + 4], eax
xor eax, eax
cmp byte [rdx + 2], 0x2e
cmove eax, ebx
mov dword [rcx + 8], eax
xor eax, eax
cmp byte [rdx + 3], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc], eax
xor eax, eax
cmp byte [rdx + 4], 0x2e
cmove eax, ebx
mov dword [rcx + 0x10], eax
xor eax, eax
cmp byte [rdx + 5], 0x2e
cmove eax, ebx
mov dword [rcx + 0x14], eax
xor eax, eax
cmp byte [rdx + 6], 0x2e
cmove eax, ebx
mov dword [rcx + 0x18], eax
xor eax, eax
cmp byte [rdx + 7], 0x2e
cmove eax, ebx
mov dword [rcx + 0x1c], eax
xor eax, eax
cmp byte [rdx + 8], 0x2e
cmove eax, ebx
mov dword [rcx + 0x20], eax
xor eax, eax
cmp byte [rdx + 9], 0x2e
cmove eax, ebx
mov dword [rcx + 0x24], eax
xor eax, eax
cmp byte [rdx + 0xa], 0x2e
cmove eax, ebx
mov dword [rcx + 0x28], eax
xor eax, eax
cmp byte [rdx + 0xb], 0x2e
cmove eax, ebx
mov dword [rcx + 0x2c], eax
xor eax, eax
cmp byte [rdx + 0xc], 0x2e
cmove eax, ebx
mov dword [rcx + 0x30], eax
xor eax, eax
cmp byte [rdx + 0xd], 0x2e
cmove eax, ebx
mov dword [rcx + 0x34], eax
xor eax, eax
cmp byte [rdx + 0xe], 0x2e
cmove eax, ebx
mov dword [rcx + 0x38], eax
xor eax, eax
cmp byte [rdx + 0xf], 0x2e
cmove eax, ebx
mov dword [rcx + 0x3c], eax
xor eax, eax
cmp byte [rdx + 0x10], 0x2e
cmove eax, ebx
mov dword [rcx + 0x40], eax
xor eax, eax
cmp byte [rdx + 0x11], 0x2e
cmove eax, ebx
mov dword [rcx + 0x44], eax
xor eax, eax
cmp byte [rdx + 0x12], 0x2e
cmove eax, ebx
mov dword [rcx + 0x48], eax
xor eax, eax
cmp byte [rdx + 0x13], 0x2e
cmove eax, ebx
mov dword [rcx + 0x4c], eax
xor eax, eax
cmp byte [rdx + 0x14], 0x2e
cmove eax, ebx
mov dword [rcx + 0x50], eax
xor eax, eax
cmp byte [rdx + 0x15], 0x2e
cmove eax, ebx
mov dword [rcx + 0x54], eax
xor eax, eax
cmp byte [rdx + 0x16], 0x2e
cmove eax, ebx
mov dword [rcx + 0x58], eax
xor eax, eax
cmp byte [rdx + 0x17], 0x2e
cmove eax, ebx
mov dword [rcx + 0x5c], eax
xor eax, eax
cmp byte [rdx + 0x18], 0x2e
cmove eax, ebx
mov dword [rcx + 0x60], eax
xor eax, eax
cmp byte [rdx + 0x19], 0x2e
cmove eax, ebx
mov dword [rcx + 0x64], eax
xor eax, eax
cmp byte [rdx + 0x1a], 0x2e
cmove eax, ebx
mov dword [rcx + 0x68], eax
xor eax, eax
cmp byte [rdx + 0x1b], 0x2e
cmove eax, ebx
mov dword [rcx + 0x6c], eax
xor eax, eax
cmp byte [rdx + 0x1c], 0x2e
cmove eax, ebx
mov dword [rcx + 0x70], eax
xor eax, eax
cmp byte [rdx + 0x1d], 0x2e
cmove eax, ebx
mov dword [rcx + 0x74], eax
xor eax, eax
cmp byte [rdx + 0x1e], 0x2e
cmove eax, ebx
mov dword [rcx + 0x78], eax
xor eax, eax
cmp byte [rdx + 0x1f], 0x2e
cmove eax, ebx
mov dword [rcx + 0x7c], eax
xor eax, eax
cmp byte [rdx + 0x20], 0x2e
cmove eax, ebx
mov dword [rcx + 0x80], eax
xor eax, eax
cmp byte [rdx + 0x21], 0x2e
cmove eax, ebx
mov dword [rcx + 0x84], eax
xor eax, eax
cmp byte [rdx + 0x22], 0x2e
cmove eax, ebx
mov dword [rcx + 0x88], eax
xor eax, eax
cmp byte [rdx + 0x23], 0x2e
cmove eax, ebx
mov dword [rcx + 0x8c], eax
xor eax, eax
cmp byte [rdx + 0x24], 0x2e
cmove eax, ebx
mov dword [rcx + 0x90], eax
xor eax, eax
cmp byte [rdx + 0x25], 0x2e
cmove eax, ebx
mov dword [rcx + 0x94], eax
xor eax, eax
cmp byte [rdx + 0x26], 0x2e
cmove eax, ebx
mov dword [rcx + 0x98], eax
xor eax, eax
cmp byte [rdx + 0x27], 0x2e
cmove eax, ebx
mov dword [rcx + 0x9c], eax
xor eax, eax
cmp byte [rdx + 0x28], 0x2e
cmove eax, ebx
mov dword [rcx + 0xa0], eax
xor eax, eax
cmp byte [rdx + 0x29], 0x2e
cmove eax, ebx
mov dword [rcx + 0xa4], eax
xor eax, eax
cmp byte [rdx + 0x2a], 0x2e
cmove eax, ebx
mov dword [rcx + 0xa8], eax
xor eax, eax
cmp byte [rdx + 0x2b], 0x2e
cmove eax, ebx
mov dword [rcx + 0xac], eax
xor eax, eax
cmp byte [rdx + 0x2c], 0x2e
cmove eax, ebx
mov dword [rcx + 0xb0], eax
xor eax, eax
cmp byte [rdx + 0x2d], 0x2e
cmove eax, ebx
mov dword [rcx + 0xb4], eax
xor eax, eax
cmp byte [rdx + 0x2e], 0x2e
cmove eax, ebx
mov dword [rcx + 0xb8], eax
xor eax, eax
cmp byte [rdx + 0x2f], 0x2e
cmove eax, ebx
mov dword [rcx + 0xbc], eax
xor eax, eax
cmp byte [rdx + 0x30], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc0], eax
xor eax, eax
cmp byte [rdx + 0x31], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc4], eax
xor eax, eax
cmp byte [rdx + 0x32], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc8], eax
xor eax, eax
cmp byte [rdx + 0x33], 0x2e
cmove eax, ebx
mov dword [rcx + 0xcc], eax
xor eax, eax
cmp byte [rdx + 0x34], 0x2e
cmove eax, ebx
mov dword [rcx + 0xd0], eax
xor eax, eax
cmp byte [rdx + 0x35], 0x2e
cmove eax, ebx
mov dword [rcx + 0xd4], eax
xor eax, eax
cmp byte [rdx + 0x36], 0x2e
cmove eax, ebx
mov dword [rcx + 0xd8], eax
xor eax, eax
cmp byte [rdx + 0x37], 0x2e
cmove eax, ebx
mov dword [rcx + 0xdc], eax
xor eax, eax
cmp byte [rdx + 0x38], 0x2e
cmove eax, ebx
mov dword [rcx + 0xe0], eax
xor eax, eax
cmp byte [rdx + 0x39], 0x2e
cmove eax, ebx
mov dword [rcx + 0xe4], eax
xor eax, eax
cmp byte [rdx + 0x3a], 0x2e
cmove eax, ebx
add rdx, 0x3d
mov dword [rcx + 0xe8], eax
lea rcx, [rcx + 0xf4]
sub r8, 1
jne 0x1400b6df0
movsxd r10, dword [rsi + 0x40]
lea r9, [r9 + r10*4]
sub r11, 1
jne 0x1400b6de0
movzx r15d, word [r12]
lea eax, [r13 + 0xf5]
cmp eax, r10d
jle 0x1400b716d
mov r8d, 0xd64
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea eax, [r15 + 0x1b]
cmp eax, dword [rsi + 0x44]
jle 0x1400b7190
mov r8d, 0xd65
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
imul r15d, dword [rsi + 0x40]
lea eax, [r13 + 0x7b]
movsxd rcx, r15d
add rcx, rax
mov rax, qword [rsi + 0x38]
lea rdx, [rax + rcx*4]
nop word [rax + rax]
lea rcx, [rdx + 8]
mov r8d, 2
nop word [rax + rax]
xor eax, eax
cmp byte [rdi - 2], 0x58
cmove eax, ebx
mov dword [rcx - 8], eax
xor eax, eax
cmp byte [rdi - 1], 0x58
cmove eax, ebx
mov dword [rcx - 4], eax
xor eax, eax
cmp byte [rdi], 0x58
cmove eax, ebx
mov dword [rcx], eax
xor eax, eax
cmp byte [rdi + 1], 0x58
cmove eax, ebx
mov dword [rcx + 4], eax
xor eax, eax
cmp byte [rdi + 2], 0x58
cmove eax, ebx
mov dword [rcx + 8], eax
xor eax, eax
cmp byte [rdi + 3], 0x58
cmove eax, ebx
mov dword [rcx + 0xc], eax
xor eax, eax
cmp byte [rdi + 4], 0x58
cmove eax, ebx
mov dword [rcx + 0x10], eax
xor eax, eax
cmp byte [rdi + 5], 0x58
cmove eax, ebx
mov dword [rcx + 0x14], eax
xor eax, eax
cmp byte [rdi + 6], 0x58
cmove eax, ebx
mov dword [rcx + 0x18], eax
xor eax, eax
cmp byte [rdi + 7], 0x58
cmove eax, ebx
mov dword [rcx + 0x1c], eax
xor eax, eax
cmp byte [rdi + 8], 0x58
cmove eax, ebx
mov dword [rcx + 0x20], eax
xor eax, eax
cmp byte [rdi + 9], 0x58
cmove eax, ebx
mov dword [rcx + 0x24], eax
xor eax, eax
cmp byte [rdi + 0xa], 0x58
cmove eax, ebx
mov dword [rcx + 0x28], eax
xor eax, eax
cmp byte [rdi + 0xb], 0x58
cmove eax, ebx
mov dword [rcx + 0x2c], eax
xor eax, eax
cmp byte [rdi + 0xc], 0x58
cmove eax, ebx
mov dword [rcx + 0x30], eax
xor eax, eax
cmp byte [rdi + 0xd], 0x58
cmove eax, ebx
mov dword [rcx + 0x34], eax
xor eax, eax
cmp byte [rdi + 0xe], 0x58
cmove eax, ebx
mov dword [rcx + 0x38], eax
xor eax, eax
cmp byte [rdi + 0xf], 0x58
cmove eax, ebx
mov dword [rcx + 0x3c], eax
xor eax, eax
cmp byte [rdi + 0x10], 0x58
cmove eax, ebx
mov dword [rcx + 0x40], eax
xor eax, eax
cmp byte [rdi + 0x11], 0x58
cmove eax, ebx
mov dword [rcx + 0x44], eax
xor eax, eax
cmp byte [rdi + 0x12], 0x58
cmove eax, ebx
mov dword [rcx + 0x48], eax
xor eax, eax
cmp byte [rdi + 0x13], 0x58
cmove eax, ebx
mov dword [rcx + 0x4c], eax
xor eax, eax
cmp byte [rdi + 0x14], 0x58
cmove eax, ebx
mov dword [rcx + 0x50], eax
xor eax, eax
cmp byte [rdi + 0x15], 0x58
cmove eax, ebx
mov dword [rcx + 0x54], eax
xor eax, eax
cmp byte [rdi + 0x16], 0x58
cmove eax, ebx
mov dword [rcx + 0x58], eax
xor eax, eax
cmp byte [rdi + 0x17], 0x58
cmove eax, ebx
mov dword [rcx + 0x5c], eax
xor eax, eax
cmp byte [rdi + 0x18], 0x58
cmove eax, ebx
mov dword [rcx + 0x60], eax
xor eax, eax
cmp byte [rdi + 0x19], 0x58
cmove eax, ebx
mov dword [rcx + 0x64], eax
xor eax, eax
cmp byte [rdi + 0x1a], 0x58
cmove eax, ebx
mov dword [rcx + 0x68], eax
xor eax, eax
cmp byte [rdi + 0x1b], 0x58
cmove eax, ebx
mov dword [rcx + 0x6c], eax
xor eax, eax
cmp byte [rdi + 0x1c], 0x58
cmove eax, ebx
mov dword [rcx + 0x70], eax
xor eax, eax
cmp byte [rdi + 0x1d], 0x58
cmove eax, ebx
mov dword [rcx + 0x74], eax
xor eax, eax
cmp byte [rdi + 0x1e], 0x58
cmove eax, ebx
mov dword [rcx + 0x78], eax
xor eax, eax
cmp byte [rdi + 0x1f], 0x58
cmove eax, ebx
mov dword [rcx + 0x7c], eax
xor eax, eax
cmp byte [rdi + 0x20], 0x58
cmove eax, ebx
mov dword [rcx + 0x80], eax
xor eax, eax
cmp byte [rdi + 0x21], 0x58
cmove eax, ebx
mov dword [rcx + 0x84], eax
xor eax, eax
cmp byte [rdi + 0x22], 0x58
cmove eax, ebx
mov dword [rcx + 0x88], eax
xor eax, eax
cmp byte [rdi + 0x23], 0x58
cmove eax, ebx
mov dword [rcx + 0x8c], eax
xor eax, eax
cmp byte [rdi + 0x24], 0x58
cmove eax, ebx
mov dword [rcx + 0x90], eax
xor eax, eax
cmp byte [rdi + 0x25], 0x58
cmove eax, ebx
mov dword [rcx + 0x94], eax
xor eax, eax
cmp byte [rdi + 0x26], 0x58
cmove eax, ebx
mov dword [rcx + 0x98], eax
xor eax, eax
cmp byte [rdi + 0x27], 0x58
cmove eax, ebx
mov dword [rcx + 0x9c], eax
xor eax, eax
cmp byte [rdi + 0x28], 0x58
cmove eax, ebx
mov dword [rcx + 0xa0], eax
xor eax, eax
cmp byte [rdi + 0x29], 0x58
cmove eax, ebx
mov dword [rcx + 0xa4], eax
xor eax, eax
cmp byte [rdi + 0x2a], 0x58
cmove eax, ebx
mov dword [rcx + 0xa8], eax
xor eax, eax
cmp byte [rdi + 0x2b], 0x58
cmove eax, ebx
mov dword [rcx + 0xac], eax
xor eax, eax
cmp byte [rdi + 0x2c], 0x58
cmove eax, ebx
mov dword [rcx + 0xb0], eax
xor eax, eax
cmp byte [rdi + 0x2d], 0x58
cmove eax, ebx
mov dword [rcx + 0xb4], eax
xor eax, eax
cmp byte [rdi + 0x2e], 0x58
cmove eax, ebx
mov dword [rcx + 0xb8], eax
xor eax, eax
cmp byte [rdi + 0x2f], 0x58
cmove eax, ebx
mov dword [rcx + 0xbc], eax
xor eax, eax
cmp byte [rdi + 0x30], 0x58
cmove eax, ebx
mov dword [rcx + 0xc0], eax
xor eax, eax
cmp byte [rdi + 0x31], 0x58
cmove eax, ebx
mov dword [rcx + 0xc4], eax
xor eax, eax
cmp byte [rdi + 0x32], 0x58
cmove eax, ebx
mov dword [rcx + 0xc8], eax
xor eax, eax
cmp byte [rdi + 0x33], 0x58
cmove eax, ebx
mov dword [rcx + 0xcc], eax
xor eax, eax
cmp byte [rdi + 0x34], 0x58
cmove eax, ebx
mov dword [rcx + 0xd0], eax
xor eax, eax
cmp byte [rdi + 0x35], 0x58
cmove eax, ebx
mov dword [rcx + 0xd4], eax
xor eax, eax
cmp byte [rdi + 0x36], 0x58
cmove eax, ebx
mov dword [rcx + 0xd8], eax
xor eax, eax
cmp byte [rdi + 0x37], 0x58
cmove eax, ebx
mov dword [rcx + 0xdc], eax
xor eax, eax
cmp byte [rdi + 0x38], 0x58
cmove eax, ebx
mov dword [rcx + 0xe0], eax
xor eax, eax
cmp byte [rdi + 0x39], 0x58
cmove eax, ebx
mov dword [rcx + 0xe4], eax
xor eax, eax
cmp byte [rdi + 0x3a], 0x58
cmove eax, ebx
add rdi, 0x3d
mov dword [rcx + 0xe8], eax
lea rcx, [rcx + 0xf4]
sub r8, 1
jne 0x1400b71c0
movsxd rax, dword [rsi + 0x40]
lea rdx, [rdx + rax*4]
sub rbp, 1
jne 0x1400b71b0
mov r15, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
jmp 0x1400b75c0
cmp ax, 2
jne 0x1400b7539
cmp word [r14 + 2], ax
je 0x1400b7553
mov r8d, 0xd86
lea rdx, str.C:Users_risqDesktoploaderimgui_draw.cpp
lea rcx, str.r__Width__2__r__Height__2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, word [r14 + 4]
lea r12, [r14 + 6]
movzx edx, word [r12]
mov r9, qword [rsi + 0x30]
imul edx, ebx
add edx, eax
movsxd r8, edx
lea eax, [rdx + rbx]
movsxd rcx, eax
test r9, r9
je 0x1400b759b
mov byte [rcx + r9 + 1], 0xff
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 0xff
mov rax, qword [rsi + 0x30]
mov byte [r8 + rax + 1], 0xff
mov rax, qword [rsi + 0x30]
mov byte [r8 + rax], 0xff
jmp 0x1400b75c0
mov rax, qword [rsi + 0x38]
mov ebx, 0xffffffff
mov dword [rax + rcx*4 + 4], ebx
mov rax, qword [rsi + 0x38]
mov dword [rax + rcx*4], ebx
mov rax, qword [rsi + 0x38]
mov dword [rax + r8*4 + 4], ebx
mov rax, qword [rsi + 0x38]
mov dword [rax + r8*4], ebx
movzx eax, word [r14 + 4]
movd xmm2, eax
movzx eax, word [r12]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
addss xmm2, dword [0x1401c88e8]
cvtdq2ps xmm1, xmm1
mulss xmm2, dword [rsi + 0x48]
addss xmm1, dword [0x1401c88e8]
movss dword [rsi + 0x50], xmm2
mulss xmm1, dword [rsi + 0x4c]
movss dword [rsi + 0x54], xmm1
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret