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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b747d
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x4e50cc]
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 ebx, ecx
xor eax, eax
mov dword [ebp - 0x4f4], 0
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR120.dll_memset
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 edx, [ebp - 0x480]
lea ecx, [ebp - 0x420]
call fcn.0041cb10
xor eax, eax
mov dword [ebp - 0x4ac], 7
add esp, 4
mov dword [ebp - 0x4b0], 0
mov word [ebp - 0x4c0], ax
cmp word [ebp - 0x420], ax
jne 0x43ef72
xor ecx, ecx
jmp 0x43ef8f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x43ef80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ef80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00402ddd
lea edx, [ebp - 0x4c0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x450]
call fcn.0041d150
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4ac], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43efd5
push dword [ebp - 0x4c0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x4ac], 7
push eax
push 0x4c431c
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x4b0], 0
mov word [ebp - 0x4c0], ax
mov dword [ebp - 0x4dc], 7
mov dword [ebp - 0x4e0], eax
mov word [ebp - 0x4f0], ax
call fcn.00402ddd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4d8]
push 1
xor eax, eax
mov dword [ebp - 0x4c4], 7
push 0x4c7398
mov dword [ebp - 0x4c8], 0
mov word [ebp - 0x4d8], ax
call fcn.00402ddd
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x4d8]
lea ecx, [ebp - 0x480]
call fcn.00420660
add esp, 4
cmp dword [ebp - 0x4c4], 8
jb 0x43f080
push dword [ebp - 0x4d8]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4dc], 8
mov dword [ebp - 0x4c4], 7
mov dword [ebp - 0x4c8], 0
mov word [ebp - 0x4d8], ax
jb 0x43f0b5
push dword [ebp - 0x4f0]
call edi
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 sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4f0]
call fcn.0043d0b0
cmp dword [ebp - 0x46c], 8
mov esi, eax
lea eax, [ebp - 0x480]
cmovae eax, dword [ebp - 0x480]
cmp dword [ebp - 0x43c], 8
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4a8], eax
jb 0x43f129
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp - 0x4a4]
movzx eax, word [ebp - 0x484]
push eax
movzx eax, word [ebp - 0x486]
push eax
movzx eax, word [ebp - 0x488]
push eax
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x218]
push esi
push str._s_s__02d_02d_02d__s__ld__ld.dmp
push 0xffffffffffffffff
push eax
call fcn.00440230
add esp, 0x2c
cmp dword [ebp - 0x4dc], 8
jb 0x43f186
push dword [ebp - 0x4f0]
call edi
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 0x43f1b0
xor ecx, ecx
jmp 0x43f1cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f1c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402ddd
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.00416f00
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 0x43f2d9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43f2d9
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x218], ax
jne 0x43f2af
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
jmp 0x43f2f2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x43f2c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f2c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x43f2f2
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov word [ebx], ax
push 0x4c431c
mov ecx, ebx
call fcn.00402ddd
cmp dword [ebp - 0x424], 8
jb 0x43f30d
push dword [ebp - 0x438]
call edi
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 0x43f33a
push dword [ebp - 0x450]
call edi
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 0x43f367
push dword [ebp - 0x468]
call edi
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 0x43f394
push dword [ebp - 0x480]
call edi
add esp, 4
mov eax, ebx
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.004a5ae0
mov esp, ebp
pop ebp
ret