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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002dd46
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x1004004c]
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 0x1001d24d
push ebx
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0xf0], 0
mov dword [esp + 0x50], eax
je 0x1001cdcc
mov eax, dword [esi + 0xec]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
jmp 0x1001cdce
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [esi + 0xa1], 0
mov dword [esp + 0x34], eax
je 0x1001cdeb
mov ecx, dword [esi + 0xe8]
push ecx
jmp 0x1001cdf2
mov edx, dword [esi + 0x134]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x4c], eax
call fcn.1001d390
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 0x1001ce5e
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 0x1001d083
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 0x1001d208
jmp 0x1001cee4
mov ecx, dword [esp + 0x20]
lea edi, [ecx + 1]
cmp edi, dword [esi + 0xbc]
mov byte [esp + 0x17], 1
jge 0x1001d01e
mov ebx, edi
sub ebx, ecx
jmp 0x1001cf04
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 0x1001cf4e
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 0x1001cf8b
inc edi
inc ebx
cmp edi, dword [esi + 0xbc]
jl 0x1001cf00
jmp 0x1001d01a
cmp dword [esp + 0x18], 1
mov dword [esp + 0x20], edi
mov byte [esp + 0x17], 0
jne 0x1001d01a
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 0x10034bd0
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 0x1001d030
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 0x1001d208
cmp dword [esp + 0x18], 0
jg 0x1001cee0
jmp 0x1001d208
cmp byte [esi + 0x100], 0
mov ecx, dword [esp + 0x40]
je 0x1001d0ba
mov eax, dword [esi + 0x104]
test eax, eax
jle 0x1001d0ae
mov edx, ecx
sub edx, dword [esp + 0x38]
cmp edx, eax
jle 0x1001d0ae
mov edx, dword [esi + 4]
add edx, eax
mov dword [esi + 0xc], edx
jmp 0x1001d0ba
mov eax, dword [esi + 4]
sub eax, dword [esp + 0x38]
add eax, ecx
mov dword [esi + 0xc], eax
cmp ecx, dword [esi + 0xc]
jle 0x1001d1a5
xor edi, edi
cmp dword [esi + 0xbc], edi
jle 0x1001d1a1
test edi, edi
jne 0x1001d0e6
push 0x10034bd0
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 0x1001d15c
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 0x10034bd0
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 0x1001d16e
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 0x1001d1a1
inc edi
cmp edi, dword [esi + 0xbc]
jl 0x1001d0d1
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 0x1001d1ec
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.1002c7c6
mov esp, ebp
pop ebp
ret 4