Function at 0x10094fb0
Capabilities:
Check if file exists
Create process memory minidump
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ea40d
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x102683e0]
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 dword [ebp - 0x4a0], edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x4f0], 0
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.101a01b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], eax
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10017a40
xor eax, eax
mov dword [ebp - 0x4a8], 7
add esp, 0xc
mov dword [ebp - 0x4ac], 0
mov word [ebp - 0x4bc], ax
cmp word [ebp - 0x420], ax
jne 0x100950a4
xor ecx, ecx
jmp 0x100950bf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100950b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.10003c10
lea edx, [ebp - 0x4bc]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x450]
call fcn.10018c80
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4a8], 8
jb 0x10095102
push dword [ebp - 0x4bc]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x4a8], 7
push eax
push 0x1022a5e4
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 0x4ac], 0
mov word [ebp - 0x4bc], ax
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], eax
mov word [ebp - 0x4ec], ax
call fcn.10003c10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4d4]
push 1
xor eax, eax
mov dword [ebp - 0x4c0], 7
push 0x102285f0
mov dword [ebp - 0x4c4], 0
mov word [ebp - 0x4d4], ax
call fcn.10003c10
lea eax, [ebp - 0x4ec]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x4d4]
lea ecx, [ebp - 0x480]
call fcn.10024670
add esp, 4
cmp dword [ebp - 0x4c0], 8
jb 0x100951b0
push dword [ebp - 0x4d4]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4d8], 8
mov dword [ebp - 0x4c0], 7
mov dword [ebp - 0x4c4], 0
mov word [ebp - 0x4d4], ax
jb 0x100951e8
push dword [ebp - 0x4ec]
call fcn.101a02f0
add esp, 4
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.101a01b0
add esp, 0xc
lea ecx, [ebp - 0x4ec]
call fcn.1008ecc0
cmp dword [ebp - 0x46c], 8
lea ebx, [ebp - 0x480]
mov esi, eax
lea eax, [ebp - 0x450]
cmovae ebx, dword [ebp - 0x480]
cmp dword [ebp - 0x43c], 8
cmovae eax, dword [ebp - 0x450]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4a4], eax
jb 0x10095256
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x484]
push ebx
push eax
movzx eax, word [ebp - 0x486]
push eax
movzx eax, word [ebp - 0x488]
push eax
push dword [ebp - 0x4a4]
lea eax, [ebp - 0x218]
push esi
push str._s_s__02d_02d_02d__s__ld__ld.dmp
push 0xffffffffffffffff
push eax
call fcn.10096880
add esp, 0x2c
cmp dword [ebp - 0x4d8], 8
jb 0x100952b1
push dword [ebp - 0x4ec]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x100952db
xor ecx, ecx
jmp 0x100952f3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100952e4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.10003c10
mov byte [ebp - 4], 7
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
push str.GenerateDump_fileName:_s
push 0
push str.Light_pub.cpp
call fcn.10036720
add esp, 0x10
lea eax, [ebp - 0x218]
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x4a0]
push 0
mov dword [ebp - 0x498], eax
lea eax, [ebp - 0x49c]
push eax
push 1
push esi
mov dword [ebp - 0x494], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x100953bb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100953bb
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.100031d0
jmp 0x100953db
xor eax, eax
mov dword [edi + 0x14], 7
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x1022a5e4
mov word [edi], ax
call fcn.10003c10
cmp dword [ebp - 0x424], 8
jb 0x100953f2
push dword [ebp - 0x438]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x424], 7
cmp dword [ebp - 0x43c], 8
mov word [ebp - 0x438], ax
mov dword [ebp - 0x428], eax
jb 0x10095422
push dword [ebp - 0x450]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x43c], 7
cmp dword [ebp - 0x454], 8
mov word [ebp - 0x450], ax
mov dword [ebp - 0x440], eax
jb 0x10095452
push dword [ebp - 0x468]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x454], 7
cmp dword [ebp - 0x46c], 8
mov word [ebp - 0x468], ax
mov dword [ebp - 0x458], eax
jb 0x10095482
push dword [ebp - 0x480]
call fcn.101a02f0
add esp, 4
mov eax, edi
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.101a0193
mov esp, ebp
pop ebp
ret