Function at 0x401197
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
mov eax, 0x4d9588
call fcn.004b36d0
sub esp, 0x78
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 4], 3
test eax, eax
je 0x4011ff
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4011fb
lea esi, [ebx + 0x98]
lea edi, [ebp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
test eax, eax
jle 0x4011f4
mov ecx, dword [ebp + 0x20]
push 0x60
sub ecx, dword [ebp + 0x18]
push ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 1
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor bl, bl
jmp 0x4015e3
and dword [ebx + 0x3c], 0
lea eax, [ebp + 8]
lea ecx, [ebx + 0x44]
push eax
call fcn.004cf5a6
lea eax, [ebp + 0xc]
lea ecx, [ebx + 0x48]
push eax
call fcn.004cf5a6
mov eax, dword [ebp + 0x10]
lea edi, [ebx + 0x54]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp + 0x28]
lea esi, [ebp + 0x14]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x2c]
lea ecx, [ebx + 0x7c]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp + 0x30]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x74], eax
mov eax, dword [ebp + 0x38]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x78], eax
lea eax, [ebp + 0x3c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.004cf5a6
mov eax, dword [ebp + 0x40]
lea ecx, [ebx + 0x84]
mov dword [ebx + 0x80], eax
lea eax, [ebp + 0x44]
push eax
call fcn.004cf5a6
and byte [ebp + 0x2b], 0
push str.BROWSER
push dword [ebp + 8]
call fcn.004b3750
pop ecx
test eax, eax
pop ecx
jne 0x40128a
mov byte [ebp + 0x2b], 1
push str.http:
lea ecx, [ebp + 8]
call fcn.004c98ce
test eax, eax
jne 0x4012ab
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp + 0x2b], 1
call fcn.004cf5a6
push str.ftp:
lea ecx, [ebp + 8]
call fcn.004c98ce
test eax, eax
jne 0x4012cc
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp + 0x2b], 1
call fcn.004cf5a6
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.004cf1e2
push 0x522f00
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
call fcn.004b3750
pop ecx
test eax, eax
pop ecx
je 0x401339
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x38]
push 0x50618c
push eax
call fcn.004cf776
push 0x506188
push eax
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 5
push eax
call fcn.004cf702
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004cf885
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.004cf46d
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 4
call fcn.004cf46d
cmp byte [ebp + 0x2b], 0
je 0x401366
push dword [ebp + 0xc]
lea eax, [ebp + 0x34]
mov ecx, ebx
push eax
call fcn.00401945
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004cf5a6
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 4
call fcn.004cf46d
push dword [ebp + 0x10]
lea esi, [ebp + 0x14]
mov ecx, ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040180a
push 0x44
xor esi, esi
pop edi
lea eax, [ebp - 0x84]
push edi
push esi
push eax
call fcn.004b36f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x84], edi
lea edi, [ebx + 0xa8]
lea ecx, [ebp - 0x84]
push edi
push ecx
push esi
push esi
push 0x20
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], si
mov eax, dword [eax - 8]
push esi
push esi
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004cf89d
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
cmp eax, esi
jne 0x4013da
xor bl, bl
jmp 0x4015d7
push 0x2710
mov dword [ebx + 0x3c], esi
push dword [edi]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp byte [ebp + 0x2b], 0
je 0x4013f7
push 0x3e8
jmp 0x4013ff
cmp dword [ebp + 0x24], esi
jbe 0x401406
push dword [ebp + 0x24]
mov ecx, ebx
call fcn.00401a7a
mov eax, dword [0x52041c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x3c]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
call fcn.004cf5a6
lea eax, [ebp + 0x44]
lea ecx, [ebp - 0x24]
push eax
call fcn.004cf5a6
lea eax, [ebp - 0x30]
push eax
push 0x40165c
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x2c]
cmp eax, esi
mov dword [ebx + 0x3c], eax
jne 0x401457
mov byte [ebp - 4], 9
xor bl, bl
jmp 0x4015c3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebx + 0x1c]
test eax, 0xc00000
push dword [ebx + 0x3c]
setne byte [ebp + 0x27]
call dword [sym.imp.USER32.dll_SetParent]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
call esi
push 0xf
mov dword [ebp + 0x38], eax
call esi
push 0x20
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
push 0x21
mov dword [ebp + 0x28], edi
call esi
push 2
mov dword [ebp + 0x10], eax
call esi
push 0x14
mov dword [ebp - 0x1c], eax
call esi
push 0x37
mov dword [ebp - 0x20], eax
call esi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebx + 0x74]
sub eax, dword [ebp + 0x14]
add ecx, dword [ebp + 0x10]
mov edx, edi
mov dword [ebp - 0x18], eax
lea esi, [eax + edi]
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], esi
neg edx
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], edx
neg ecx
add eax, dword [ebx + 0x78]
cmp byte [ebp + 0x27], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
je 0x4014e7
sub ecx, dword [ebp + 0x38]
mov dword [ebp - 0x3c], ecx
cmp dword [ebx + 0x68], 0
je 0x4014f3
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
sub eax, ecx
push 0x60
sub esi, edx
push eax
push esi
push ecx
push edx
push 1
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [ebx + 0x98]
lea esi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004cc136
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x401533
cmp ebx, edi
je 0x40152e
mov eax, dword [ebx + 0x1c]
jmp 0x401530
xor eax, eax
mov dword [esi + 0x20], eax
cmp dword [ebp + 0x2c], edi
je 0x40157f
cmp dword [ebp + 0x30], edi
jne 0x401546
push 2
pop eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp + 0x18]
sub ecx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sub ecx, dword [ebp + 0x28]
sub eax, dword [ebp + 0x10]
mov dword [ebx + 0x88], ecx
sub ecx, dword [ebp + 0x14]
mov dword [ebx + 0x8c], eax
sub eax, dword [ebp + 0x18]
add ecx, dword [ebp + 0x1c]
add eax, dword [ebp + 0x20]
mov dword [ebx + 0x90], ecx
mov dword [ebx + 0x94], eax
cmp dword [ebp + 0x40], edi
je 0x401599
push edi
mov ecx, ebx
call fcn.004cebd3
push 5
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4015bd
push 5
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, ebx
call fcn.004cebd3
cmp esi, edi
je 0x4015bd
push 1
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 4], 0xa
mov bl, 1
lea ecx, [ebp - 0x24]
call fcn.004cf46d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004cf46d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004cf46d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004cf46d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004cf46d
and byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.004cf46d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.004cf46d
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x40