Function at 0x10005d60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001773e
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x10021568]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x18], esi
je 0x10005e88
push 0x103
lea eax, [ebp - 0x113]
push esi
push eax
mov byte [ebp - 0x114], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [ebx + 4]
push ecx
lea edx, [ebp - 0x114]
push str.uploadlog__d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
push str.UPLOADLOG_EXE
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
cmp edi, esi
jne 0x10006062
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x5c
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_11744]
inc eax
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str.UploadLog.exe
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10005ebb
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp + 0x1c], 0x10
jb 0x10005e9b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015f75
mov esp, ebp
pop ebp
ret 0x1c
mov dword [ebp - 0x224], esi
xor edi, edi
mov eax, 0x1001bd30
lea esi, [ebp - 0x234]
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10003390
lea ecx, [ebp - 0x280]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x27c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 5
call fcn.10011a30
push edi
lea ecx, [ebp - 0x280]
call fcn.10013de0
push str.__xml_version_1.0__encoding_GB2312_____r_n
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.10013de0
push edi
push edi
push str.stratupcmd
lea ecx, [ebp - 0x280]
call fcn.10013800
mov eax, dword [ebx + 4]
push 0x4000
push eax
push 0x1001bdb4
lea ecx, [ebp - 0x280]
call fcn.10013d90
lea eax, [ebx + 0x28]
mov ebx, 0x10
cmp dword [eax + 0x14], ebx
jb 0x10005f65
mov eax, dword [eax]
push 0x4000
push eax
push str.uploadurl
lea ecx, [ebp - 0x280]
call fcn.10013800
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x10005f86
lea eax, [ebp + 8]
push 0x4000
push eax
push str.needuplodlog
lea ecx, [ebp - 0x280]
call fcn.10013800
mov eax, dword [ebp - 0x280]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10005fa7
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x234]
call fcn.10003390
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x10005fcd
mov eax, esi
push 5
push 0
push eax
mov eax, dword [ebp - 0x238]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x1f
ja 0x1000601e
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.10013bc0
lea esi, [ebp - 0x234]
call fcn.10001250
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea esi, [ebp + 8]
call fcn.10001250
jmp 0x10005e9b
lea ecx, [ebp - 0x114]
push ecx
push str.UPLOADLOG_EXE
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x280]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10013bc0
lea esi, [ebp - 0x234]
call fcn.10001250
lea ecx, [ebp - 0x238]
test edi, edi
je 0x1000600b
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x10006067
mov ebx, 0x10
mov edx, dword [ebp + 0x18]
inc edx
push edx
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x10006082
lea eax, [ebp + 8]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10006086
mov eax, dword [ebp + 0x18]
inc eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x240], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, dword [sym.imp.mfc100.dll_Ordinal_1296]
call esi
add esp, 4
cmp dword [ebp + 0x1c], ebx
jb 0x100060d7
mov ecx, dword [ebp + 8]
push ecx
call esi
add esp, 4
mov eax, 1
jmp 0x10005e9d