Function at 0x4bb1e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dbe2
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], ebx
test eax, eax
jne 0x4bb236
xor al, al
jmp 0x4bb460
push str.:Zone.Identifier
mov dword [eax], ebx
lea eax, [ebp - 0x78]
push ecx
push eax
call fcn.0042abc0
add esp, 0xc
cmp dword [ebp - 0x68], 0x104
mov dword [ebp - 4], 0
jb 0x4bb261
xor bl, bl
jmp 0x4bb44d
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push 0
cmovae eax, dword [ebp - 0x78]
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor esi, esi
mov dword [ebp - 0x80], esi
test edi, edi
je 0x4bb2a9
lea ecx, [ebp - 0x80]
call fcn.004185b0
cmp edi, 0xffffffff
je 0x4bb2a6
mov esi, edi
mov dword [ebp - 0x80], esi
call fcn.0040e530
jmp 0x4bb2a9
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x4bb43f
cmp esi, 0xffffffff
je 0x4bb43f
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x88]
call fcn.0042c8d0
add esp, 8
test al, al
je 0x4bb361
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.0042c8d0
add esp, 8
test al, al
je 0x4bb361
cmp dword [ebp - 0x50], 0
je 0x4bb361
cmp dword [ebp - 0x38], 0
je 0x4bb361
push str.:Zone.Identifier
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0042abc0
add esp, 0xc
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov ebx, 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], ebx
jb 0x4bb344
mov ecx, dword [ecx]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.004099a7
add esp, 8
mov byte [ebp - 0x79], 0
test eax, eax
je 0x4bb365
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 3
test bl, 1
je 0x4bb37c
lea ecx, [ebp - 0xa4]
call fcn.00408450
cmp byte [ebp - 0x79], 0
jne 0x4bb3f1
mov ax, word [0x53510c]
movdqu xmm0, xmmword [str._ZoneTransfer__r_nZoneId3_r_n]
mov word [ebp - 0x14], ax
mov al, byte [0x53510e]
push 0
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x30]
push eax
push 0x1a
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
movdqu xmmword [ebp - 0x2c], xmm0
push eax
movq xmm0, qword [0x535104]
push esi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4bb3f1
cmp dword [ebp - 0x30], 0x1a
jne 0x4bb3f1
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 0x80], 0
call fcn.0040e530
mov eax, dword [ebp - 0x84]
mov bl, 1
mov dword [eax], esi
jmp 0x4bb3f3
xor bl, bl
cmp dword [ebp - 0x34], 8
jb 0x4bb404
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x4bb429
push dword [ebp - 0x60]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jmp 0x4bb441
xor bl, bl
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.004185b0
cmp dword [ebp - 0x64], 8
jb 0x4bb45e
push dword [ebp - 0x78]
call fcn.0040823e
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret