Function at 0x467d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bec00
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6926e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461430
mov ecx, dword [ebp - 0x58]
add ecx, 0x128
call fcn.004f9f30
test eax, eax
jne 0x467df0
mov eax, dword [str.No_cache_roots_have_been_set.__Need_to_call_AddRoot_at_least_once.]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
xor al, al
jmp 0x4680e9
lea ecx, [ebp - 0x4c]
call fcn.00411d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00419980
push eax
mov ecx, dword [ebp - 0x58]
call fcn.00466e00
mov byte [ebp - 0x19], al
movzx edx, byte [ebp - 0x19]
test edx, edx
jne 0x467e5b
mov eax, dword [str.Failed_to_convert_resource_name_to_filename]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00412130
mov al, byte [ebp - 0x4d]
jmp 0x4680e9
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x124]
test edx, edx
je 0x467eb5
mov eax, dword [ebp - 0x58]
add eax, 0x10
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
call fcn.00466730
add esp, 8
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x467eb5
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
mov byte [ebp - 0x4e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00412130
mov al, byte [ebp - 0x4e]
jmp 0x4680e9
push 0x60f220
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
call fcn.0057cc13
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x467f50
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx + 0x124]
test eax, eax
je 0x467efa
mov ecx, dword [ebp - 0x58]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
call fcn.004668e0
add esp, 8
push str.Failed_to_open_file
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
call edx
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
push 0x60f238
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
mov byte [ebp - 0x4f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00412130
mov al, byte [ebp - 0x4f]
jmp 0x4680e9
push 0
push 0xa
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00581746
add esp, 0xc
test eax, eax
je 0x467ff0
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx + 0x124]
test eax, eax
je 0x467f8e
mov ecx, dword [ebp - 0x58]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
call fcn.004668e0
add esp, 8
push str.Failed_to_seek_to_position_in_cache_file.
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
call edx
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
push 0x60f270
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0057c1a0
add esp, 4
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00412130
mov al, byte [ebp - 0x50]
jmp 0x4680e9
lea ecx, [ebp - 0x18]
call fcn.00442c30
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.00441eb0
add esp, 4
fstp qword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push eax
push 1
push 8
lea ecx, [ebp - 0x24]
push ecx
call fcn.0057d5f5
add esp, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.0057c1a0
add esp, 4
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x124]
test ecx, ecx
je 0x468054
mov edx, dword [ebp - 0x58]
add edx, 0x10
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
call fcn.004668e0
add esp, 8
cmp dword [ebp - 0x10], 1
je 0x4680b9
push str.Failed_to_update_cache_file.
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0x4c]
call fcn.0040fc00
push eax
push 0x60f29c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
mov byte [ebp - 0x51], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00442c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00412130
mov al, byte [ebp - 0x51]
jmp 0x4680e9
mov ecx, dword [ebp - 0x58]
add ecx, 0x108
call fcn.00461450
mov byte [ebp - 0x52], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00442c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00412130
mov al, byte [ebp - 0x52]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc