Function at 0x4b3510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9d89
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5073a8]
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 dword [ebp - 0x5c], edi
mov esi, dword [ebp + 8]
mov ecx, esi
push str.windowinit
call dword [0x4e0568]
push str.click
mov ecx, esi
call dword [0x4e0568]
test al, al
je 0x4b390f
mov eax, dword [esi + 0x88]
cmp eax, dword [edi + 0x3a0]
jne 0x4b359f
push 1
push 0x4dfd98
push 0x4dfda0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x4b394c
push 2
lea ecx, [edi - 0x20]
call dword [0x4e0574]
jmp 0x4b394c
cmp eax, dword [edi + 0x3ac]
jne 0x4b35d9
mov ecx, dword [edi + 0x3b0]
test ecx, ecx
je 0x4b394c
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 0x4b394c
cmp eax, dword [edi + 0x3a4]
jne 0x4b361e
add edi, 0x6c8
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b35f0
sub ecx, edx
sar ecx, 1
je 0x4b394c
push 5
push 0
push 0
push edi
push 0x4dfdc0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4b394c
cmp eax, dword [edi + 0x398]
jne 0x4b36c4
xorps xmm0, xmm0
lea ecx, [edi - 0x20]
movups xmmword [ebp - 0x7c], xmm0
movups xmmword [ebp - 0x6c], xmm0
call dword [0x4e0570]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x70], 0x4dfdcc
mov dword [ebp - 0x6c], 0x51
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x4b394c
push 0x104
lea esi, [edi + 0x3bc]
push 0
push esi
call fcn.00472380
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 0x4b3690
sub ecx, edx
cmp byte [edi + ecx + 0x3bb], 0x5c
je 0x4b36b3
cmp ecx, 0x102
jge 0x4b36b3
mov byte [edi + ecx + 0x3bc], 0x5c
mov ecx, dword [edi + 0x394]
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
jmp 0x4b394c
cmp eax, dword [edi + 0x39c]
jne 0x4b394c
mov eax, dword [edi + 0x8d0]
cmp eax, 1
jne 0x4b38f0
push 0x104
lea eax, [edi + 0x3bc]
push 0
push eax
mov dword [ebp - 0x58], eax
call fcn.00472380
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 [0x4e0564]
mov edi, eax
mov esi, 0x104
mov eax, dword [ebp - 0x58]
mov edx, eax
sub edi, eax
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4b373f
mov al, byte [edi + edx]
test al, al
je 0x4b373f
mov byte [edx], al
inc edx
sub esi, 1
jne 0x4b3726
test esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [edx - 1]
cmovne eax, edx
lea ecx, [ebp - 0x54]
mov byte [eax], 0
call dword [0x4e0560]
mov edx, dword [ebp - 0x58]
mov ecx, edx
mov edi, dword [ebp - 0x5c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b3765
sub ecx, esi
test ecx, ecx
jle 0x4b394c
cmp byte [edi + ecx + 0x3bb], 0x5c
je 0x4b3790
cmp ecx, 0x102
jge 0x4b3790
mov byte [edi + ecx + 0x3bc], 0x5c
mov ecx, edx
call fcn.004b4d90
test eax, eax
jne 0x4b37b2
push eax
push 0x4dfddc
push 0x4dfde4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4b394c
mov ecx, dword [edi + 0x3a8]
mov dword [edi + 0x8d0], 2
test ecx, ecx
je 0x4b37d4
call dword [0x4e0730]
test al, al
je 0x4b394c
mov ecx, dword [edi + 0x3b0]
test ecx, ecx
je 0x4b37e8
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x3b4]
test ecx, ecx
je 0x4b37fc
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x39c]
test ecx, ecx
je 0x4b3810
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4b382c
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 0x4b3838
push 0xa
call esi
call fcn.004b44f0
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4b384b
push 0x14
call esi
lea edx, [edi + 0x4c0]
lea ecx, [edi + 0x3bc]
call fcn.004b4660
test eax, eax
je 0x4b394c
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4b3872
push 0x46
call esi
lea ecx, [edi + 0x3bc]
call fcn.004b41f0
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4b388b
push 0x50
call esi
lea ecx, [edi + 0x3bc]
call fcn.004b3f70
mov ecx, dword [edi + 0x3b8]
test ecx, ecx
je 0x4b38aa
push 0x5a
call esi
mov ecx, dword [edi + 0x3b8]
mov dword [edi + 0x8d0], 3
test ecx, ecx
je 0x4b38c2
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x39c]
test ecx, ecx
je 0x4b394c
mov eax, dword [ecx]
push 0x4dfe10
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x39c]
test ecx, ecx
je 0x4b394c
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
jmp 0x4b394c
cmp eax, 3
jne 0x4b394c
lea ecx, [edi + 0x3bc]
xor dl, dl
call fcn.004b3eb0
push 1
lea ecx, [edi - 0x20]
call dword [0x4e0574]
jmp 0x4b394c
push str.selectchanged
mov ecx, esi
call dword [0x4e0568]
test al, al
je 0x4b394c
mov ecx, dword [edi + 0x3a8]
cmp dword [esi + 0x88], ecx
jne 0x4b394c
call dword [0x4e0730]
mov ecx, dword [edi + 0x39c]
test al, al
mov eax, dword [ecx]
je 0x4b3944
push 1
jmp 0x4b3946
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.0047012d
mov esp, ebp
pop ebp
ret 4