Function at 0x4013c0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp eax, 0x110
je 0x4016b0
ja 0x4015a0
cmp eax, 0x2b
je 0x401990
cmp eax, 0x4e
jne 0x401630
mov eax, dword [esi + 8]
mov edx, eax
and edx, 0xfffffffd
cmp edx, 0xfffffffc
je 0x401aa0
cmp eax, 0xffffff36
jne 0x401690
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x20f0
mov dword [esp], edi
mov dword [ebp - 0x40], eax
call eax
mov ebx, dword [sym.imp.user32.dll_GetWindowTextLengthW]
sub esp, 8
mov esi, eax
mov dword [esp], eax
call ebx
sub esp, 4
inc eax
mov edx, eax
je 0x401af0
add eax, eax
mov dword [ebp - 0x44], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x48], eax
call eax
mov edx, dword [ebp - 0x44]
test eax, eax
mov dword [ebp - 0x3c], eax
je 0x401af0
mov eax, dword [ebp - 0x3c]
mov dword [esp], esi
mov dword [esp + 8], edx
mov esi, dword [sym.imp.user32.dll_GetWindowTextW]
mov dword [esp + 4], eax
call esi
sub esp, 0xc
test eax, eax
je 0x401c4f
mov dword [esp], edi
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x20f1
call eax
sub esp, 8
mov edi, eax
mov dword [esp], eax
call ebx
sub esp, 4
inc eax
mov edx, eax
je 0x401b9c
add eax, eax
mov dword [ebp - 0x40], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
mov edx, dword [ebp - 0x40]
test eax, eax
mov ebx, eax
je 0x401ca1
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call esi
sub esp, 0xc
test eax, eax
je 0x401c62
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x401bd6
mov edi, dword [ebp - 0x3c]
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x417024
mov dword [esp + 0xc], edi
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov dword [ebp - 0x40], ebx
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.RegisteredOrganization
mov dword [esp + 4], 0x417024
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x4170a8
mov dword [esp + 0xc], eax
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.RegisteredOrganization
mov dword [esp + 4], 0x4170a8
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
call sym._apply
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call esi
xor eax, eax
jmp 0x401692
cmp eax, 0x111
je 0x401680
cmp eax, 0x138
jne 0x401690
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetDlgCtrlID]
sub esp, 4
cmp eax, 0x20f4
je 0x401a38
jg 0x4016a0
cmp eax, 0x20f3
jne 0x401690
mov dword [esp], 8
mov esi, dword [sym.imp.user32.dll_GetSysColor]
call esi
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_SetTextColor]
sub esp, 8
mov dword [esp], 5
call esi
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_SetBkColor]
sub esp, 8
mov dword [esp], 5
call dword [sym.imp.user32.dll_GetSysColorBrush]
sub esp, 4
jmp 0x401692
cmp eax, 2
jne 0x401690
mov eax, dword [0x416060]
test eax, eax
je 0x401654
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyIcon]
mov dword [0x416060], 0
sub esp, 4
mov eax, dword [0x416ed0]
test eax, eax
je 0x401690
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
xor eax, eax
mov dword [0x416ed0], 0
sub esp, 4
jmp 0x401692
shr ebx, 0x10
cmp ebx, 0x300
je 0x401a60
nop
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
sub eax, 0x20f5
cmp eax, 1
ja 0x401690
jmp 0x4015de
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDC]
sub esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0x417000
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x4170a8
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._get_reg_key
mov dword [esp + 0xc], 0x417000
mov dword [esp + 8], str.RegisteredOrganization
mov dword [esp + 4], 0x4170a8
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
mov dword [ebp - 0x3c], eax
call sym._get_reg_key
mov edx, dword [sym.imp.user32.dll_SetDlgItemTextW]
mov dword [esp + 4], 0x20f0
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], edi
mov dword [ebp - 0x40], edx
mov dword [esp + 8], eax
call edx
mov edx, dword [ebp - 0x40]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0x20f1
mov dword [esp], edi
call edx
sub esp, 0xc
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46d
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [ebp - 0x3c]
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x3c], eax
call eax
mov dword [esp], esi
mov eax, dword [ebp - 0x3c]
call eax
mov dword [esp + 4], 0x20f2
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov esi, eax
test eax, eax
je 0x401851
mov edx, dword [sym.imp.user32.dll_GetClientRect]
lea eax, [ebp - 0x38]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [ebp - 0x3c], edx
call edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], esi
call edx
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
mov dword [esp + 4], 0xfffffffa
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp + 0x14], 0x8000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x66
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
mov dword [0x416060], eax
sub esp, 0x18
mov dword [esp + 4], 0x5a
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
sub esp, 8
mov dword [esp + 8], 0x48
mov dword [esp + 4], eax
mov dword [esp], 0x18
call dword [sym.imp.kernel32.dll_MulDiv]
sub esp, 0xc
neg eax
mov dword [esp + 0x34], 0x41710c
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CreateFontW]
sub esp, 0x38
mov dword [0x416ed0], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x30
mov dword [esp + 4], 0x20f4
mov dword [esp], edi
call dword [sym.imp.user32.dll_SendDlgItemMessageW]
sub esp, 0x14
mov dword [esp], 0x41711a
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 4], str.wine_get_version
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x401966
call eax
mov dword [esp + 4], 0x20f3
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetDlgItemTextA]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.user32.dll_ReleaseDC]
xor eax, eax
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp ebx, 0x20f2
jne 0x401690
lea ebx, [esi + 0x1c]
mov dword [esp + 8], 6
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.user32.dll_FillRect]
mov eax, dword [0x416060]
sub esp, 0xc
mov dword [esp + 0x20], 2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DrawIconEx]
sub esp, 0x24
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0xa
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DrawEdge]
sub esp, 0x10
jmp 0x401690
mov dword [esp], ebx
mov dword [esp + 4], 0x7f
call dword [sym.imp.gdi32.dll_SetTextColor]
sub esp, 8
mov dword [esp], 5
call dword [sym.imp.user32.dll_GetSysColor]
jmp 0x401609
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
xor eax, eax
sub esp, 0x10
jmp 0x401692
cmp ebx, 0x20f5
jne 0x401690
add esi, 0x7c
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], str.open
mov dword [esp], 0
call dword [sym.imp.shell32.dll_ShellExecuteW]
xor eax, eax
sub esp, 0x18
jmp 0x401692
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x20f1
call eax
sub esp, 8
mov edi, eax
mov dword [esp], eax
call ebx
sub esp, 4
inc eax
mov edx, eax
je 0x401c11
add eax, eax
mov dword [ebp - 0x3c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x3c]
test eax, eax
mov ebx, eax
je 0x401c11
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x3c], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
test eax, eax
jne 0x401bdc
mov dword [esp], ecx
xor edi, edi
call esi
mov dword [esp + 0xc], 0x417000
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x417024
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov dword [ebp - 0x3c], 0x417000
mov dword [ebp - 0x40], 0
mov ebx, section..rdata
jmp 0x40151f
mov edi, dword [ebp - 0x3c]
mov dword [esp + 8], str.RegisteredOwner
mov ebx, section..rdata
mov dword [esp + 4], 0x417024
mov dword [esp + 0xc], edi
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov dword [ebp - 0x40], 0
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x40151f
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp + 0xc], section..rdata
xor edi, edi
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x417024
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x417000
jmp 0x40151f
mov dword [esp + 0xc], section..rdata
xor edi, edi
mov ebx, section..rdata
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x417024
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x417000
jmp 0x40151f
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
jmp 0x401af6
mov dword [esp], ebx
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov ebx, section..rdata
call esi
mov edi, dword [ebp - 0x3c]
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x417024
call sym._set_reg_key
mov dword [ebp - 0x40], 0
jmp 0x40151f
mov edi, dword [ebp - 0x3c]
mov dword [esp + 8], str.RegisteredOwner
mov dword [esp + 4], 0x417024
mov dword [esp + 0xc], edi
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call sym._set_reg_key
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x401b8b