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

Disassembly:
mov eax, 0x4aff98
call fcn.0048a7d0
sub esp, 0x68
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 4], 3
test eax, eax
je 0x401205
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401201
lea esi, [ebx + 0x9c]
lea edi, [ebp - 0x30]
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 - 0x28]
sub eax, dword [ebp - 0x30]
test eax, eax
jle 0x4011fa
mov ecx, dword [ebp - 0x24]
push 0x60
sub ecx, dword [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor bl, bl
jmp 0x4015fa
and dword [ebx + 0x3c], 0
lea eax, [ebp + 8]
lea ecx, [ebx + 0x44]
push eax
call fcn.004a605f
lea eax, [ebp + 0xc]
lea ecx, [ebx + 0x48]
push eax
call fcn.004a605f
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 + 0x80]
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.004a605f
mov eax, dword [ebp + 0x40]
lea ecx, [ebx + 0x88]
mov dword [ebx + 0x84], eax
lea eax, [ebp + 0x44]
push eax
call fcn.004a605f
mov eax, dword [ebp + 0x48]
and byte [ebp + 0x2b], 0
push str.BROWSER
mov dword [ebx + 0x7c], eax
push dword [ebp + 8]
call fcn.0048a850
pop ecx
test eax, eax
pop ecx
jne 0x401299
mov byte [ebp + 0x2b], 1
push str.http:
lea ecx, [ebp + 8]
call fcn.004a022e
test eax, eax
jne 0x4012ba
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp + 0x2b], 1
call fcn.004a605f
push str.ftp:
lea ecx, [ebp + 8]
call fcn.004a022e
test eax, eax
jne 0x4012db
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp + 0x2b], 1
call fcn.004a605f
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.004a5c9b
push 0x4eea58
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
call fcn.0048a850
pop ecx
test eax, eax
pop ecx
je 0x401348
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x34]
push 0x4dd17c
push eax
call fcn.004a622f
push 0x4dd178
push eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 5
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004a633e
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 5
call fcn.004a5f26
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 4
call fcn.004a5f26
cmp byte [ebp + 0x2b], 0
je 0x401375
push dword [ebp + 0xc]
lea eax, [ebp + 0x2c]
mov ecx, ebx
push eax
call fcn.0040195c
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004a605f
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 4
call fcn.004a5f26
cmp dword [ebx + 0x7c], 0
je 0x401389
push 0xfffffffffffffffe
lea eax, [ebp + 0x14]
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
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.00401821
push 0x44
xor esi, esi
pop edi
lea eax, [ebp - 0x74]
push edi
push esi
push eax
call fcn.0048a7f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x74], edi
lea edi, [ebx + 0xac]
lea ecx, [ebp - 0x74]
push edi
push ecx
push esi
push esi
push 0x20
mov dword [ebp - 0x48], 1
mov word [ebp - 0x44], si
mov eax, dword [eax - 8]
push esi
push esi
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004a6356
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
cmp eax, esi
jne 0x4013f4
xor bl, bl
jmp 0x4015ee
push 0x2710
mov dword [ebx + 0x3c], esi
push dword [edi]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp byte [ebp + 0x2b], 0
je 0x401411
push 0x3e8
jmp 0x401419
cmp dword [ebp + 0x24], esi
jbe 0x401420
push dword [ebp + 0x24]
mov ecx, ebx
call fcn.00401a91
mov eax, dword [0x4ea054]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x3c]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.004a605f
lea eax, [ebp + 0x44]
lea ecx, [ebp - 0x14]
push eax
call fcn.004a605f
lea eax, [ebp - 0x20]
push eax
push 0x401673
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov dword [ebx + 0x3c], eax
jne 0x401471
mov byte [ebp - 4], 9
xor bl, bl
jmp 0x4015da
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 edi, eax
call esi
push 0x20
mov dword [ebp + 0x34], eax
call esi
push 0x21
mov dword [ebp + 0x10], eax
call esi
push 2
mov dword [ebp + 0x28], eax
call esi
push 0x14
mov dword [ebp + 0x38], eax
call esi
push 0x37
mov dword [ebp + 0x48], eax
call esi
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0x74]
sub ecx, dword [ebp + 0x14]
add edx, dword [ebp + 0x28]
add eax, dword [ebp + 0x28]
mov esi, dword [ebp + 0x10]
add ecx, dword [ebp + 0x10]
add eax, dword [ebx + 0x78]
neg esi
neg edx
cmp byte [ebp + 0x27], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
je 0x4014fb
sub edx, edi
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0x68], 0
je 0x401507
sub edx, dword [ebp + 0x34]
mov dword [ebp - 0x2c], edx
sub eax, edx
push 0x60
sub ecx, esi
push eax
push ecx
push edx
push esi
push 1
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [ebx + 0x9c]
lea esi, [ebp - 0x30]
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.004a2b9b
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x401547
cmp ebx, edi
je 0x401542
mov eax, dword [ebx + 0x1c]
jmp 0x401544
xor eax, eax
mov dword [esi + 0x20], eax
cmp dword [ebx + 0x6c], edi
je 0x401596
cmp dword [ebp + 0x30], edi
jne 0x40155a
push 2
pop eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
sub eax, dword [ebp + 0x38]
sub ecx, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0x48]
sub eax, dword [ebp + 0x14]
sub ecx, dword [ebp + 0x28]
mov dword [ebx + 0x8c], eax
sub eax, dword [ebp + 0x14]
mov dword [ebx + 0x90], ecx
sub ecx, dword [ebp + 0x18]
add eax, dword [ebp + 0x1c]
add ecx, dword [ebp + 0x20]
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], ecx
cmp dword [ebp + 0x40], edi
je 0x4015b0
push edi
mov ecx, ebx
call fcn.004a568c
push 5
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4015d4
push 5
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, ebx
call fcn.004a568c
cmp esi, edi
je 0x4015d4
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 - 0x14]
call fcn.004a5f26
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004a5f26
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004a5f26
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004a5f26
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004a5f26
and byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.004a5f26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.004a5f26
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x44