Function at 0x401690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f859
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x47d348]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
push str.windowinit
call dword [0x45b254]
push str.click
mov ecx, esi
call dword [0x45b254]
test al, al
je 0x401a5b
mov eax, dword [esi + 0x88]
cmp eax, dword [edi + 0x3a0]
jne 0x40171c
push 1
push 0x45ab54
push 0x45ab5c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x401a98
push 2
lea ecx, [edi - 0x20]
call dword [0x45b260]
jmp 0x401a98
cmp eax, dword [edi + 0x3ac]
jne 0x401756
mov ecx, dword [edi + 0x3b0]
test ecx, ecx
je 0x401a98
mov esi, dword [ecx]
mov eax, dword [esi + 0xdc]
call eax
mov ecx, dword [edi + 0x3b0]
test al, al
sete al
movzx eax, al
push eax
call dword [esi + 0xe0]
jmp 0x401a98
cmp eax, dword [edi + 0x3a4]
jne 0x40179e
add edi, 0x6c8
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401770
sub ecx, edx
sar ecx, 1
je 0x401a98
push 5
push 0
push 0
push edi
push 0x45ab7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401a98
cmp eax, dword [edi + 0x398]
jne 0x401844
xorps xmm0, xmm0
lea ecx, [edi - 0x20]
movups xmmword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x68], xmm0
call dword [0x45b25c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x6c], 0x45ab88
mov dword [ebp - 0x68], 0x51
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x401a98
push 0x104
lea esi, [edi + 0x3bc]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push dword [ebp - 0x58]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401810
sub ecx, edx
cmp byte [edi + ecx + 0x3bb], 0x5c
je 0x401833
cmp ecx, 0x102
jge 0x401833
mov byte [edi + ecx + 0x3bc], 0x5c
mov ecx, dword [edi + 0x394]
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
jmp 0x401a98
cmp eax, dword [edi + 0x39c]
jne 0x401a98
mov eax, dword [edi + 0x8d0]
cmp eax, 1
jne 0x401a3e
push 0x104
lea esi, [edi + 0x3bc]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [edi + 0x394]
lea edx, [ebp - 0x54]
add esp, 0xc
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call dword [0x45b250]
push eax
mov ecx, esi
call fcn.00401510
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call dword [0x45b24c]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4018b2
sub ecx, edx
test ecx, ecx
jle 0x401a98
cmp byte [edi + ecx + 0x3bb], 0x5c
je 0x4018dd
cmp ecx, 0x102
jge 0x4018dd
mov byte [edi + ecx + 0x3bc], 0x5c
mov ecx, esi
call fcn.00401ff0
test eax, eax
jne 0x4018ff
push eax
push 0x45ab54
push 0x45ab98
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401a98
mov ecx, dword [edi + 0x3a8]
mov dword [edi + 0x8d0], 2
test ecx, ecx
je 0x401921
call dword [0x45b26c]
test al, al
je 0x401a98
mov ecx, dword [edi + 0x3b0]
test ecx, ecx
je 0x401935
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x3b4]
test ecx, ecx
je 0x401949
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x39c]
test ecx, ecx
je 0x40195d
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x401979
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
mov esi, dword [sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
je 0x401985
push 0xa
call esi
call fcn.00402670
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x401998
push 0x14
call esi
lea edx, [edi + 0x4c0]
lea ecx, [edi + 0x3bc]
call fcn.004023c0
test eax, eax
je 0x401a98
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4019bf
push 0x46
call esi
lea ecx, [edi + 0x3bc]
call fcn.00402bc0
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4019d8
push 0x50
call esi
lea ecx, [edi + 0x3bc]
call fcn.00402e80
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4019f1
push 0x5a
call esi
call fcn.004027f0
mov ecx, dword [edi + 0x3b8]
mov dword [edi + 0x8d0], 3
test ecx, ecx
je 0x401a14
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x39c]
test ecx, ecx
je 0x401a98
mov eax, dword [ecx]
push 0x45abc4
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x39c]
test ecx, ecx
je 0x401a98
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
jmp 0x401a98
cmp eax, 3
jne 0x401a98
lea ecx, [edi + 0x3bc]
call fcn.004030d0
push 1
lea ecx, [edi - 0x20]
call dword [0x45b260]
jmp 0x401a98
push str.selectchanged
mov ecx, esi
call dword [0x45b254]
test al, al
je 0x401a98
mov ecx, dword [edi + 0x3a8]
cmp dword [esi + 0x88], ecx
jne 0x401a98
call dword [0x45b26c]
mov ecx, dword [edi + 0x39c]
test al, al
mov eax, dword [ecx]
je 0x401a90
push 1
jmp 0x401a92
push 0
call dword [eax + 0xec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044df71
mov esp, ebp
pop ebp
ret 4