Function at 0x420c40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x460df6
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x476cd4]
xor eax, esp
mov dword [esp + 0x418], eax
push ebp
push esi
push edi
mov eax, dword [0x476cd4]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x43c]
or ebp, 0xffffffff
test byte [0x4794fc], 1
mov dword [esp + 0x1c], eax
jne 0x420cc6
or dword [0x4794fc], 1
push 0x4794f8
mov ecx, 0x478750
mov dword [esp + 0x438], 0
call fcn.00417010
push 0x4631a0
call fcn.0043fddd
add esp, 4
mov dword [esp + 0x434], ebp
test byte [0x4794fc], 2
jne 0x420d08
or dword [0x4794fc], 2
mov ecx, dword [0x4794f8]
push 0
push ecx
push 0x4794f4
mov dword [esp + 0x440], 1
call fcn.004237e0
push 0x463170
call fcn.0043fddd
add esp, 0x10
mov dword [esp + 0x434], ebp
test byte [0x4794fc], 4
jne 0x420e43
or dword [0x4794fc], 4
push str..dat
lea ecx, [esp + 0x18]
mov dword [esp + 0x438], 2
call fcn.00420b90
mov esi, eax
push str.360DrvMgr_
lea ecx, [esp + 0x14]
mov byte [esp + 0x438], 3
call fcn.00420b90
push eax
lea edx, [esp + 0x1c]
push 0x4794f4
push edx
mov byte [esp + 0x440], 4
call fcn.004209e0
mov edi, eax
push str._Y_m_d
mov byte [esp + 0x444], 5
call fcn.004206f0
push eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00420ab0
push esi
push eax
push 0x4794f0
mov byte [esp + 0x45c], 6
call fcn.004209e0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x28
mov byte [esp + 0x434], 5
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420dc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x434], 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420dea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x434], 3
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420e11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x434], 2
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x420e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x463140
call fcn.0043fddd
add esp, 4
mov ecx, dword [0x4794f0]
push 0x46636c
push ecx
call fcn.00442b58
mov esi, eax
add esp, 8
test esi, esi
je 0x420ec7
push 0x400
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.0043f440
mov eax, dword [esp + 0x28]
add esp, 0xc
push eax
push str._Y__m__d__H:_M:_S
call fcn.004206f0
add esp, 4
push eax
push str._s____s_r_n
lea ecx, [esp + 0x30]
push 0x400
push ecx
call fcn.004207b0
lea eax, [esp + 0x38]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420ea7
push esi
sub eax, edx
push 1
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00440f8f
push esi
call fcn.00441088
add esp, 0x14
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0043f03d
add esp, 0x428
ret