Function at 0x4213e0
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f83c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x5381f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.00403a90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x421539
lea eax, [ebp - 0x78]
push eax
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
call fcn.00406890
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00409eb0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x421534
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
call fcn.004068b0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
push str._size_failed__error_code_
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
push ecx
push str.Get_
lea ecx, [ebp - 0x128]
call fcn.004091f0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.00423f00
mov ecx, eax
call fcn.00406500
mov ecx, eax
call fcn.00424100
mov ecx, eax
call fcn.004195a0
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.00409f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00409eb0
jmp 0x4216a0
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
ja 0x421573
jb 0x42156e
cmp dword [ebp - 0x68], 0x1e00000
ja 0x421573
jmp 0x4216a0
lea eax, [ebp - 0x88]
push eax
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
call fcn.00406890
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00409eb0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x421645
lea ecx, [ebp - 0x90]
push ecx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x58]
call fcn.004068b0
mov dword [ebp - 0x2c], eax
push str.Zip_file_too_big__only_upload_dump_file
lea ecx, [ebp - 0x1c0]
call fcn.004091f0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
call fcn.004241c0
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c0]
call fcn.00409f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00409eb0
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.00403a90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
push ecx
lea ecx, [ebp - 0x18]
call fcn.00436050
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00436380
test eax, eax
je 0x421691
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
call fcn.00436260
test eax, eax
je 0x421691
lea ecx, [ebp - 0x18]
call fcn.00436340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00436110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4