Function at 0x43cbd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
push esi
push edi
lea edi, [ebp - 0x678]
mov ecx, 0x19e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50a8b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x50ca48], 0
jne 0x43cc09
xor eax, eax
jmp 0x43cf0a
cmp dword [0x50ca48], 1
jne 0x43cc1b
mov dword [ebp - 8], 2
jmp 0x43cc2b
cmp dword [0x50ca48], 2
jb 0x43cc2b
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov esi, esp
push str.DBGHELP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43cc56
xor eax, eax
jmp 0x43cf0a
mov esi, esp
push str.MiniDumpWriteDump
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43cc7e
xor eax, eax
jmp 0x43cf0a
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00452fd0
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.00453050
movzx ecx, word [ebp - 0x228]
push ecx
movzx edx, word [ebp - 0x22a]
push edx
movzx eax, word [ebp - 0x22c]
push eax
movzx ecx, word [ebp - 0x22e]
push ecx
movzx edx, word [ebp - 0x232]
push edx
movzx eax, word [ebp - 0x234]
push eax
push 0x50ca50
push str._s_u__u__u__u__u__u.dmp
push 0x208
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00401e15
add esp, 0x28
mov esi, esp
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x43cd3f
xor eax, eax
jmp 0x43cf0a
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.00453050
mov esi, esp
push 0
push 0
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x23c]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, esp
call fcn.00453050
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.00453050
push eax
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0x254], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x254], 0
jne 0x43cee2
mov byte [ebp - 0x65c], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x65b]
push ecx
call fcn.00452fd0
add esp, 0xc
mov edx, dword [ebp - 0x258]
push edx
push str.MinidumpWriteDump___FAILED__LastError:_u__n
push 0x400
lea eax, [ebp - 0x65c]
push eax
call fcn.0040167c
add esp, 0x10
mov dword [ebp - 0x668], 0
mov esi, esp
push 0
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x65c]
push edx
call fcn.004538e0
add esp, 4
push eax
lea eax, [ebp - 0x65c]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00453050
mov dword [ebp - 0x674], 0
mov esi, esp
push 0
push 0
lea edx, [ebp - 0x674]
push edx
push 0x400
mov eax, dword [ebp - 0x258]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp esi, esp
call fcn.00453050
mov esi, esp
push 0
lea ecx, [ebp - 0x668]
push ecx
mov edx, dword [ebp - 0x674]
push edx
call fcn.004538e0
add esp, 4
push eax
mov eax, dword [ebp - 0x674]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00453050
mov esi, esp
mov edx, dword [ebp - 0x674]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, esp
call fcn.00453050
mov esi, esp
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00453050
cmp dword [ebp - 0x254], 0
jne 0x43cf05
xor eax, eax
jmp 0x43cf0a
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x43cf38]
call fcn.00453080
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004538d0
add esp, 0x678
cmp ebp, esp
call fcn.00453050
mov esp, ebp
pop ebp
ret