Function at 0x140036720
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 0x14003675a
mov r8d, 0xba1
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui.h
lea rcx, str.index___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x14003675e
cmp edi, dword [rbx]
jl 0x140036778
mov r8d, 0x73f
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui.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 0x1400367a9
mov r8d, 0xdc7
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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 0x14003702c
mov ecx, 0xf5
mov qword [rsp + 0x80], r13
cmp ax, cx
jne 0x1400367d3
cmp word [r14 + 2], 0x1b
je 0x1400367ed
mov r8d, 0xdcd
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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 0x14003686d
mov byte [rsp + 0x38], 0xff
lea r15, str...___________XXXXXXX_____X________________X____________XXXXXXX_____________________XXXXXXX______XX____________XX_______XX_..___________X.....X____X.X______________X.X___________X.....X_____________________X.....X_____X..X__________X..X_____X..X_____________XXX.XXX___X...X____________X...X__________X....X_______________________X....X_____X..X__________X...X___X...XX______________X.X____X.....X__________X.....X_________X...X_________________________X...X_____X..X___________X...X_X...X_XX_____________X.X___X.......X________X.......X________X..X.X_______________________X.X..X_____X..X____________X...X...X__X.X____________X.X___XXXX.XXXX________XXXX.XXXX________X.X_X.X_____________________X.X_X.X_____X..XXX___________X.....X___X..X___________X.X______X.X______________X.X___________XX___X.X___________________X.X___XX_____X..X..XXX_________X...X____X...X__________X.X______X.X________XX____X.X____XX___________X.X_________________X.X___________X..X..X..XX________X.X_____X....X_________X.X______X.X_______X.X____X.X____X.X___________X.X_______________X.X____________X..X..X..X.X______X...X____X.....X________X.X______X.X______X..X____X.X____X..X___________X.X_____________X.X_________XXX_X..X..X..X..X____X.....X___X......X_______X.X______X.X_____X...XXXXXX.XXXXXX...X___________X.X___XX_XX___X.X__________X..XX........X..X___X...X...X__X.......X______X.X______X.X____X.....................X___________X.X_X.X_X.X_X.X___________X...X...........X__X...X_X...X_X........X_____X.X______X.X_____X...XXXXXX.XXXXXX...X_____________X.X..X_X..X.X_____________X..............X_X...X___X...XX.........X__XXX.XXX____X.X______X..X____X.X____X..X_______________X...X_X...X_______________X.............X_X..X_____X..XX..........X_X.....X____X.X_______X.X____X.X____X.X_______________X....X_X....X______________X.............X__XX_______XX_X......XXXXX_XXXXXXX____X.X________XX____X.X____XX_______________X.....X_X.....X______________X............X______________X...X..X________________X.X______________X.X_____________________XXXXXXX_XXXXXXX______________X...........X_______________X..X_X..X____________XXXX.XXXX________XXXX.XXXX________________________________________________X..........X_______________X.X__X..X____________X.......X________X.......X____________XX___________XX_____________________X..........X_______________XX____X..X____________X.....X__________X.....X____________X.X___________X.X_____________________X........X______________________X..X_____________X...X____________X...X____________X..X___________X..X____________________X........X_______________________XX_______________X.X______________X.X____________X...XXXXXXXXXXXXX...X___________________XXXXXXXXXX_________________________________________X________________X____________X.....................X____________________________________________________________________________________________________X...XXXXXXXXXXXXX...X______________________________________________________________________________________________________X..X___________X..X________________________________________________________________________________________________________X.X___________X.X__________________________________________________________________________________________________________XX___________XX_____
mov ebp, 0x1b
mov byte [rsp + 0x30], 0x2e
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.140036620
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.140036620
jmp 0x140037012
lea eax, [r13 + 0x7a]
cmp eax, dword [rsi + 0x40]
jle 0x140036890
mov r8d, 0xdbc
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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 0x1400368b2
mov r8d, 0xdbd
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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, [0x1400d58d2]
mov rax, qword [rsi + 0x38]
mov ebp, 0x1b
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 0x1400368f0
movsxd r10, dword [rsi + 0x40]
lea r9, [r9 + r10*4]
sub r11, 1
jne 0x1400368e0
movzx r15d, word [r12]
lea eax, [r13 + 0xf5]
cmp eax, r10d
jle 0x140036c6d
mov r8d, 0xdbc
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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 0x140036c90
mov r8d, 0xdbd
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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 0x140036cc0
movsxd rax, dword [rsi + 0x40]
lea rdx, [rdx + rax*4]
sub rbp, 1
jne 0x140036cb0
mov r15, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
jmp 0x1400370c0
cmp ax, 2
jne 0x140037039
cmp word [r14 + 2], ax
je 0x140037053
mov r8d, 0xdde
lea rdx, str.C:jprojectsdma_sources_aethacs2menuimguiimgui_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 0x14003709b
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 0x1400370c0
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 [0x1400d56c0]
cvtdq2ps xmm1, xmm1
mulss xmm2, dword [rsi + 0x48]
addss xmm1, dword [0x1400d56c0]
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