Function at 0x477ba0
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d17a6
mov eax, dword fs:[0]
push eax
sub esp, 0x978
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x970], eax
push esi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x980]
mov dword fs:[0], eax
mov esi, ecx
push 0x103
lea eax, [esp + 0x51]
mov byte [esp + 0x50], 0
push 0
push eax
call fcn.0048f5e0
push 0x103
lea eax, [esp + 0x165]
mov byte [esp + 0x164], 0
push 0
push eax
call fcn.0048f5e0
push 0x103
lea eax, [esp + 0x381]
mov byte [esp + 0x380], 0
push 0
push eax
call fcn.0048f5e0
push 0x103
lea eax, [esp + 0x495]
mov byte [esp + 0x494], 0
push 0
push eax
call fcn.0048f5e0
xor eax, eax
add esp, 0x30
xorps xmm0, xmm0
mov word [esp + 0x3c], ax
movq qword [esp + 0x3e], xmm0
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push 0x1c
push eax
push 0x421680
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x364]
neg eax
push 0x104
sbb eax, eax
and eax, dword [esp + 0x24]
push ecx
push eax
call esi
push 0x104
lea eax, [esp + 0x158]
push eax
push 0
call esi
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x368]
push eax
call fcn.0048df06
add esp, 8
test eax, eax
jne 0x477d0a
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.0048c3b3
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
jmp 0x477db3
push 0x103
lea eax, [esp + 0x261]
mov byte [esp + 0x260], 0
push 0
push eax
call fcn.0048f5e0
add esp, 0xc
lea eax, [esp + 0x364]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea eax, [esp + 0x260]
push 0x104
push eax
call fcn.0048c3b3
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea eax, [esp + 0x268]
add esp, 0xc
push eax
call esi
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.0048c3b3
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
call esi
push 0x4e7b68
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.004c8770
lea eax, [esp + 0x268]
push eax
lea eax, [esp + 0x5c]
push 0x104
push eax
call fcn.004c8770
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x4a]
push eax
movzx eax, word [esp + 0x4c]
push eax
movzx eax, word [esp + 0x4e]
push eax
movzx eax, word [esp + 0x50]
push eax
movzx eax, word [esp + 0x52]
push eax
movzx eax, word [esp + 0x52]
push eax
movzx eax, word [esp + 0x54]
push eax
lea eax, [esp + 0x68]
push eax
push str.dump_s__4d_02d_02d__02d_02d_02d__03d.dmp
lea eax, [esp + 0x490]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea edx, [esp + 0x498]
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x64]
call fcn.00477b10
mov dword [esp + 0x9b4], 0
lea eax, [esp + 0x5a1]
push 0x3ff
push 0
push eax
mov byte [esp + 0x5ac], 0
call fcn.0048f5e0
add esp, 0x38
lea eax, [esp + 0x574]
push 0x400
push dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0x574]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [esp + 0x574]
call fcn.004217f0
xorps xmm0, xmm0
lea ecx, [esp + 8]
movq qword [esp + 8], xmm0
call fcn.00401d50
mov byte [esp + 0x988], 1
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x477eb2
sub esp, 8
push 1
push ecx
push 2
push 0xc0000000
push dword [esp + 0x50]
call fcn.00401550
jmp 0x477ece
push 0
push 0x80
push 1
push 0
push 2
push 0xc0000000
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x477ee4
call fcn.00401520
test eax, eax
js 0x477f1b
mov esi, dword [esp + 8]
jmp 0x477ee8
mov dword [esp + 8], esi
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push esi
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 esi, esi
je 0x477f1b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 8], 0
mov byte [esp + 0x988], 0
lea ecx, [esp + 8]
call fcn.004015d0
mov dword [esp + 0x988], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.00406630
mov ecx, dword [esp + 0x980]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x970]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret