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

Disassembly:
push 0xffffffffffffffff
push 0x4bc7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3c]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x84], 3
je 0x401286
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401283
lea eax, [esi + 0x9c]
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]
cmp eax, ebp
jle 0x401650
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 0x401650
mov dword [esi + 0x3c], ebp
lea eax, [esp + 0x8c]
lea ecx, [esi + 0x44]
push eax
call fcn.004b28e4
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esi + 0x48]
call fcn.004b28e4
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
lea eax, [esi + 0x54]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x9c]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x70], eax
lea eax, [esp + 0xc0]
mov dword [esi + 0x74], ecx
push eax
lea ecx, [esi + 0x80]
mov dword [esi + 0x78], edx
call fcn.004b28e4
mov ecx, dword [esp + 0xc4]
lea edx, [esp + 0xc8]
mov dword [esi + 0x84], ecx
push edx
lea ecx, [esi + 0x88]
call fcn.004b28e4
mov eax, dword [esp + 0xcc]
xor bl, bl
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x8c]
mov edi, str.BROWSER
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x401385
test cl, cl
je 0x401381
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x401385
add eax, 2
add edi, 2
test cl, cl
jne 0x401361
xor eax, eax
jmp 0x40138a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x401390
mov bl, 1
push str.http:
lea ecx, [esp + 0x90]
call fcn.004ace0a
test eax, eax
jne 0x4013bb
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x90]
push eax
mov bl, 1
call fcn.004b28e4
push str.ftp:
lea ecx, [esp + 0x90]
call fcn.004ace0a
test eax, eax
jne 0x4013e6
lea ecx, [esp + 0x8c]
mov bl, 1
push ecx
lea ecx, [esp + 0x94]
call fcn.004b28e4
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x10]
push edx
call fcn.004b2520
mov eax, dword [esp + 0x90]
mov byte [esp + 0x84], 4
mov edi, 0x4f77a0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x40142f
test cl, cl
je 0x40142b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x40142f
add eax, 2
add edi, 2
test cl, cl
jne 0x40140b
xor eax, eax
jmp 0x401434
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4014a7
lea eax, [esp + 0x90]
lea ecx, [esp + 0xb0]
push eax
push 0x4e917c
push ecx
call fcn.004b2ab4
push 0x4e9178
lea edx, [esp + 0xb0]
push eax
push edx
mov byte [esp + 0x90], 5
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 6
call fcn.004b2bc3
lea ecx, [esp + 0xac]
mov byte [esp + 0x84], 5
call fcn.004b27ab
lea ecx, [esp + 0xb0]
mov byte [esp + 0x84], 4
call fcn.004b27ab
test bl, bl
je 0x4014e8
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, esi
call fcn.00401df0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 7
call fcn.004b28e4
lea ecx, [esp + 0xac]
mov byte [esp + 0x84], 4
call fcn.004b27ab
cmp dword [esi + 0x7c], ebp
je 0x4014ff
push 0xfffffffffffffffe
lea edx, [esp + 0x9c]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xb4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.00401c80
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0xac]
push edi
push edx
push ebp
push ebp
push 0x20
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
mov word [esp + 0x7c], bp
mov eax, dword [ecx - 8]
push ebp
push ebp
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.004b2bdb
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
cmp eax, ebp
je 0x40163f
mov eax, dword [edi]
push 0x2710
push eax
mov dword [esi + 0x3c], ebp
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test bl, bl
je 0x4015ac
push 0x3e8
jmp 0x4015b8
mov eax, dword [esp + 0xa8]
cmp eax, ebp
jbe 0x4015bf
push eax
mov ecx, esi
call fcn.00401f60
mov eax, dword [0x4f4df4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x84], 8
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
call fcn.004b28e4
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
push edx
call fcn.004b28e4
lea eax, [esp + 0x18]
push eax
push 0x4019a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov dword [esi + 0x3c], eax
jne 0x4016aa
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 9
call fcn.004b27ab
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 4
call fcn.004b27ab
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 3
call fcn.004b27ab
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 2
call fcn.004b27ab
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 1
call fcn.004b27ab
lea ecx, [esp + 0xc0]
mov byte [esp + 0x84], 0
call fcn.004b27ab
lea ecx, [esp + 0xc8]
mov dword [esp + 0x84], 0xffffffff
call fcn.004b27ab
xor al, al
jmp 0x401933
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x3c]
test eax, 0xc00000
push ecx
push edx
setne byte [esp + 0x9c]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
call edi
push 0xf
mov dword [esp + 0xb4], eax
call edi
push 0x20
mov dword [esp + 0xbc], eax
call edi
mov ebx, eax
push 0x21
mov dword [esp + 0xc0], ebx
call edi
push 2
mov dword [esp + 0xac], eax
call edi
push 0x14
mov dword [esp + 0xd0], eax
call edi
push 0x37
mov dword [esp + 0x18], eax
call edi
mov ebp, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
sub ebp, ecx
mov ecx, dword [esp + 0xa8]
mov eax, ebx
add ebp, ebx
mov ebx, dword [esi + 0x74]
sub edi, edx
mov edx, dword [esi + 0x78]
add ebx, ecx
add edi, ecx
mov cl, byte [esp + 0x94]
neg eax
neg ebx
add edi, edx
mov dword [esp + 0x28], eax
test cl, cl
je 0x40176a
sub ebx, dword [esp + 0xb0]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x401778
sub ebx, dword [esp + 0xb8]
mov ecx, edi
mov edx, ebp
sub ecx, ebx
push 0x60
sub edx, eax
push ecx
push edx
push ebx
push eax
mov eax, dword [esi + 0x3c]
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x9c]
mov eax, dword [esi + 0x3c]
mov dword [ecx], edx
push eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edi
call fcn.004af477
mov edi, eax
test edi, edi
mov dword [esp + 0x94], edi
je 0x4017cb
test esi, esi
je 0x4017c6
mov eax, dword [esi + 0x1c]
jmp 0x4017c8
xor eax, eax
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x401862
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4017ef
mov ecx, 2
mov dword [esp + 0xa8], ecx
jmp 0x4017f6
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x9c]
mov edi, dword [esp + 0x98]
mov eax, edx
sub eax, ebx
mov ebx, dword [esp + 0xa4]
sub eax, ecx
mov ecx, ebx
sub ecx, ebp
mov ebp, dword [esp + 0x14]
sub eax, edi
sub ecx, ebp
mov ebp, dword [esp + 0xa8]
mov dword [esi + 0x8c], eax
sub eax, edi
mov edi, dword [esp + 0x94]
sub ecx, ebp
add eax, edx
mov edx, dword [esp + 0x9c]
mov dword [esi + 0x90], ecx
sub ecx, edx
mov dword [esi + 0x94], eax
add ecx, ebx
mov dword [esi + 0x98], ecx
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x401884
push 0
mov ecx, esi
call fcn.004b1f15
mov ecx, dword [esi + 0x3c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4018ab
mov edx, dword [esi + 0x3c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, esi
call fcn.004b1f15
test edi, edi
je 0x4018ab
mov eax, dword [edi + 0x1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0xa
call fcn.004b27ab
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 4
call fcn.004b27ab
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 3
call fcn.004b27ab
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 2
call fcn.004b27ab
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 1
call fcn.004b27ab
lea ecx, [esp + 0xc0]
mov byte [esp + 0x84], 0
call fcn.004b27ab
lea ecx, [esp + 0xc8]
mov dword [esp + 0x84], 0xffffffff
call fcn.004b27ab
mov al, 1
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0x44