Function at 0x180055b70
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 + 0x484]
lea rbx, [rcx + 0x58]
mov rsi, rcx
test edi, edi
jns 0x180055baa
mov r8d, 0xa90
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui.h
lea rcx, str.index___0
call qword [0x1800e6ad0]
jmp 0x180055bae
cmp edi, dword [rbx]
jl 0x180055bc8
mov r8d, 0x6bd
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [0x1800e6ad0]
mov r14, rdi
mov eax, 0xffff
shl r14, 5
add r14, qword [rbx + 8]
cmp word [r14 + 4], ax
jne 0x180055bf9
mov r8d, 0xab5
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_draw.cpp
lea rcx, str.r__IsPacked__
call qword [0x1800e6ad0]
test byte [rsi], 2
mov ebx, dword [rsi + 0x30]
movzx eax, word [r14]
jne 0x18005635c
mov ecx, 0xd9
mov qword [rsp + 0x80], r13
cmp ax, cx
jne 0x180055c23
cmp word [r14 + 2], 0x1b
je 0x180055c3d
mov r8d, 0xabb
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_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 [0x1800e6ad0]
cmp qword [rsi + 0x20], 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 0x180055cbd
mov byte [rsp + 0x38], 0xff
lea r15, str...___________XXXXXXX_____X________________X____________XXXXXXX_____________________XXXXXXX______XX__________..___________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____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___XXXX.XXXX________XXXX.XXXX________X.X_X.X_____________________X.X_X.X_____X..XXX_______X..X___________X.X______X.X______________X.X___________XX___X.X___________________X.X___XX_____X..X..XXX____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_________XXX_X..X..X..X..XX......X_______X.X______X.X_____X...XXXXXX.XXXXXX...X___________X.X___XX_XX___X.X__________X..XX........X..XX.......X______X.X______X.X____X.....................X___________X.X_X.X_X.X_X.X___________X...X...........XX........X_____X.X______X.X_____X...XXXXXX.XXXXXX...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.............XX..........X_X.....X____X.X_______X.X____X.X____X.X_______________X....X_X....X______________X.............XX......XXXXX_XXXXXXX____X.X________XX____X.X____XX_______________X.....X_X.....X______________X............XX...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 + 0x51]
call fcn.180055a70
movzx r8d, word [r12]
lea r9d, [rbp + 0x51]
mov byte [rsp + 0x38], 0xff
lea edx, [r13 + 0x6d]
mov byte [rsp + 0x30], 0x58
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebp
call fcn.180055a70
jmp 0x180056342
lea eax, [r13 + 0x6c]
cmp eax, dword [rsi + 0x30]
jle 0x180055ce0
mov r8d, 0xaaa
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call qword [0x1800e6ad0]
lea eax, [rbx + 0x1b]
cmp eax, dword [rsi + 0x34]
jle 0x180055d02
mov r8d, 0xaab
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call qword [0x1800e6ad0]
imul ebx, dword [rsi + 0x30]
lea rdi, [0x180164a32]
mov rax, qword [rsi + 0x28]
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
lea rcx, [rcx + 0xd8]
xor eax, eax
cmp byte [rdx + 0x27], 0x2e
cmove eax, ebx
mov dword [rcx - 0x3c], eax
xor eax, eax
cmp byte [rdx + 0x28], 0x2e
cmove eax, ebx
mov dword [rcx - 0x38], eax
xor eax, eax
cmp byte [rdx + 0x29], 0x2e
cmove eax, ebx
mov dword [rcx - 0x34], eax
xor eax, eax
cmp byte [rdx + 0x2a], 0x2e
cmove eax, ebx
mov dword [rcx - 0x30], eax
xor eax, eax
cmp byte [rdx + 0x2b], 0x2e
cmove eax, ebx
mov dword [rcx - 0x2c], eax
xor eax, eax
cmp byte [rdx + 0x2c], 0x2e
cmove eax, ebx
mov dword [rcx - 0x28], eax
xor eax, eax
cmp byte [rdx + 0x2d], 0x2e
cmove eax, ebx
mov dword [rcx - 0x24], eax
xor eax, eax
cmp byte [rdx + 0x2e], 0x2e
cmove eax, ebx
mov dword [rcx - 0x20], eax
xor eax, eax
cmp byte [rdx + 0x2f], 0x2e
cmove eax, ebx
mov dword [rcx - 0x1c], eax
xor eax, eax
cmp byte [rdx + 0x30], 0x2e
cmove eax, ebx
mov dword [rcx - 0x18], eax
xor eax, eax
cmp byte [rdx + 0x31], 0x2e
cmove eax, ebx
mov dword [rcx - 0x14], eax
xor eax, eax
cmp byte [rdx + 0x32], 0x2e
cmove eax, ebx
mov dword [rcx - 0x10], eax
xor eax, eax
cmp byte [rdx + 0x33], 0x2e
cmove eax, ebx
add rdx, 0x36
mov dword [rcx - 0xc], eax
sub r8, 1
jne 0x180055d40
movsxd r10, dword [rsi + 0x30]
lea r9, [r9 + r10*4]
sub r11, 1
jne 0x180055d30
movzx r15d, word [r12]
lea eax, [r13 + 0xd9]
cmp eax, r10d
jle 0x18005602d
mov r8d, 0xaaa
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call qword [0x1800e6ad0]
lea eax, [r15 + 0x1b]
cmp eax, dword [rsi + 0x34]
jle 0x180056050
mov r8d, 0xaab
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call qword [0x1800e6ad0]
imul r15d, dword [rsi + 0x30]
lea eax, [r13 + 0x6d]
movsxd rcx, r15d
add rcx, rax
mov rax, qword [rsi + 0x28]
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
lea rcx, [rcx + 0xd8]
xor eax, eax
cmp byte [rdi + 0x27], 0x58
cmove eax, ebx
mov dword [rcx - 0x3c], eax
xor eax, eax
cmp byte [rdi + 0x28], 0x58
cmove eax, ebx
mov dword [rcx - 0x38], eax
xor eax, eax
cmp byte [rdi + 0x29], 0x58
cmove eax, ebx
mov dword [rcx - 0x34], eax
xor eax, eax
cmp byte [rdi + 0x2a], 0x58
cmove eax, ebx
mov dword [rcx - 0x30], eax
xor eax, eax
cmp byte [rdi + 0x2b], 0x58
cmove eax, ebx
mov dword [rcx - 0x2c], eax
xor eax, eax
cmp byte [rdi + 0x2c], 0x58
cmove eax, ebx
mov dword [rcx - 0x28], eax
xor eax, eax
cmp byte [rdi + 0x2d], 0x58
cmove eax, ebx
mov dword [rcx - 0x24], eax
xor eax, eax
cmp byte [rdi + 0x2e], 0x58
cmove eax, ebx
mov dword [rcx - 0x20], eax
xor eax, eax
cmp byte [rdi + 0x2f], 0x58
cmove eax, ebx
mov dword [rcx - 0x1c], eax
xor eax, eax
cmp byte [rdi + 0x30], 0x58
cmove eax, ebx
mov dword [rcx - 0x18], eax
xor eax, eax
cmp byte [rdi + 0x31], 0x58
cmove eax, ebx
mov dword [rcx - 0x14], eax
xor eax, eax
cmp byte [rdi + 0x32], 0x58
cmove eax, ebx
mov dword [rcx - 0x10], eax
xor eax, eax
cmp byte [rdi + 0x33], 0x58
cmove eax, ebx
add rdi, 0x36
mov dword [rcx - 0xc], eax
sub r8, 1
jne 0x180056080
movsxd rax, dword [rsi + 0x30]
lea rdx, [rdx + rax*4]
sub rbp, 1
jne 0x180056070
mov r15, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
jmp 0x1800563f0
cmp ax, 2
jne 0x180056369
cmp word [r14 + 2], ax
je 0x180056383
mov r8d, 0xacc
lea rdx, str.C:TD_FilesTDFiveMV4.2imguiimgui_draw.cpp
lea rcx, str.r__Width__2__r__Height__2
call qword [0x1800e6ad0]
movzx eax, word [r14 + 4]
lea r12, [r14 + 6]
movzx edx, word [r12]
mov r9, qword [rsi + 0x20]
imul edx, ebx
add edx, eax
movsxd r8, edx
lea eax, [rdx + rbx]
movsxd rcx, eax
test r9, r9
je 0x1800563cb
mov byte [r9 + rcx + 1], 0xff
mov rax, qword [rsi + 0x20]
mov byte [rcx + rax], 0xff
mov rax, qword [rsi + 0x20]
mov byte [r8 + rax + 1], 0xff
mov rax, qword [rsi + 0x20]
mov byte [r8 + rax], 0xff
jmp 0x1800563f0
mov rax, qword [rsi + 0x28]
mov ebx, 0xffffffff
mov dword [rax + rcx*4 + 4], ebx
mov rax, qword [rsi + 0x28]
mov dword [rax + rcx*4], ebx
mov rax, qword [rsi + 0x28]
mov dword [rax + r8*4 + 4], ebx
mov rax, qword [rsi + 0x28]
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 [0x18015a9b0]
cvtdq2ps xmm1, xmm1
mulss xmm2, dword [rsi + 0x38]
addss xmm1, dword [0x18015a9b0]
movss dword [rsi + 0x40], xmm2
mulss xmm1, dword [rsi + 0x3c]
movss dword [rsi + 0x44], xmm1
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret