Function at 0x45d0c0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process memory minidump
Get file attributes
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4f8f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push dword [ebx + 0xc]
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x45d98d
cmp dword [ebx + 0x30], 7
lea eax, [ebx + 0x1c]
cmova eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45d148
test al, 0x10
jne 0x45d148
mov al, 1
jmp 0x45d14a
xor al, al
test al, al
je 0x45d1e0
cmp dword [ebx + 0x30], 7
lea eax, [ebx + 0x1c]
push dword [ebx + 0x2c]
cmova eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x78]
push eax
call fcn.00452d10
mov byte [ebp - 4], 2
call fcn.0043e2f0
cmp dword [ebp - 0x64], 7
lea edi, [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
mov edx, eax
cmova edi, dword [ebp - 0x78]
mov eax, esp
push ecx
push edi
mov dword [eax], 0x62de0c
mov dword [eax + 4], 3
call fcn.0043e2c0
add esp, 0x10
test eax, eax
je 0x45d1d8
call fcn.0043e2f0
cmp dword [ebp - 0x64], 7
lea edi, [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
mov edx, eax
cmova edi, dword [ebp - 0x78]
sub esp, 8
mov eax, esp
push ecx
push edi
mov dword [eax], str.mdmp
mov dword [eax + 4], 4
call fcn.0043e2c0
add esp, 0x10
test eax, eax
jne 0x45d9c2
lea ecx, [ebp - 0x78]
call fcn.00428f30
cmp dword [ebx + 0x30], 7
lea eax, [ebx + 0x1c]
push 0
cmova eax, dword [ebx + 0x1c]
push 0x80
push 2
push 0
push 0
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
cmp eax, 0xffffffff
je 0x45d9ea
push 0
mov ecx, 1
mov word [ebp - 0x34], cx
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 2
lea ecx, [ebp - 0x34]
push ecx
push 0x9c040
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x45da1f
push str.PssCaptureSnapshot
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PssFreeSnapshot
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PssQuerySnapshot
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov dword [ebp - 0xfc], eax
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x45d2e5
cmp dword [ebp - 0x1c], 0
je 0x45d2e5
test eax, eax
je 0x45d2e5
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], 0
push eax
push 0x1003f
push 0x13fd
push esi
mov ecx, edi
call dword [0x5f3508]
call edi
test eax, eax
jne 0x45d2e0
mov eax, dword [ebp - 0x100]
mov cl, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x45d2ee
mov dword [ebp - 0x30], eax
jmp 0x45d2ec
mov dword [ebp - 0x30], 0x32
xor cl, cl
mov byte [ebp - 0x24], cl
mov byte [ebp - 4], 6
test cl, cl
jne 0x45d361
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x30]
mov eax, dword [0x629468]
mov dword [ebp - 0x108], 0x44334237
mov ecx, dword [ebp - 0x108]
movq qword [ebp - 0x60], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x60]
push 0x2c
mov dword [ebp - 0x10c], 0x35363541
mov eax, dword [ebp - 0x10c]
push str.Failed_to_create_process_snapshot__error:_
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0xa6
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
call fcn.0045e6d0
mov cl, byte [ebp - 0x24]
add esp, 8
mov eax, dword [ebx + 0x18]
xorps xmm0, xmm0
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x11c], eax
xor eax, eax
cmp byte [ebx + 0x4c], al
mov byte [ebp - 0xf8], cl
sete al
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x118], eax
xor ecx, ecx
mov eax, edx
mov byte [ebp - 0x135], cl
shr eax, 5
test al, 1
mov dword [ebp - 0x114], 0x45cd50
movzx eax, byte [ebp - 0x135]
cmovne ecx, esi
shr edx, 4
mov dword [ebp - 0xf4], ecx
test dl, 1
mov ecx, 1
cmovne eax, ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0xf0], al
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x110], eax
movups xmmword [ebp - 0xa0], xmm0
movups xmmword [ebp - 0x90], xmm0
call fcn.0045cc30
mov byte [ebp - 4], 7
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0xa0]
test dl, 1
jne 0x45d40f
mov eax, edx
shr eax, 1
test al, 1
mov eax, 0
cmove ecx, eax
mov eax, edx
shr eax, 1
test al, 1
jne 0x45d41c
and ecx, 0xfffffffd
jmp 0x45d41f
or ecx, 2
mov eax, edx
shr eax, 3
test al, 1
jne 0x45d42d
and ecx, 0xfffffffe
jmp 0x45d430
or ecx, 1
shr edx, 2
test dl, 1
jne 0x45d43d
and ecx, 0xfffffffb
jmp 0x45d440
or ecx, 4
push 0x10
mov dword [ebp - 0xa0], ecx
xorps xmm0, xmm0
push str.Dumped_by_AvDump
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
call fcn.00428be0
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x45d4ed
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 2
jb 0x45da50
cmp dword [ebx + 0x48], 7
lea eax, [ebx + 0x34]
push ecx
cmova eax, dword [ebx + 0x34]
push eax
push 2
push 0x624450
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0xd8]
call fcn.004218a0
mov byte [ebp - 4], 9
lea eax, [ebp - 0xd8]
cmp dword [ebp - 0xc4], 7
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xc8]
cmova eax, dword [ebp - 0xd8]
push eax
call fcn.00422330
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00428f30
lea ecx, [ebp - 0x4c]
call fcn.0045cdb0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x45d504
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00422330
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00428f30
nop dword [eax]
lea edx, [ebp - 0xfc]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xfc], 1
call fcn.0045e7c0
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x108], 1
mov eax, dword [edi]
mov dword [ebp - 0x104], eax
mov eax, dword [edi]
mov dword [eax], 0xb
mov eax, dword [ebp - 0xb0]
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 7
mov eax, dword [edi]
cmova ecx, dword [ebp - 0xc0]
mov dword [eax + 8], ecx
inc dword [ebp - 0x84]
cmp dword [ebp - 0x8c], 0
mov esi, dword [ebp - 0xa0]
je 0x45d5e2
mov eax, esi
mov dword [ebp - 0x100], esi
cmp esi, eax
jne 0x45d5e2
lea ecx, [ebp - 0x9c]
call fcn.0045e390
mov eax, dword [eax]
not eax
and eax, dword [ebp - 0x100]
sub dword [ebp - 0x8c], 1
mov dword [ebp - 0xa0], eax
je 0x45d5d8
mov dword [ebp - 0x100], eax
jmp 0x45d5a8
mov dword [ebp - 0x90], 0
xor ecx, ecx
mov dword [ebp - 0x18], esi
cmp dword [ebx + 0x18], ecx
lea edx, [ebp - 0x114]
push edx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x120]
cmove eax, ecx
cmp byte [ebp - 0x24], 0
mov ecx, dword [ebp - 0x7c]
cmovne ecx, dword [ebp - 0x30]
push eax
push esi
mov esi, dword [ebp - 0x20]
push esi
push dword [ebx + 0xc]
push ecx
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
jne 0x45d864
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
jne 0x45d693
cmp byte [ebp - 0x24], 0
je 0x45d693
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x60]
mov eax, dword [0x629468]
mov dword [ebp - 0x68], 0x44334237
mov ecx, dword [ebp - 0x68]
movq qword [ebp - 0x60], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
mov ecx, 7
mov dword [ebp - 0x6c], 0x35363541
mov eax, dword [ebp - 0x6c]
push str.DbgHelp_failed_to_process_the_process_snapshot
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0xde
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
call fcn.0040b2a0
add esp, 4
jmp 0x45d83f
cmp dword [ebp - 0x8c], 0
je 0x45da55
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x77
push str.Failed_to_dump_process_with_flags_:x:_error_:x._Retrying_with_more_limited_dump_content_settings_for_attempt_.
lea ecx, [ebp - 0xd8]
call fcn.0045eae0
add esp, 0x10
mov byte [ebp - 4], 0xc
movq xmm0, qword [str.dump]
mov eax, dword [0x629468]
mov dword [ebp - 0x12c], 0x44334237
mov ecx, dword [ebp - 0x12c]
movq qword [ebp - 0x60], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x130], 0x35363541
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0xe5
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0xa8], xmm0
call fcn.004253e0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x45d764
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x60]
push eax
push ecx
call fcn.0045f190
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x100], ecx
test ecx, ecx
je 0x45d7cf
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x45d7cf
mov eax, dword [ecx]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0xfc], eax
call dword [0x5f3508]
mov ecx, dword [ebp - 0x100]
call dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x100]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x45d7cf
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0xfc], eax
call dword [0x5f3508]
mov ecx, dword [ebp - 0x100]
call dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xc8]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 2
jb 0x45da50
cmp dword [ebp - 0xc4], 7
lea eax, [ebp - 0xd8]
push 2
cmova eax, dword [ebp - 0xd8]
push 0x624450
push ecx
push eax
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x4c]
call fcn.004218a0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
push eax
call fcn.00422330
lea ecx, [ebp - 0x4c]
call fcn.00428f30
lea ecx, [ebp - 0xd8]
call fcn.00428f30
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0045e510
push 0xc
push edi
call fcn.0059a0ba
add esp, 8
cmp dword [ebp - 0x8c], 0
jne 0x45d520
jmp 0x45d8db
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x18]
mov eax, dword [0x629468]
mov dword [ebp - 0x12c], 0x44334237
mov ecx, dword [ebp - 0x12c]
movq qword [ebp - 0x60], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x60]
push 0x1e
mov dword [ebp - 0x130], 0x35363541
mov eax, dword [ebp - 0x130]
push str.Dump_written_with_flags:_:x
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0xd7
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
call fcn.0045e900
add esp, 8
mov ecx, edi
call fcn.0045e510
push 0xc
push edi
call fcn.0059a0ba
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.00428f30
lea ecx, [ebp - 0x9c]
call fcn.0045e3e0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x24], 0
je 0x45d94f
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45d94f
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0xfc]
push 4
push ecx
push 1
push eax
mov ecx, edi
call dword [0x5f3508]
call edi
test eax, eax
jne 0x45d931
push 1
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov edi, dword [ebp - 0x18]
mov ecx, edi
push eax
call dword [0x5f3508]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx + 0x34]
call fcn.00428f30
lea ecx, [ebx + 0x1c]
call fcn.00428f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0xc]
push eax
push 0x31
push str.Failed_to_open_process_with_id___error_code:_
push ecx
lea ecx, [ebp - 0x134]
call fcn.0045e580
push 0x686820
lea eax, [ebp - 0x134]
push eax
call fcn.0059b61b
lea eax, [ebx + 0x1c]
push eax
push 0x1b
push str.Dump_file__already_exists
push ecx
lea ecx, [ebp - 0x134]
call fcn.0045e670
push 0x686820
lea eax, [ebp - 0x134]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0x1c]
push eax
push 0x33
push str.Dump_file__could_not_be_created__error_code:_
push ecx
lea ecx, [ebp - 0x134]
call fcn.0045e6a0
push 0x686820
lea eax, [ebp - 0x134]
push eax
call fcn.0059b61b
push str.Failed_to_get_handle_to_kernel32.dll
lea ecx, [ebp - 0x4c]
call fcn.00427730
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x134]
call fcn.004241c0
push 0x6860d0
lea eax, [ebp - 0x134]
push eax
call fcn.0059b61b
call fcn.00428b70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44
push str.Failed_to_dump_process_with_error_:x._No_more_attempts_remaining.
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x4c]
call fcn.0043cff0
push ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xec]
mov eax, esp
mov dword [ebp - 0x130], 0x35363541
mov dword [ebp - 0x12c], 0x44334237
movq xmm0, qword [ebp - 0x130]
push str.dump
movq qword [eax], xmm0
mov dword [eax + 8], 0xeb
call fcn.00428b30
lea edx, [ebp - 0x4c]
call fcn.0045ebb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xfc]
push eax
push 0x23
push str.MiniDumpWriteDump_failed__error:_
push ecx
lea ecx, [ebp - 0x134]
call fcn.0045ec60
push 0x686820
lea eax, [ebp - 0x134]
push eax
call fcn.0059b61b
int3