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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x42f4
call fcn.00413150
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebx + 0x10]
mov dword [esp + 0x54], 0x320
mov dword [esp + 0x20], 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
test edi, edi
je 0x41118f
push 0x58
push edi
call esi
push 0x5a
push edi
call esi
push edi
push dword [ebx + 0x10]
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 2
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push 9
mov edx, eax
pop ecx
xor eax, eax
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc0]
push eax
push edx
mov dword [esp + 0xc8], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4111f2
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x46
cdq
push 0x60
pop ecx
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0xd0]
sub eax, ecx
sub eax, dword [esp + 0xc8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
shl eax, 2
push 0x60
cdq
pop ecx
idiv ecx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [ebx + 0x10]
mov dword [ebx + 0x98], eax
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x324]
mov dword [esp + 0x34], eax
call edi
push 0x3e8
push dword [ebx + 0x10]
mov dword [esp + 0x20], eax
call edi
lea edi, [ebx + 0x8c]
cmp dword [edi], 0
mov dword [esp + 0x14], eax
jne 0x411276
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0x5a
push eax
mov dword [esp + 0x38], eax
call esi
imul eax, eax, 0xfffffff7
push 0x48
pop ecx
cdq
idiv ecx
push dword [esp + 0x30]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
push esi
push str.Arial
mov esi, edi
call fcn.00412815
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esp + 0x1c]
call esi
push 0xfffffffffffffff0
push dword [esp + 0x18]
mov dword [esp + 0x4c], eax
call esi
push 0xffffffffffffffec
push dword [esp + 0x1c]
mov dword [esp + 0x40], eax
call esi
push 0xffffffffffffffec
push dword [esp + 0x18]
mov dword [esp + 0x48], eax
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x70]
push eax
mov eax, ebx
call fcn.00411066
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.00411066
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
and dword [esp + 0x28], 0
and dword [esp + 0x18], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
lea esi, [ebx + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.0040804c
xor esi, esi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x4113fa
push dword [ebx + 0x8c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [esp + 0x20], esi
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x44]
cmp dword [eax + 0x320], esi
jle 0x4113d2
mov eax, dword [esp + 0x2c]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x14]
push dword [eax]
call sub.msvcrt.dll_wcslen
pop ecx
push eax
mov eax, dword [esp + 0x18]
push dword [eax]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x4113ba
mov eax, dword [esp + 0x1c]
imul eax, eax, 6
cdq
push 0x60
pop ecx
idiv ecx
add eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x14]
jle 0x4113a3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0xa
cdq
push 0x60
pop ecx
idiv ecx
add eax, dword [esp + 0x64]
cmp eax, esi
jle 0x4113ba
mov esi, eax
inc dword [esp + 0x20]
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x10], 0x14
cmp ecx, dword [eax + 0x320]
jl 0x411362
push dword [esp + 0x4c]
sub esi, dword [esp + 0x38]
push dword [esp + 0x28]
sub dword [esp + 0x38], esi
add dword [esp + 0x5c], esi
add dword [esp + 0x3c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x44]
and dword [esp + 0x10], 0
cmp dword [eax + 0x320], 0
jle 0x4115d1
mov ecx, dword [esp + 0x44]
mov eax, 0x10000000
or ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x38]
or ecx, eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x64
mov dword [esp + 0x38], ecx
cdq
push 0x60
pop ecx
idiv ecx
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, dword [esp + 0x2c]
add eax, 0x10
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
push dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
push dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
push dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add eax, esi
push eax
push dword [esp + 0x7c]
push dword [esp + 0x54]
push str.STATIC
push dword [esp + 0x58]
push ebx
call fcn.004015d4
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x94]
imul eax, dword [esp + 0x14]
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x60]
add esi, eax
push esi
push dword [esp + 0x60]
push dword [esp + 0x48]
push 0x414ff4
push dword [esp + 0x60]
push ebx
call fcn.004015d4
push 0
lea esi, [ebx + 0x8c]
push dword [esi]
mov dword [esp + 0x2c], eax
push 0x30
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi]
push 0x30
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x2c]
push dword [eax]
lea eax, [esp + 0xfc]
push 0x415e08
push 0xff
push eax
call sub.msvcrt.dll__snwprintf
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0x10
lea eax, [esp + 0xf8]
push eax
push dword [esp + 0x24]
call esi
mov ecx, dword [ebx + 0x40]
mov eax, dword [ecx]
lea edx, [esp + 0x2f8]
push edx
push dword [esp + 0x14]
call dword [eax]
push eax
push dword [esp + 0x28]
call esi
mov eax, dword [ebx + 0x94]
imul eax, dword [esp + 0x14]
add eax, dword [ebx + 0x98]
lea ecx, [ebx + 0x48]
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov esi, dword [ecx + 0xc]
test esi, esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
jl 0x4115a2
cmp esi, 0xffffffff
mov eax, dword [ecx + 8]
jne 0x411571
push dword [ecx]
call sub.msvcrt.dll_free
jmp 0x411581
push eax
push 0xc
lea eax, [ecx + 4]
mov edx, esi
mov edi, ecx
call fcn.004067dc
pop ecx
lea eax, [esi + 1]
cmp dword [ebx + 0x54], eax
pop ecx
jge 0x41158d
mov dword [ebx + 0x54], eax
mov edi, esi
imul edi, edi, 0xc
add edi, dword [ebx + 0x48]
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x4c]
jl 0x4115b5
and dword [esp + 0x28], 0
inc dword [esp + 0x18]
inc dword [esp + 0x10]
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x2c], 0x14
cmp ecx, dword [eax + 0x320]
jl 0x41144a
mov eax, dword [esp + 0x18]
and dword [ebx + 0x9c], 0
mov esi, ebx
mov dword [ebx + 0xa0], eax
call fcn.0041107a
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [ebx + 0x10]
call esi
lea ecx, [esp + 0x80]
push ecx
push eax
mov dword [esp + 0x50], eax
call edi
lea eax, [esp + 0x80]
push eax
mov eax, ebx
call fcn.00411066
push 0x3f9
push dword [ebx + 0x10]
call esi
lea ecx, [esp + 0x90]
push ecx
push eax
mov dword [esp + 0x48], eax
call edi
lea eax, [esp + 0x90]
push eax
mov eax, ebx
call fcn.00411066
push 0x3fa
push dword [ebx + 0x10]
call esi
lea ecx, [esp + 0xa0]
push ecx
push eax
mov dword [esp + 0x44], eax
call edi
lea eax, [esp + 0xa0]
push eax
mov eax, ebx
call fcn.00411066
lea eax, [esp + 0xe8]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0x10]
call edi
mov ecx, dword [ebx + 0xa0]
mov eax, dword [esp + 0x50]
xor edi, edi
cmp ecx, edi
jne 0x4116a3
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x50
cdq
push 0x60
pop esi
idiv esi
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0xb8]
sub edx, dword [esp + 0xb0]
mov esi, 0x204
inc edx
cmp ecx, edi
jne 0x4116de
push 0x206
push eax
push edx
push edi
push edi
push edi
push dword [ebx + 0x10]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
call edi
push 4
push dword [ebx + 0x10]
call fcn.00406d20
pop ecx
pop ecx
jmp 0x411729
cmp dword [esp + 0xd0], edi
je 0x411714
push esi
push eax
mov eax, dword [esp + 0xd0]
add eax, 0xa
push edx
push eax
mov eax, dword [esp + 0xdc]
sub eax, dword [esp + 0xd4]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xd4]
push eax
jmp 0x41171d
push 0x206
push eax
push edx
push edi
push edi
push edi
push dword [ebx + 0x10]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
call edi
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
imul eax, eax, 5
push 0x60
pop ecx
cdq
idiv ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xbc]
push esi
sub ecx, eax
mov eax, dword [esp + 0x90]
sub ecx, eax
sub eax, dword [esp + 0x88]
sub ecx, dword [esp + 0xb8]
inc eax
push eax
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
lea ebx, [ecx + edx - 1]
inc eax
push eax
push ebx
push dword [esp + 0x90]
push 0
push dword [esp + 0x60]
call edi
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
push esi
inc eax
push eax
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x98]
inc eax
push eax
push ebx
push dword [esp + 0xa0]
push 0
push dword [esp + 0x58]
call edi
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa4]
push esi
inc eax
push eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xa8]
inc eax
push eax
push ebx
push dword [esp + 0xb0]
push 0
push dword [esp + 0x54]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret