Function at 0x401200
Capabilities:
Create process on windows
Enumerate gui resources
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e25d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0xa0], 3
test eax, eax
je 0x40127b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401274
lea eax, [esi + 0x98]
mov ecx, eax
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
sub eax, edx
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x40161d
sub ecx, edi
push 0x60
push ecx
push eax
push edi
push edx
mov edx, dword [esi + 0x3c]
push 1
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x40161d
mov dword [esi + 0x3c], 0
lea eax, [esp + 0xa8]
lea ecx, [esi + 0x44]
push eax
call fcn.004d8659
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esi + 0x48]
call fcn.004d8659
mov ebp, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xbc]
lea eax, [esi + 0x54]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0xc0]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0xd4]
mov dword [eax + 8], ebx
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x7c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xcc]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0xd0]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0xd8]
mov dword [esi + 0x70], eax
lea eax, [esp + 0xdc]
mov dword [esi + 0x78], edx
push eax
call fcn.004d8659
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0xe4]
mov dword [esi + 0x80], ecx
push edx
lea ecx, [esi + 0x84]
call fcn.004d8659
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x13], 0
mov edi, str.BROWSER
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x401370
test cl, cl
je 0x40136c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x401370
add eax, 2
add edi, 2
test cl, cl
jne 0x40134c
xor eax, eax
jmp 0x401375
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40137e
mov byte [esp + 0x13], 1
push str.http:
lea ecx, [esp + 0xac]
call fcn.004d2b67
test eax, eax
jne 0x4013ac
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x17], 1
call fcn.004d8659
push str.ftp:
lea ecx, [esp + 0xac]
call fcn.004d2b67
test eax, eax
jne 0x4013da
lea ecx, [esp + 0xa8]
mov byte [esp + 0x13], 1
push ecx
lea ecx, [esp + 0xb0]
call fcn.004d8659
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x14]
push edx
call fcn.004d8295
mov eax, dword [esp + 0xac]
mov byte [esp + 0xa0], 4
mov edi, 0x52c320
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x401423
test cl, cl
je 0x40141f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x401423
add eax, 2
add edi, 2
test cl, cl
jne 0x4013ff
xor eax, eax
jmp 0x401428
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40148f
lea eax, [esp + 0xac]
lea ecx, [esp + 0x18]
push eax
push 0x50f16c
push ecx
call fcn.004d8829
push 0x50f168
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0xac], 5
call fcn.004d87b5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 6
call fcn.004d8938
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 5
call fcn.004d8520
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 4
call fcn.004d8520
mov al, byte [esp + 0x13]
test al, al
je 0x4014ce
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.00401d80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 7
call fcn.004d8659
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 4
call fcn.004d8520
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xc4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
call fcn.00401c10
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x54]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea edi, [esi + 0xa8]
lea ecx, [esp + 0x54]
push edi
push ecx
push ebp
push ebp
push 0x20
mov dword [esp + 0x68], 0x44
mov dword [esp + 0x94], 1
mov word [esp + 0x98], bp
mov eax, dword [eax - 8]
push ebp
push ebp
push ebp
push eax
lea ecx, [esp + 0x38]
call fcn.004d8950
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
cmp eax, ebp
je 0x40160c
mov edx, dword [edi]
push 0x2710
push edx
mov dword [esi + 0x3c], ebp
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov al, byte [esp + 0x13]
test al, al
je 0x401579
push 0x3e8
jmp 0x401585
mov eax, dword [esp + 0xc4]
cmp eax, ebp
jbe 0x40158c
push eax
mov ecx, esi
call fcn.00401ef0
mov eax, dword [0x52a0ac]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0xa4], 8
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
call fcn.004d8659
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x30]
call fcn.004d8659
lea edx, [esp + 0x20]
push edx
push 0x401930
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov dword [esi + 0x3c], eax
jne 0x401677
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 9
call fcn.004d8520
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 4
call fcn.004d8520
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 3
call fcn.004d8520
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 2
call fcn.004d8520
lea ecx, [esp + 0xac]
mov byte [esp + 0xa0], 1
call fcn.004d8520
lea ecx, [esp + 0xdc]
mov byte [esp + 0xa0], 0
call fcn.004d8520
lea ecx, [esp + 0xe4]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004d8520
xor al, al
jmp 0x4018b7
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esi + 0x3c]
test eax, 0xc00000
mov eax, dword [esi + 0x1c]
push eax
push ecx
setne byte [esp + 0x1b]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
call edi
push 0xf
mov dword [esp + 0x34], eax
call edi
push 0x20
mov dword [esp + 0x44], eax
call edi
mov ebp, eax
push 0x21
mov dword [esp + 0x1c], ebp
call edi
push 2
mov dword [esp + 0x20], eax
call edi
push 0x14
mov dword [esp + 0x40], eax
call edi
push 0x37
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0xc0]
sub edi, dword [esp + 0xb8]
sub ebx, ecx
mov ecx, dword [esp + 0x1c]
mov eax, ebp
lea edx, [ebx + ebp]
mov ebp, dword [esi + 0x74]
add ebp, ecx
add edi, ecx
mov ecx, dword [esi + 0x78]
add edi, ecx
mov cl, byte [esp + 0x13]
neg eax
neg ebp
test cl, cl
mov dword [esp + 0x44], eax
je 0x401714
sub ebp, dword [esp + 0x30]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x40171f
sub ebp, dword [esp + 0x40]
mov ecx, edi
push 0x60
sub ecx, ebp
sub edx, eax
push ecx
push edx
mov edx, dword [esi + 0x3c]
push ebp
push eax
push 1
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x44]
lea eax, [esi + 0x98]
mov ecx, eax
mov eax, dword [esp + 0x18]
add eax, ebx
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edi
mov ecx, dword [esi + 0x3c]
push ecx
call fcn.004d52ae
mov edi, eax
test edi, edi
je 0x401771
test esi, esi
je 0x40176c
mov eax, dword [esi + 0x1c]
jmp 0x40176e
xor eax, eax
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x4017e6
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x401790
mov eax, 2
mov ebp, eax
jmp 0x401798
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xb8]
sub ebx, edx
mov edx, dword [esp + 0xc0]
sub ebx, eax
mov eax, edx
sub eax, ecx
mov dword [esi + 0x88], ebx
sub eax, dword [esp + 0x34]
sub eax, ebp
mov ebp, dword [esp + 0xb4]
sub ebx, ebp
mov ebp, dword [esp + 0xbc]
mov dword [esi + 0x8c], eax
sub eax, ecx
add ebx, ebp
add eax, edx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x401808
push 0
mov ecx, esi
call fcn.004d7c87
mov edx, dword [esi + 0x3c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40182f
mov eax, dword [esi + 0x3c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, esi
call fcn.004d7c87
test edi, edi
je 0x40182f
mov ecx, dword [edi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 0xa
call fcn.004d8520
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 4
call fcn.004d8520
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 3
call fcn.004d8520
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 2
call fcn.004d8520
lea ecx, [esp + 0xac]
mov byte [esp + 0xa0], 1
call fcn.004d8520
lea ecx, [esp + 0xdc]
mov byte [esp + 0xa0], 0
call fcn.004d8520
lea ecx, [esp + 0xe4]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004d8520
mov al, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0x40