Function at 0x10001940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101685e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push str.______ViewImageFileByDefApp___IN______
push 0x80000
mov dword [ebp - 4], ebx
call fcn.10001000
mov esi, dword [ebp + 8]
push esi
push str.psImgFileList__0x_X
push 0x40000
call fcn.10001000
add esp, 0x14
cmp esi, ebx
je 0x10001b05
mov dword [ebp - 0x10], ebx
cmp dword [esi + 4], ebx
jle 0x10001b1e
mov eax, dword [esi]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x10001a23
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
jle 0x10001a20
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
cmp esi, ecx
jle 0x100019f4
mov ecx, esi
lea ebx, [ebp - 0x3c]
call fcn.10003530
xor ecx, ecx
jmp 0x100019f7
lea eax, [ebp - 0x3c]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
cmp edi, ecx
je 0x10001a20
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 1]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ebx, esi
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp + 8]
lea eax, [ebx - 1]
mov byte [ebp - 4], 1
test eax, eax
js 0x10001a51
cmp eax, ebx
jge 0x10001a51
cmp word [edi + eax*2], 0x5c
jne 0x10001a51
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi]
push edx
push eax
push 0x10148d04
lea ecx, [ebp - 0x30]
push ecx
jmp 0x10001a67
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov edx, dword [esi]
push ecx
push edx
push str._s_s
lea eax, [ebp - 0x30]
push eax
call fcn.10003460
mov eax, dword [ebp - 0x30]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
jne 0x10001a7d
mov eax, 0x10148758
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x10001ad6
mov ecx, dword [ebp - 0x14]
push str.ShellExecute_succeed
push 0x80000
mov dword [ecx + 4], ebx
call fcn.10001000
add esp, 8
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x10001ac4
push edi
call fcn.10005a7c
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 4]
jl 0x100019b4
jmp 0x10001b1e
push eax
push str.ShellExecute_failed._Ret___d
push 0x20000
call fcn.10001000
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [edx + 4], 8
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x10001b1e
push edi
call fcn.10005a7c
add esp, 4
jmp 0x10001b1e
push str.ViewImageFile_Param_error
push 0x20000
mov dword [edi + 4], 1
call fcn.10001000
add esp, 8
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
push eax
push str.______ViewImageFileByDefApp___OUT_______return___d
push 0x80000
call fcn.10001000
mov esi, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
je 0x10001b51
push eax
call fcn.10005a7c
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4