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

Disassembly:
sub esp, 0x968
mov dl, byte [0x5cabc0]
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x771]
mov byte [esp + 0x770], dl
mov byte [esp + 0x11c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x97c]
mov ecx, 0x40
lea edi, [esp + 0x11d]
mov byte [esp + 0x324], dl
mov ebp, dword [eax]
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x325]
mov byte [esp + 0x52c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x52d]
lea edx, [esp + 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x44]
push edx
mov edx, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x128]
push 0x104
push ecx
push edx
call fcn.0051ddd0
mov al, byte [esp + 0x134]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
test al, al
je 0x51d78d
lea eax, [esp + 0x324]
push 0x104
lea ecx, [esp + 0x120]
push eax
push ecx
call fcn.0051e030
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x640]
add esp, 0xc
mov dword [esp + 0x630], 0
lea edx, [esp + 0x630]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x11c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x51d78d
lea ecx, [esp + 0x34]
lea edx, [esp + 0x634]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x51d786
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [esp + 0x2e]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2a]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x2a]
push eax
mov eax, dword [esp + 0x2c]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
push str._d__d__d__d._d
lea ecx, [esp + 0x544]
push 0x103
push ecx
call ebx
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dl, byte [0x5cabc0]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x429]
mov byte [esp + 0x428], dl
push 0x5c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
test eax, eax
je 0x51d7eb
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x428]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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, 0x24
xor eax, eax
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dl, byte [0x5cabc0]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x221]
mov byte [esp + 0x220], dl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
mov eax, dword [esp + 0x94]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x18]
push eax
lea eax, [esp + 0x538]
push eax
lea eax, [esp + 0x334]
mov ecx, edx
push eax
lea eax, [esp + 0x43c]
sub ecx, esi
push eax
push ecx
mov ecx, dword [ebp]
push esi
push edx
push ecx
call fcn.0051db50
mov edx, dword [ebp]
add esp, 4
push eax
push edx
push str.code_08Xname_saddress_08Xbase_08Xrva_08Xmodule_sver_sdate_sos_d._dapp_spidStorm
lea eax, [esp + 0x7a0]
push 0x207
push eax
call ebx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x80]
add esp, 0x38
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 0x220]
mov dword [esp + 0x18], ecx
push str...BugReport.exe
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], 0x44
mov word [esp + 0x7c], 5
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x51d950
lea ecx, [esp + 0x14]
lea edx, [esp + 0x44]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x78c]
push 0
lea ecx, [esp + 0x240]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x51d950
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x968
ret