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

Disassembly:
push 0xa8
mov eax, 0x10124ea2
call fcn.1006051e
mov ebx, ecx
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
push 1
push esi
mov dword [ebp - 0x98], esi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [ebp - 0x54]
xor edi, edi
push eax
push dword [ebx + 4]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 0x78]
lea edx, [ebp - 0x54]
mov ecx, esi
call fcn.100e7e68
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x44]
neg eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x48]
pop ecx
mov ecx, dword [ebp - 0x4c]
neg eax
sub ecx, dword [ebp - 0x54]
mov edx, eax
sub edx, dword [ebx + 0x48]
mov dword [ebp - 0x1c], ecx
sub ecx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xb4], ecx
call fcn.1010ba8f
lea ecx, [ebx + 0x88]
mov dword [ebp - 0xa4], eax
push ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call fcn.10002155
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 6
mov dword [ebp - 0xa8], edi
test eax, eax
je 0x10102e49
mov esi, edi
mov dword [ebp - 0xa0], edi
add esi, 0x1c
mov eax, dword [ebx + 0x44]
add esi, ecx
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa0]
lea edi, [ebp - 0x44]
add esi, 0x2c
add esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x40]
test eax, eax
jle 0x10102b67
sub dword [ebp - 0x30], eax
sub ecx, eax
sub dword [ebp - 0x28], eax
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebx + 0x48]
test eax, eax
jle 0x10102b7a
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x2c], eax
sub dword [ebp - 0x44], eax
sub dword [ebp - 0x3c], eax
xor edi, edi
cmp dword [ebx + 0x58], edi
je 0x10102b8f
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
cmp ecx, eax
jg 0x10102e49
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x9c], edi
test eax, eax
je 0x10102bbe
push 1
mov ecx, eax
call fcn.1010bac2
mov edi, dword [ebp - 0x98]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x9c], eax
jmp 0x10102bc4
mov edi, dword [ebp - 0x98]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x58], 0
mov esi, dword [ebp - 0xa0]
jne 0x10102c32
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x7c]
push 0xd20
push ecx
mov eax, dword [esi + eax]
push dword [eax - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
sub eax, edx
mov ecx, dword [ebx + 0x4c]
cmp eax, ecx
jge 0x10102c11
lea eax, [ecx + edx]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebx + 0x7c]
add esi, 0x1c
add edi, esi
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa0]
jmp 0x10102c4c
mov eax, dword [ebx + 0x7c]
lea ecx, [ebp - 0x34]
push 0x920
push ecx
mov eax, dword [esi + eax]
push dword [eax - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebx + 0x58], 0
jne 0x10102ca8
mov ecx, dword [ebx + 0x7c]
add ecx, esi
cmp dword [ecx + 8], 0
je 0x10102c7e
mov eax, dword [ecx + 4]
cmp dword [eax - 0xc], 0
je 0x10102c7e
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x24], 0x28
mov dword [ebp - 0x20], eax
add eax, 0xa
mov dword [ebp - 0x18], eax
jmp 0x10102c84
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push 0x1013270c
call fcn.100073a6
test eax, eax
jne 0x10102c9c
mov eax, dword [ebx + 0x7c]
mov eax, dword [esi + eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff1
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x9c]
test edi, edi
je 0x10102cc7
push edi
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
mov dword [ebp - 0x9c], edi
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x10102cef
push 0
mov ecx, eax
call fcn.1010bac2
push eax
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
mov dword [ebp - 0x9c], edi
mov eax, dword [ebx + 0x7c]
cmp dword [esi + eax + 0x18], 0
jne 0x10102d5c
push dword [esi + eax + 0x3c]
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebx + 0x7c]
cmp dword [esi + eax + 0x3c], 0xff
jne 0x10102d5c
test edi, edi
je 0x10102d2d
push edi
mov edi, dword [ebp - 0x98]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0x7c]
jmp 0x10102d33
mov edi, dword [ebp - 0x98]
and dword [ebp - 0x9c], 0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x10102d5c
push 1
call fcn.1010bac2
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x7c]
cmp dword [ebx + 0x58], 0
jne 0x10102dc8
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esi + eax + 4]
mov eax, dword [esi + eax + 0x14]
neg eax
sbb eax, eax
and eax, 0x1ff0
add eax, 0xd20
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ecx - 0xc]
push ecx
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebx + 0x54]
jle 0x10102dab
mov dword [ebx + 0x54], ecx
mov eax, dword [ebx + 0x7c]
cmp dword [esi + eax + 0x14], 0
jne 0x10102dab
lea eax, [ecx + 0x14]
mov dword [ebx + 0x54], eax
mov edi, dword [ebx + 0x7c]
add edi, 0x2c
add edi, esi
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x98]
jmp 0x10102df4
mov ecx, dword [eax + esi + 4]
mov eax, dword [eax + esi + 0x14]
mov edi, dword [ebp - 0x98]
neg eax
sbb eax, eax
and eax, 0x1ff0
add eax, 0x920
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ecx - 0xc]
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + eax + 0xc]
add eax, ecx
add ecx, 0x64
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x10102e1b
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0x80]
add esi, 0x40
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebx + 0x7c]
inc edx
sub eax, ecx
mov dword [ebp - 0xa8], edx
sar eax, 6
mov dword [ebp - 0xa0], esi
cmp edx, eax
jb 0x10102b31
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xac], 0
je 0x10102e62
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx + 0x58], edi
jne 0x10102e91
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
add eax, 0xffffffb0
mov dword [ebx + 0x58], 1
push ecx
mov ecx, ebx
mov dword [ebx + 0x50], eax
call fcn.101028c0
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
call fcn.100604c8
ret 4