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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
mov eax, dword [0x45b990]
xor eax, ebp
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x2b8], eax
mov eax, dword [ebx + 0x10]
xor esi, esi
cmp eax, esi
push edi
je 0x410092
add eax, 4
jmp 0x410094
xor eax, eax
mov ecx, dword [ebp + 8]
cmp ecx, eax
jne 0x4101d6
xor eax, eax
mov byte [esp + 0xa8], 0
mov ecx, 0x41
lea edi, [esp + 0xa9]
rep stosd dword es:[edi], eax
mov eax, dword [ebx - 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
lea ecx, [esp + 0xa8]
push 0x104
lea edx, [esp + 0x1b4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x4510c8
mov dword [esp + 0x24], 0x1203
mov dword [esp + 0x28], 0x40f6b0
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x1b0]
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], esi
mov byte [esp + 0x90], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410122
sub eax, edx
push eax
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0x94]
call fcn.00408930
mov dword [esp + 0x2cc], esi
push 0x5c
push 0x2f
lea esi, [esp + 0x94]
call fcn.00421c60
mov eax, dword [esp + 0xac]
mov esi, 0x10
add esp, 8
cmp eax, esi
jb 0x410177
mov edx, dword [esp + 0x90]
mov dword [esp + 0x28], edx
jmp 0x410182
lea eax, [esp + 0x90]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
test eax, eax
je 0x4101b4
lea edx, [esp + 0xa8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0xa8]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [esp + 0xa4], esi
jb 0x4102e3
mov eax, dword [esp + 0x90]
push eax
call fcn.004358f6
add esp, 4
jmp 0x4102e3
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4101e2
add eax, 4
jmp 0x4101e4
xor eax, eax
cmp ecx, eax
jne 0x4102e3
mov eax, dword [ebx + 0x28]
cmp eax, 2
jne 0x410210
mov ebx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 4]
push esi
push 0x80a
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4102e3
cmp eax, 1
jne 0x410225
push eax
mov eax, dword [ebx - 0x28]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4102e3
cmp eax, 4
jne 0x4102da
cmp dword [ebx + 0x48], esi
jne 0x410244
mov ecx, dword [ebx - 0x28]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4102e3
lea eax, [ebx + 0x50]
call fcn.0041c1c0
test al, al
je 0x4102b6
lea esi, [ebx + 0x34]
mov eax, esi
call fcn.0041be90
test al, al
je 0x4102b6
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 0x44
rep stosd dword es:[edi], eax
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x6c], 0x80
jb 0x410286
mov esi, dword [esi + 4]
jmp 0x410289
add esi, 4
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebx - 0x28]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4102e3
mov ecx, dword [ebx - 0x28]
push 0
push 0x4510c0
push 0x4510b0
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebx - 0x28]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4102e3
mov eax, dword [ebx - 0xc]
lea ecx, [ebx - 0xc]
call dword [eax + 8]
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004395fe
mov esp, ebp
pop ebp
ret 4