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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101f2fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x48], 0
mov dword [esp + 0x1c], eax
je 0x1015dba2
cmp dword [esi + 0x18], 0
je 0x1015dba2
mov eax, dword [esi + 0x98]
test eax, eax
je 0x1015dba2
cmp dword [esi + 0x9c], 0
je 0x1015dba2
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe4]
call eax
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1015dba2
mov eax, dword [esi + 0x9c]
call fcn.1000e050
mov ebx, eax
test ebx, ebx
je 0x1015dba2
mov eax, edi
call fcn.1000e070
mov edi, eax
mov eax, ebx
call fcn.1000e070
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x2c]
push ecx
push edx
add edi, eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.100131b0
mov dword [esp + 0xa0], 0
mov eax, dword [esi + 0x18]
call fcn.10013480
test eax, eax
jne 0x1015d9d4
mov dword [esp + 0xa0], 0xffffffff
lea edx, [esp + 0x14]
push edx
jmp 0x1015db9d
call fcn.100132a0
test eax, eax
je 0x1015db8d
call fcn.100132c0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x1015da05
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
jmp 0x1015db9d
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
call fcn.1000e050
test eax, eax
je 0x1015db76
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0x2c]
sub ebx, edi
sub ebx, 0x50
call fcn.1000e070
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x14]
xor esi, esi
cmp dword [edi + 0x18], 8
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jb 0x1015da53
mov ecx, dword [edi + 4]
jmp 0x1015da56
lea ecx, [edi + 4]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp ebx, esi
jle 0x1015db72
cmp ebx, dword [esp + 0x20]
jge 0x1015db72
mov esi, dword [edi + 0x14]
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
mov byte [esp + 0xa0], 1
cmp esi, eax
jle 0x1015db61
jmp 0x1015dab4
mov edi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x40]
push edi
push ecx
call fcn.1019c9a0
mov byte [esp + 0xac], 2
push eax
lea edx, [esp + 0x68]
push edx
mov edi, 0x10230410
call fcn.1002eeb0
add esp, 0x14
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
call fcn.10007880
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x58]
call fcn.10001dd0
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x3c]
call fcn.10001dd0
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x1015db24
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp dword [esp + 0x20], ebx
jl 0x1015db50
sub esi, 1
test esi, esi
jg 0x1015dab0
jmp 0x1015db61
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
call fcn.10007880
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x74]
call fcn.10001dd0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.10013210
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.101d19cc
mov esp, ebp
pop ebp
ret 4