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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movsxd r14, edx
mov esi, r8d
lea rbx, 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 rbp, rcx
test edx, edx
js 0x140041b07
lea eax, [r14 + 0x7a]
cmp eax, dword [rcx + 0x30]
jle 0x140041b20
mov r8d, 0xa63
lea rdx, str.E:CodecppOcean2Ocean2guiimguiimgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call fcn.140100ffc
test esi, esi
js 0x140041b2c
lea eax, [rsi + 0x1b]
cmp eax, dword [rbp + 0x34]
jle 0x140041b45
mov r8d, 0xa64
lea rdx, str.E:CodecppOcean2Ocean2guiimguiimgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call fcn.140100ffc
imul esi, dword [rbp + 0x30]
mov r10d, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rbp + 0x28]
movzx r8d, byte [rsp + 0x60]
movsxd rcx, esi
mov esi, 0xffffffff
add rcx, r14
lea r9, [rax + rcx*4]
nop dword [rax + rax]
lea rdx, [rbx + 2]
mov r11d, 2
lea rax, [r9 + 8]
nop
xor ecx, ecx
cmp byte [rdx - 2], r8b
cmove ecx, esi
mov dword [rax - 8], ecx
xor ecx, ecx
cmp byte [rdx - 1], r8b
cmove ecx, esi
mov dword [rax - 4], ecx
xor ecx, ecx
cmp byte [rdx], r8b
cmove ecx, esi
mov dword [rax], ecx
xor ecx, ecx
cmp byte [rdx + 1], r8b
cmove ecx, esi
mov dword [rax + 4], ecx
xor ecx, ecx
cmp byte [rdx + 2], r8b
cmove ecx, esi
mov dword [rax + 8], ecx
xor ecx, ecx
cmp byte [rdx + 3], r8b
cmove ecx, esi
mov dword [rax + 0xc], ecx
xor ecx, ecx
cmp byte [rdx + 4], r8b
cmove ecx, esi
mov dword [rax + 0x10], ecx
xor ecx, ecx
cmp byte [rdx + 5], r8b
cmove ecx, esi
mov dword [rax + 0x14], ecx
xor ecx, ecx
cmp byte [rdx + 6], r8b
cmove ecx, esi
mov dword [rax + 0x18], ecx
xor ecx, ecx
cmp byte [rdx + 7], r8b
cmove ecx, esi
mov dword [rax + 0x1c], ecx
xor ecx, ecx
cmp byte [rdx + 8], r8b
cmove ecx, esi
mov dword [rax + 0x20], ecx
xor ecx, ecx
cmp byte [rdx + 9], r8b
cmove ecx, esi
mov dword [rax + 0x24], ecx
xor ecx, ecx
cmp byte [rdx + 0xa], r8b
cmove ecx, esi
mov dword [rax + 0x28], ecx
xor ecx, ecx
cmp byte [rdx + 0xb], r8b
cmove ecx, esi
mov dword [rax + 0x2c], ecx
xor ecx, ecx
cmp byte [rdx + 0xc], r8b
cmove ecx, esi
mov dword [rax + 0x30], ecx
xor ecx, ecx
cmp byte [rdx + 0xd], r8b
cmove ecx, esi
mov dword [rax + 0x34], ecx
xor ecx, ecx
cmp byte [rdx + 0xe], r8b
cmove ecx, esi
mov dword [rax + 0x38], ecx
xor ecx, ecx
cmp byte [rdx + 0xf], r8b
cmove ecx, esi
mov dword [rax + 0x3c], ecx
xor ecx, ecx
cmp byte [rdx + 0x10], r8b
cmove ecx, esi
mov dword [rax + 0x40], ecx
xor ecx, ecx
cmp byte [rdx + 0x11], r8b
cmove ecx, esi
mov dword [rax + 0x44], ecx
xor ecx, ecx
cmp byte [rdx + 0x12], r8b
cmove ecx, esi
mov dword [rax + 0x48], ecx
xor ecx, ecx
cmp byte [rdx + 0x13], r8b
cmove ecx, esi
mov dword [rax + 0x4c], ecx
xor ecx, ecx
cmp byte [rdx + 0x14], r8b
cmove ecx, esi
mov dword [rax + 0x50], ecx
xor ecx, ecx
cmp byte [rdx + 0x15], r8b
cmove ecx, esi
mov dword [rax + 0x54], ecx
xor ecx, ecx
cmp byte [rdx + 0x16], r8b
cmove ecx, esi
mov dword [rax + 0x58], ecx
xor ecx, ecx
cmp byte [rdx + 0x17], r8b
cmove ecx, esi
mov dword [rax + 0x5c], ecx
xor ecx, ecx
cmp byte [rdx + 0x18], r8b
cmove ecx, esi
mov dword [rax + 0x60], ecx
xor ecx, ecx
cmp byte [rdx + 0x19], r8b
cmove ecx, esi
mov dword [rax + 0x64], ecx
xor ecx, ecx
cmp byte [rdx + 0x1a], r8b
cmove ecx, esi
mov dword [rax + 0x68], ecx
xor ecx, ecx
cmp byte [rdx + 0x1b], r8b
cmove ecx, esi
mov dword [rax + 0x6c], ecx
xor ecx, ecx
cmp byte [rdx + 0x1c], r8b
cmove ecx, esi
mov dword [rax + 0x70], ecx
xor ecx, ecx
cmp byte [rdx + 0x1d], r8b
cmove ecx, esi
mov dword [rax + 0x74], ecx
xor ecx, ecx
cmp byte [rdx + 0x1e], r8b
cmove ecx, esi
mov dword [rax + 0x78], ecx
xor ecx, ecx
cmp byte [rdx + 0x1f], r8b
cmove ecx, esi
mov dword [rax + 0x7c], ecx
xor ecx, ecx
cmp byte [rdx + 0x20], r8b
cmove ecx, esi
mov dword [rax + 0x80], ecx
xor ecx, ecx
cmp byte [rdx + 0x21], r8b
cmove ecx, esi
mov dword [rax + 0x84], ecx
xor ecx, ecx
cmp byte [rdx + 0x22], r8b
cmove ecx, esi
mov dword [rax + 0x88], ecx
xor ecx, ecx
cmp byte [rdx + 0x23], r8b
cmove ecx, esi
mov dword [rax + 0x8c], ecx
xor ecx, ecx
cmp byte [rdx + 0x24], r8b
cmove ecx, esi
mov dword [rax + 0x90], ecx
xor ecx, ecx
cmp byte [rdx + 0x25], r8b
cmove ecx, esi
mov dword [rax + 0x94], ecx
xor ecx, ecx
cmp byte [rdx + 0x26], r8b
cmove ecx, esi
mov dword [rax + 0x98], ecx
xor ecx, ecx
cmp byte [rdx + 0x27], r8b
cmove ecx, esi
mov dword [rax + 0x9c], ecx
xor ecx, ecx
cmp byte [rdx + 0x28], r8b
cmove ecx, esi
mov dword [rax + 0xa0], ecx
xor ecx, ecx
cmp byte [rdx + 0x29], r8b
cmove ecx, esi
mov dword [rax + 0xa4], ecx
xor ecx, ecx
cmp byte [rdx + 0x2a], r8b
cmove ecx, esi
mov dword [rax + 0xa8], ecx
xor ecx, ecx
cmp byte [rdx + 0x2b], r8b
cmove ecx, esi
mov dword [rax + 0xac], ecx
xor ecx, ecx
cmp byte [rdx + 0x2c], r8b
cmove ecx, esi
mov dword [rax + 0xb0], ecx
xor ecx, ecx
cmp byte [rdx + 0x2d], r8b
cmove ecx, esi
mov dword [rax + 0xb4], ecx
xor ecx, ecx
cmp byte [rdx + 0x2e], r8b
cmove ecx, esi
mov dword [rax + 0xb8], ecx
xor ecx, ecx
cmp byte [rdx + 0x2f], r8b
cmove ecx, esi
mov dword [rax + 0xbc], ecx
xor ecx, ecx
cmp byte [rdx + 0x30], r8b
cmove ecx, esi
mov dword [rax + 0xc0], ecx
xor ecx, ecx
cmp byte [rdx + 0x31], r8b
cmove ecx, esi
mov dword [rax + 0xc4], ecx
xor ecx, ecx
cmp byte [rdx + 0x32], r8b
cmove ecx, esi
mov dword [rax + 0xc8], ecx
xor ecx, ecx
cmp byte [rdx + 0x33], r8b
cmove ecx, esi
mov dword [rax + 0xcc], ecx
xor ecx, ecx
cmp byte [rdx + 0x34], r8b
cmove ecx, esi
mov dword [rax + 0xd0], ecx
xor ecx, ecx
cmp byte [rdx + 0x35], r8b
cmove ecx, esi
mov dword [rax + 0xd4], ecx
xor ecx, ecx
cmp byte [rdx + 0x36], r8b
cmove ecx, esi
mov dword [rax + 0xd8], ecx
xor ecx, ecx
cmp byte [rdx + 0x37], r8b
cmove ecx, esi
mov dword [rax + 0xdc], ecx
xor ecx, ecx
cmp byte [rdx + 0x38], r8b
cmove ecx, esi
mov dword [rax + 0xe0], ecx
xor ecx, ecx
cmp byte [rdx + 0x39], r8b
cmove ecx, esi
mov dword [rax + 0xe4], ecx
xor ecx, ecx
cmp byte [rdx + 0x3a], r8b
cmove ecx, esi
mov dword [rax + 0xe8], ecx
lea rax, [rax + 0xf4]
lea rdx, [rdx + 0x3d]
sub r11, 1
jne 0x140041b80
movsxd rax, dword [rbp + 0x30]
add rbx, 0x7a
lea r9, [r9 + rax*4]
sub r10, 1
jne 0x140041b70
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret