Function at 0x10002220
Capabilities:
Check if file exists
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ede1
mov eax, dword fs:[0]
push eax
mov eax, 0x4c44
call fcn.1000e6e0
mov eax, dword [0x10016034]
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 edi, ecx
lea eax, [edi + 0x654]
test eax, eax
je 0x10002272
lea eax, [edi + 0xa64]
test eax, eax
je 0x10002272
lea eax, [edi + 0xe74]
test eax, eax
jne 0x1000228d
cmp dword [edi + 0x1928], 0
jne 0x1000228d
push str._x86_DLLLeak
call fcn.1000b290
add esp, 4
jmp 0x10002897
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x100108d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Boomerang.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
push str.szBoomerangExe___s
call fcn.1000b290
lea esi, [edi + 0x1284]
push esi
lea eax, [ebp - 0x4c40]
push 0x1fff
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x14
push esi
push str.m_szLangCode:__s
call fcn.1000b290
add esp, 8
lea eax, [ebp - 0x4c44]
push eax
mov ecx, edi
call fcn.10008df0
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x4c40]
push eax
push str._s___s_
push eax
call ebx
mov edx, dword [ebp - 0x4c44]
add edx, 0xfffffff0
add esp, 0x10
lea ecx, [edx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000236b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x4c40]
push eax
push str._Boomerang__command_to_exe__s
call fcn.1000b290
add esp, 8
lea esi, [edi + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push esi
lea eax, [ebp - 0x4c40]
push eax
push str._s___s_
push eax
call ebx
push esi
push str.m_szOutputPath___s
call fcn.1000b290
mov ecx, dword [edi + 0x418]
mov eax, dword [edi + 0x41c]
sub eax, ecx
sar eax, 2
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x100023f1
cmp eax, esi
jbe 0x1000249b
push dword [ecx + esi*4]
lea eax, [ebp - 0x4c40]
push eax
push str._s___s_
push eax
call ebx
mov ecx, dword [edi + 0x418]
mov eax, dword [edi + 0x41c]
sub eax, ecx
inc esi
sar eax, 2
add esp, 0x10
cmp eax, esi
jg 0x100023c0
mov ecx, dword [edi + 0x424]
mov eax, dword [edi + 0x428]
sub eax, ecx
sar eax, 2
xor esi, esi
test eax, eax
jle 0x1000243b
cmp eax, esi
jbe 0x1000249b
push dword [ecx + esi*4]
lea eax, [ebp - 0x4c40]
push eax
push str._s___s_
push eax
call ebx
mov ecx, dword [edi + 0x424]
mov eax, dword [edi + 0x428]
sub eax, ecx
inc esi
sar eax, 2
add esp, 0x10
cmp eax, esi
jg 0x1000240a
mov eax, dword [edi + 0x18c0]
sub eax, dword [edi + 0x18bc]
sar eax, 2
test eax, eax
je 0x1000284d
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c44], esi
lea edx, [edi + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x100024c1
test edx, 0xffff0000
jne 0x100024a6
movzx ebx, dx
mov ecx, ebx
call fcn.10001360
test eax, eax
je 0x100024d6
push ebx
push eax
lea ecx, [ebp - 0x4c44]
call fcn.10009e00
jmp 0x100024d0
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x100024b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100024b0
sub ecx, esi
sar ecx, 1
jmp 0x100024c3
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x4c44]
call fcn.100099b0
mov esi, dword [ebp - 0x4c44]
push 0x5c
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x100024f2
or eax, 0xffffffff
jmp 0x100024f6
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x4c4c]
push eax
lea ecx, [ebp - 0x4c44]
call fcn.10009480
mov byte [ebp - 4], 2
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x1000256e
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x10002559
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10002559
call fcn.10009a80
mov dword [ebp - 0x4c48], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1000254e
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4c48]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c44], esi
jmp 0x1000256e
push dword [edx - 0xc]
lea ecx, [ebp - 0x4c44]
push edx
call fcn.100099b0
mov esi, dword [ebp - 0x4c44]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002592
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x100025ca
push dword [esi - 0xc]
lea ecx, [ebp - 0x4c44]
call fcn.10009710
mov esi, dword [ebp - 0x4c44]
push esi
lea eax, [ebp - 0xa38]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
push dword [esi - 8]
push esi
call dword [sym.imp.MSVCR110.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x100028b3
cmp eax, dword [esi - 8]
jg 0x100028b3
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [edi + 0x18c0]
sub eax, dword [edi + 0x18bc]
xor ebx, ebx
sar eax, 2
test eax, eax
je 0x1000282c
mov esi, dword [edi + 0x18bc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
push dword [esi + ebx*4]
mov esi, dword [sym.imp.MSVCR110.dll_swprintf_s]
lea eax, [ebp - 0xa38]
push eax
push str._s_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
push str.Scan__Silent_AP_path___s_
call fcn.1000b290
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x14
lea eax, [ebp - 0x218]
push str.Delivered.ini
push eax
push str._s_s
lea eax, [ebp - 0x628]
push 0x104
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
je 0x10002701
lea eax, [ebp - 0x628]
push eax
push str.CBoomerangClient::IsCrashFileDelivered__SILENT_INI_Path___s__it_had_been_delivered_before.
call fcn.1000b290
add esp, 8
jmp 0x1000280c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push str.MiniDump.dmp
push eax
push str._s_s
lea eax, [ebp - 0xc40]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x14
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push str.CrashRpt.xml
push eax
push str._s_s
lea eax, [ebp - 0x830]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0xc40]
push eax
call esi
test eax, eax
je 0x100027db
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
je 0x100027db
push str.CrashRpt.xml
push str.MiniDump.dmp
lea eax, [ebp - 0x218]
push eax
push 0x7c
lea eax, [ebp - 0x4c40]
push eax
push str._s__c___s____s____s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x1000280c
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
je 0x1000280c
push str.CrashRpt.xml
lea eax, [ebp - 0x218]
push eax
push 0x7c
lea eax, [ebp - 0x4c40]
push eax
push str._s__c___s____s____s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov esi, dword [edi + 0x18bc]
mov eax, dword [edi + 0x18c0]
sub eax, esi
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x10002626
mov esi, dword [ebp - 0x4c44]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000284d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.100081d0
push dword [edi + 0x430]
push str.m_strProcessName___s
call fcn.1000b290
lea eax, [ebp - 0x4c40]
push eax
push str.ExecuteReportProcess:__s
call fcn.1000b290
add esp, 0x10
lea eax, [ebp - 0x4c40]
push 1
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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.1000d9da
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10001230
int3