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

Disassembly:
sub esp, 0x600
mov eax, dword [0x101e6198]
xor eax, esp
mov dword [esp + 0x5fc], eax
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 0x4c]
push edi
mov ecx, ebp
lea edi, [esi + 0x5c]
call dword [0x10123bd8]
dec eax
push eax
mov ecx, ebp
call dword [0x10123bdc]
dec eax
push eax
xor ebp, ebp
push ebp
push ebp
mov ecx, edi
call dword [0x10123bd4]
mov ecx, edi
call dword [0x10123bdc]
mov ebx, eax
dec ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
call dword [0x10123bd8]
dec eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x74], ebp
mov ecx, dword [esi + 0x94]
sub ecx, dword [esi + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x80]
add eax, dword [esi + 0x84]
xor edi, edi
sar ecx, 2
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], edi
test ecx, ecx
jbe 0x100ba611
mov edx, dword [esi + 0x90]
mov ebx, dword [edx + edi*4]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov dword [esp + 0x30], eax
mov ax, word [ecx]
shr ax, 0xa
and al, 1
mov byte [esp + 0x12], al
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x58], ebx
call sym.i3FrameworkDx.dll_public:_int___thiscall_i3UIText::_GetAccCharacterCount_int__int_
push 0x3fc
lea ecx, [esp + 0x114]
push 0
push ecx
mov dword [esp + 0x60], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x118], 0
call fcn.100ed5b0
push 0xff
lea edx, [esp + 0x51d]
push 0
push edx
mov byte [esp + 0x524], 0
call fcn.100ed5b0
add esp, 0x18
cmp byte [esp + 0x12], 0
je 0x100ba341
mov eax, dword [esi + 0x38]
test al, 4
je 0x100ba341
test al, 0x10
jne 0x100ba341
mov ecx, dword [ebx + 0x10]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
jle 0x100ba302
lea esp, [esp]
mov edx, dword [ebx + 0x24]
test byte [edx + eax], 4
je 0x100ba2fd
inc dword [esp + 0x14]
inc eax
cmp eax, ecx
jl 0x100ba2f0
mov ecx, dword [esi + 0x7c]
imul ecx, dword [esp + 0x14]
add ecx, dword [ebx]
mov eax, dword [esp + 0x40]
add ecx, ebp
cmp ecx, eax
jl 0x100ba341
lea edx, [esp + 0x50c]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x110]
push ecx
push eax
push ebp
push edx
lea eax, [esi + 0x9c]
push eax
push ebx
mov ecx, esi
call sym.i3FrameworkDx.dll_protected:_void___thiscall_i3UIText::_GenGlyphIndexTable_struct_SCRIPT_RUN_const___class_i3::vector_class_i3UIGlyph___class_i3::pool_allocator_class_i3UIGlyph____const___int__int__int__int___bool__
mov byte [esp + 0x13], 1
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], ecx
jle 0x100ba5d4
cmp byte [esp + 0x12], 0
mov edi, ecx
je 0x100ba391
cmp byte [esp + 0x13], 0
je 0x100ba38c
cmp byte [esp + ecx + 0x50c], 1
mov edi, dword [esp + ecx*4 + 0x10c]
jne 0x100ba391
mov edx, dword [esp + 0x34]
mov ebp, dword [esi + 0x5c]
add dword [esp + 0x2c], edx
inc dword [esp + 0x18]
mov dword [esp + 0x28], ebp
jmp 0x100ba391
sub eax, ecx
dec eax
mov edi, eax
mov eax, dword [ebx + 0x24]
test byte [edi + eax], 4
je 0x100ba5c0
mov ecx, dword [ebx + 0xc]
cmp word [ecx + edi*2], 0xa
jne 0x100ba3dd
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sym.i3FrameworkDx.dll_public:_class_i3UILetter____thiscall_i3UIText::AddNullLetter_struct_I3UI_TEXT_PARSE_CTX__
mov ecx, dword [esp + 0x54]
lea edx, [edi + ecx]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0xc]
mov dx, word [ecx + edi*2]
mov word [eax + 0xa], dx
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], eax
mov ebp, dword [esi + 0x5c]
inc dword [esp + 0x18]
jmp 0x100ba5b8
mov ecx, dword [esp + 0x54]
lea edx, [edi + ecx]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
xor eax, eax
sar ecx, 2
mov dword [esp + 0x5c], edx
test ecx, ecx
jbe 0x100ba428
mov edx, dword [esi + 0x10]
lea ebx, [ebx]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x5c]
cmp dword [ecx], ebx
jg 0x100ba413
cmp ebx, dword [ecx + 4]
jl 0x100ba638
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
inc eax
sar ecx, 2
add edx, 4
cmp eax, ecx
jb 0x100ba400
mov ebx, dword [esp + 0x50]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, 0xa0
lea eax, [esp + 0x6c]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x100ba438
lea edx, [esp + 0x68]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [0x101eb500]
push edx
push edi
lea eax, [esi + 0x9c]
push eax
push ebx
call sym.i3FrameworkDx.dll_public:_int___thiscall_i3UIUniscribe::GenClusterInfo_struct_SCRIPT_RUN_const___class_i3::vector_class_i3UIGlyph___class_i3::pool_allocator_class_i3UIGlyph____const___int__int__struct_SPRITE_INFO___struct__ABC___int__
mov edx, dword [esi + 0x38]
mov dword [esp + 0x64], eax
test dl, 4
je 0x100ba4e8
test dl, 0x10
jne 0x100ba4e8
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add ecx, eax
add ecx, ebp
cmp ecx, dword [esp + 0x40]
jb 0x100ba4e8
mov ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x2c]
cmp ebp, ecx
je 0x100ba4a9
add eax, dword [esp + 0x34]
inc dword [esp + 0x18]
mov ebp, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
test dl, 0x20
je 0x100ba4e8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100ba4e0
jmp 0x100ba4c0
movsx edx, word [ecx + 4]
or word [ecx + 8], 1
mov word [ecx], bp
mov word [ecx + 2], ax
mov ecx, dword [ecx + 0xc0]
add ebp, edx
test ecx, ecx
jne 0x100ba4c0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x44]
test eax, eax
jge 0x100ba4f6
add ebp, eax
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call sym.i3FrameworkDx.dll_public:_class_i3UILetter____thiscall_i3UIText::AddLetter_struct_I3UI_TEXT_PARSE_CTX___struct_SPRITE_INFO___int_
cmp dword [esp + 0x14], 0
movzx edx, word [esp + 0x18]
mov cl, byte [esp + 0x12]
mov byte [eax + 0xc5], cl
mov word [eax + 0xc6], dx
mov ecx, dword [ebx + 0xc]
movzx edx, word [ecx + edi*2]
mov word [eax + 0xa], dx
jne 0x100ba538
mov dword [esp + 0x14], eax
mov ecx, dword [ebx + 0xc]
cmp word [ecx + edi*2], 0x20
jne 0x100ba54a
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
test edx, edx
jle 0x100ba558
add ecx, edx
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x100ba562
add ecx, edx
or word [eax + 8], 1
mov ebp, dword [esp + 0x28]
mov word [eax + 4], cx
movzx ecx, word [eax + 8]
mov dx, word [esi + 0x84]
or ecx, 1
mov word [eax + 6], dx
mov word [eax + 8], cx
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x100ba58f
add ebp, ecx
mov edi, dword [esp + 0x48]
mov edx, dword [esi + 0x74]
mov ecx, edi
sub ecx, dword [esi + 0x5c]
add ecx, ebp
cmp edx, ecx
jle 0x100ba5a3
mov ecx, edx
mov edx, dword [esi + 0x7c]
add edx, dword [esp + 0x4c]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x5c]
add edx, edi
add ebp, edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ebp
mov eax, dword [ebx + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x100ba356
mov edi, dword [esp + 0x58]
mov edx, dword [ebx + 0x10]
add dword [esp + 0x38], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x1c], eax
add ecx, edx
mov dword [esi + 0x78], ecx
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x90]
inc edi
sar eax, 2
mov dword [esp + 0x58], edi
cmp edi, eax
jb 0x100ba253
mov ebx, dword [esp + 0x40]
xor ebp, ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sym.i3FrameworkDx.dll_public:_class_i3UILetter____thiscall_i3UIText::AddNullLetter_struct_I3UI_TEXT_PARSE_CTX__
cmp dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
jle 0x100ba644
movsx eax, word [esp + 0x18]
inc eax
mov dword [esi + 0xd0], eax
jmp 0x100ba64a
mov ecx, dword [ecx + 0x44]
mov ebx, dword [esp + 0x50]
jmp 0x100ba42b
mov dword [esi + 0xd0], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebp
je 0x100ba662
push edi
mov ecx, esi
call sym.i3FrameworkDx.dll_public:_void___thiscall_i3UIText::FreeLetterList_class_i3UILetter__
cmp dword [esi + 0x1c], edi
jne 0x100ba662
mov dword [esi + 0x1c], ebp
push ebx
mov ecx, esi
call sym.i3FrameworkDx.dll_public:_void___thiscall_i3UIText::_AlignLettersX_int_
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, esi
call sym.i3FrameworkDx.dll_public:_void___thiscall_i3UIText::_AlignLettersY_int_
call sym.i3FrameworkDx.dll_public:_void___thiscall_i3UIText::RenderText_void_
mov ecx, dword [esp + 0x60c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ed375
add esp, 0x600
ret