Function at 0x1f0204a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1f0562cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x38]
push edi
push ebp
mov dword [esp + 0x20], 0
mov dword [ebx], str.Dump_successfully_completed
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, eax
test esi, esi
je 0x1f020506
cmp dword [esp + 0x3c], 0
jne 0x1f020506
pop edi
pop esi
pop ebp
mov dword [ebx], str.Bad_Read_Pointer
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
call fcn.1f013f30
push 0
push 0x80
push 2
push 0
push 3
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
push 0xc0000000
push eax
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1f020552
mov ecx, dword [esp + 0x44]
mov dword [ecx], str.Error_opening_file
mov dword [esp + 0x10], 0
jmp 0x1f0206ed
test esi, esi
je 0x1f0206c4
push 0x148
push ebp
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1f020589
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [ecx], str.Dumping_Error
jmp 0x1f0206e6
push 0x1290
call fcn.1f03e9a2
add esp, 4
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x1f0205ad
mov ecx, eax
call fcn.1f006e70
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
mov ecx, esi
call fcn.1f006840
mov ecx, esi
call fcn.1f030490
cmp edi, eax
jb 0x1f0205dd
mov ecx, esi
call fcn.1f030490
mov edi, eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea edx, [esp + 0x18]
test eax, eax
je 0x1f02067b
mov eax, dword [esi + 0x1128]
xor edi, edi
push edi
push edx
push eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1f020611
mov dword [esp + 0x10], edi
jmp 0x1f020693
xor ecx, ecx
mov dword [esp + 0x1c], edi
cmp cx, word [esi + 0x10da]
jae 0x1f02069b
mov edx, dword [esi + 0x11e0]
mov eax, dword [edx + edi + 0xc]
push 0
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x11e0]
push 0
lea eax, [ecx + edi]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [eax + 0xc]
push ecx
add edx, ebp
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1f02068b
mov eax, dword [esp + 0x1c]
movzx ecx, word [esi + 0x10da]
inc eax
add edi, 0x28
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x1f020620
jmp 0x1f02069b
push 0
push edx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1f02069b
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
test esi, esi
je 0x1f0206aa
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
jne 0x1f0206e6
cmp dword [esp + 0x14], 0
jne 0x1f0206dc
mov ecx, dword [esp + 0x44]
mov dword [ecx], str.Dumping_Error
jmp 0x1f0206e6
push 0
lea edx, [esp + 0x1c]
push edx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1f0206e6
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [eax], str.Error_writing_dump
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1f0140a0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret