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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002f4d6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1004304c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x1004304c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0xa0], 0
mov dword [esp + 0x1c], ebx
je 0x1001eb1d
push ebx
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0xf0], 0
mov dword [esp + 0x50], eax
je 0x1001e69c
mov eax, dword [esi + 0xec]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
jmp 0x1001e69e
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [esi + 0xa1], 0
mov dword [esp + 0x34], eax
je 0x1001e6bb
mov ecx, dword [esi + 0xe8]
push ecx
jmp 0x1001e6c2
mov edx, dword [esi + 0x134]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x4c], eax
call fcn.1001ec60
mov eax, dword [esi + 0xf4]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
lea eax, [esi + 0xa8]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0xa0], 0
cmp dword [esp + 0x8c], 8
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jae 0x1001e72e
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push 0x400
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp byte [esi + 0x114], 0
mov edi, eax
mov dword [esp + 0x48], edi
je 0x1001e953
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x118]
add eax, ecx
add ecx, edi
cdq
idiv ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x10]
add ecx, edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x1001ead8
jmp 0x1001e7b4
mov ecx, dword [esp + 0x20]
lea edi, [ecx + 1]
cmp edi, dword [esi + 0xbc]
mov byte [esp + 0x17], 1
jge 0x1001e8ee
mov ebx, edi
sub ebx, ecx
jmp 0x1001e7d4
mov ecx, dword [esp + 0x20]
push ebx
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esi + 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x1001e81e
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push 0x400
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x40]
add ecx, 0x10
cmp ecx, dword [esi + 0xc]
jg 0x1001e85b
inc edi
inc ebx
cmp edi, dword [esi + 0xbc]
jl 0x1001e7d0
jmp 0x1001e8ea
cmp dword [esp + 0x18], 1
mov dword [esp + 0x20], edi
mov byte [esp + 0x17], 0
jne 0x1001e8ea
mov edx, dword [esp + 0x88]
dec edx
push edx
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 2
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x10036dc0
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 3
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x1001e900
lea eax, [esp + 0x78]
mov ecx, dword [esi + 0xfc]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x118]
add eax, dword [esp + 0x48]
lea edx, [esp + 0x24]
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
dec dword [esp + 0x18]
cmp byte [esp + 0x17], 0
jne 0x1001ead8
cmp dword [esp + 0x18], 0
jg 0x1001e7b0
jmp 0x1001ead8
cmp byte [esi + 0x100], 0
mov ecx, dword [esp + 0x40]
je 0x1001e98a
mov eax, dword [esi + 0x104]
test eax, eax
jle 0x1001e97e
mov edx, ecx
sub edx, dword [esp + 0x38]
cmp edx, eax
jle 0x1001e97e
mov edx, dword [esi + 4]
add edx, eax
mov dword [esi + 0xc], edx
jmp 0x1001e98a
mov eax, dword [esi + 4]
sub eax, dword [esp + 0x38]
add eax, ecx
mov dword [esi + 0xc], eax
cmp ecx, dword [esi + 0xc]
jle 0x1001ea75
xor edi, edi
cmp dword [esi + 0xbc], edi
jle 0x1001ea71
test edi, edi
jne 0x1001e9b6
push 0x10036dc0
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
jmp 0x1001ea2c
push edi
push 0
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esi + 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 4
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x10036dc0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 5
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x1001ea3e
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push 0x400
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x40]
add eax, 0x10
cmp eax, dword [esi + 0xc]
jg 0x1001ea71
inc edi
cmp edi, dword [esi + 0xbc]
jl 0x1001e9a1
mov edi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
sub eax, ecx
sub eax, edi
mov dword [esp + 0x2c], edx
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x1001eabc
lea eax, [esp + 0x78]
mov ecx, dword [esi + 0xfc]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x54]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x50]
push edx
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [esp + 0x74]
mov dword [esp + 0xa0], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.1002dfc6
mov esp, ebp
pop ebp
ret 4