Function at 0x426780
Capabilities:
Create directory
Create process on windows
Get common file path
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x25c
cmp eax, 4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
ja case.0x426795.3
jmp dword [eax*4 + 0x426d90]
mov esi, 2
jmp 0x4267b2
mov esi, 1
jmp 0x4267b2
xor esi, esi
jmp 0x4267b2
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x264]
xor ebx, ebx
cmp eax, ebx
je 0x42696c
push 0x80
mov dword [esp + 0x14], 0x4cc6f4
call fcn.004be967
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x21c]
add esp, 4
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], 1
mov dword [esp + 0x30], esi
jle 0x4268db
cmp esi, eax
jge 0x42681e
cmp esi, ebx
jl 0x42681e
mov eax, dword [ebp + 0x218]
mov eax, dword [eax + esi*4]
jmp 0x426820
xor eax, eax
push eax
lea eax, [ebp + 0xc]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0044a2d0
lea edx, [esp + 0x68]
push edx
call fcn.0044a200
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x4268c8
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea edx, [ecx + 1]
cmp edi, edx
jne 0x4268b2
mov eax, dword [esp + 0x24]
add ecx, eax
lea ecx, [ecx*4 + 4]
push ecx
call fcn.004be967
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ebx, eax
lea ecx, [edx*4 + 4]
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004be975
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add esp, 8
add eax, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc eax
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x21c]
inc esi
cmp esi, eax
mov dword [esp + 0x30], esi
jl 0x42680f
mov ecx, dword [ebp + 8]
push ebx
lea edx, [esp + 0x14]
push ebx
mov eax, dword [ecx]
push edx
call dword [eax]
mov edi, eax
cmp edi, ebx
jne 0x426911
mov ebp, dword [ebp + 8]
mov eax, dword [str.ACDSee_32]
push ebx
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x200]
push 0x223
push ecx
push edx
call fcn.0044ace0
add esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 0x4cc6f4
cmp eax, ebx
je 0x426950
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jle 0x426950
cmp esi, eax
jge 0x42693c
cmp esi, ebx
jl 0x42693c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
jmp 0x42693e
xor eax, eax
push eax
call fcn.004be975
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x42692f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004be975
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 4
mov al, byte [ebp + 0x110]
lea edi, [ebp + 0x110]
test al, al
jne 0x42698b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x25c
ret 4
cmp dword [ebp + 0x268], ebx
je 0x426ba0
mov eax, dword [ebp + 0x21c]
test eax, eax
jle case.0x426795.0
mov eax, dword [ebp + 0x26c]
test eax, eax
je 0x426b14
cmp ebx, dword [ebp + 0x238]
jge 0x426b42
test ebx, ebx
jl 0x426b42
mov edx, dword [ebp + 0x234]
mov eax, dword [edx + ebx*4]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x426b42
mov al, byte [0x4eb858]
mov ecx, 0x41
mov byte [esp + 0x5c], al
xor eax, eax
lea edi, [esp + 0x5d]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp ebx, dword [ebp + 0x21c]
jge 0x426a19
test ebx, ebx
jl 0x426a19
mov edx, dword [ebp + 0x218]
mov eax, dword [edx + ebx*4]
jmp 0x426a1b
xor eax, eax
push eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x168]
push eax
push ecx
call fcn.0044a2d0
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, dword [eax + 0x200]
push 0x105
push edx
push 0xa1
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x5c]
push 0
push edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x200]
push ecx
push edx
call fcn.004539e0
add esp, 0x10
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, dword [ebp + 0x21c]
jge 0x426a8f
test ebx, ebx
jl 0x426a8f
mov eax, dword [ebp + 0x218]
mov eax, dword [eax + ebx*4]
jmp 0x426a91
xor eax, eax
push eax
push 0x1fb
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x208
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ecx + 0x998]
test eax, eax
jne 0x426ad3
call fcn.00407c20
test eax, eax
je 0x426c3c
mov eax, dword [ebp + 8]
push 0x4eba3c
push edi
push esi
mov ecx, dword [eax + 0x200]
lea edx, [esp + 0x170]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
add eax, 0x9a0
mov edx, dword [ecx]
push edx
push eax
call fcn.00409760
add esp, 0x1c
mov edi, eax
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
jne 0x426c3c
jmp 0x426b42
cmp ebx, dword [ebp + 0x21c]
jge 0x426b2b
test ebx, ebx
jl 0x426b2b
mov eax, dword [ebp + 0x218]
mov eax, dword [eax + ebx*4]
jmp 0x426b2d
xor eax, eax
lea ecx, [ebp + 0xc]
push eax
lea edx, [esp + 0x168]
push ecx
push edx
call fcn.0044a2d0
add esp, 0xc
lea eax, [esp + 0x164]
push 0x105
lea ecx, [esp + 0x168]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 5
lea edx, [esp + 0x168]
push 0
lea eax, [ebp + 0x110]
push edx
push eax
mov eax, dword [ebp + 0x250]
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp + 0x21c]
inc ebx
cmp ebx, eax
jl 0x4269a5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x25c
ret 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0042cc90
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x200]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
lea eax, [ebp + 0x214]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x26c]
lea edx, [ebp + 0xc]
cmp eax, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
je 0x426c4b
call fcn.00420450
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x200]
lea eax, [ecx + 0x9a0]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0x409c30
mov dword [esp + 0x58], edx
mov eax, dword [ecx + 0x998]
cmp eax, ebx
jne 0x426c4b
call fcn.00407c20
test eax, eax
jne 0x426c4b
mov eax, dword [esp + 0x18]
push eax
call fcn.004be975
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x25c
ret 4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x250]
cmp edx, dword [ecx + 0x24]
jne 0x426c90
cmp dword [ebp + 0x254], 0xffffffff
jne 0x426c90
push ebx
push edi
call fcn.004becfa
add esp, 8
test eax, eax
je 0x426c90
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x426c90
mov eax, dword [ebp + 0x250]
push str.Failure_creating_shortcut_folder
push eax
call fcn.0044ae60
add esp, 8
lea ecx, [esp + 0x34]
push ecx
call fcn.0042f5d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x426cc2
mov edx, dword [ebp + 8]
add edx, 0x20c
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x426cc2
mov ecx, dword [ebp + 8]
push 1
call fcn.0041ec00
cmp esi, 2
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x426d19
mov eax, dword [ebp + 0x270]
test eax, eax
je 0x426d19
mov eax, dword [0x4eb434]
test eax, eax
je 0x426d19
mov eax, dword [ebp + 8]
push 0
push 0
push 0xb
mov ecx, dword [eax + 0x10]
push ecx
call esi
mov ecx, dword [ebp + 8]
push 1
push 0
call fcn.0041ce90
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x20c]
push edx
call fcn.0041cce0
mov eax, dword [ebp + 8]
push 0
push 1
push 0xb
mov ecx, dword [eax + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call fcn.004be975
add esp, 4
test ebx, ebx
je 0x426d4a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x250]
mov eax, dword [eax + 0x24]
cmp ecx, eax
jne 0x426d4a
cmp dword [ebp + 0x254], 0xffffffff
jne 0x426d4a
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp + 0x250]
cmp ecx, eax
jne case.0x426795.0
push 0
push 8
push 0x110b
push eax
call esi
mov ecx, dword [ebp + 8]
push edi
call fcn.0041cd60
test eax, eax
je case.0x426795.0
mov ecx, dword [ebp + 8]
push 1
push eax
call fcn.0041ce90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x25c
ret 4