Function at 0x482250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f83b6
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x52b47c], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
jne 0x4822c0
or dword [0x52b47c], 1
push 0x52b478
mov ecx, 0x52ac20
mov dword [ebp - 4], 0
call fcn.0040fef0
push 0x4fc240
call fcn.0048ef84
add esp, 4
mov dword [ebp - 4], 0xffffffff
test byte [0x52b47c], 2
jne 0x4822fe
or dword [0x52b47c], 2
mov ecx, dword [0x52b478]
push 0
push ecx
push 0x52b474
mov dword [ebp - 4], 1
call fcn.0041bd10
push 0x4fc210
call fcn.0048ef84
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
test byte [0x52b47c], 4
jne 0x48242b
or dword [0x52b47c], 4
push str..dat
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 2
call fcn.0041bc60
mov esi, eax
push str.360DrvTip
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 3
call fcn.0041bc60
push eax
lea edx, [ebp - 0x428]
push 0x52b474
push edx
mov byte [ebp - 4], 4
call fcn.00481980
mov edi, eax
push str.__Y_m_d
mov byte [ebp - 4], 5
call fcn.00481440
push eax
lea eax, [ebp - 0x418]
push edi
push eax
call fcn.00481a40
push esi
push eax
push 0x52b470
mov byte [ebp - 4], 6
call fcn.00481980
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
add esp, 0x28
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4823ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4823d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4823f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48241e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4fc1e0
call fcn.0048ef84
add esp, 4
mov ecx, dword [0x52b470]
push 0x507498
push ecx
lea edx, [ebp - 0x418]
push edx
mov dword [ebp - 0x418], 0
call fcn.00495e05
add esp, 0xc
test eax, eax
jne 0x4824e4
cmp dword [ebp - 0x418], eax
je 0x4824e4
push 0x400
push eax
mov byte [ebp - 0x414], al
lea eax, [ebp - 0x413]
push eax
call fcn.0048d9d0
mov ecx, dword [ebp - 0x420]
add esp, 0xc
push ecx
push str._Y__m__d__H:_M:_S
call fcn.00481440
add esp, 4
push eax
push str._s____s_r_n
lea edx, [ebp - 0x414]
push 0x400
push edx
call fcn.00438100
lea eax, [ebp - 0x414]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4824b6
mov ecx, dword [ebp - 0x418]
push ecx
sub eax, edx
push 1
push eax
lea edx, [ebp - 0x414]
push edx
call fcn.0048fed7
mov eax, dword [ebp - 0x418]
push eax
call fcn.0048ffd0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret