Function at 0x403b30
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x491cf1
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4b3cc4]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push ebp
push esi
mov eax, dword [0x4b3cc4]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
push 0x16
xor esi, esi
push str.downloadingstatus.dat
lea ecx, [esp + 0x394]
mov dword [esp + 0x38c], esi
call fcn.00405900
mov eax, dword [edi + 0x3ac]
lea ecx, [eax + 0x634]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov dword [esp + 0x20], eax
cmp eax, esi
jne 0x403bb4
mov eax, dword [esp + 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x403f78
mov ecx, dword [esp + 0x38c]
push 0x4991b8
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], esi
call fcn.00472966
add esp, 0xc
cmp dword [esp + 0x10], esi
je 0x403f78
cmp dword [edi + 0x3ac], esi
je 0x403f6b
mov ecx, dword [edi + 0x3f4]
sub ecx, dword [edi + 0x3f0]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x403de5
xor ebx, ebx
mov edi, edi
mov ecx, dword [edi + 0x3f4]
sub ecx, dword [edi + 0x3f0]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x403c35
call fcn.00472e89
mov edx, dword [edi + 0x3f0]
cmp dword [ebx + edx + 8], 0xffffffff
je 0x403c43
inc ebp
mov ecx, dword [edi + 0x3f4]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0xc
cmp esi, eax
jb 0x403c10
test ebp, ebp
je 0x403de5
mov dword [esp + 0x1c], 0
call fcn.0046592b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403c8d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push ebp
lea ecx, [esp + 0x18]
push 0x4991c0
mov bl, 1
push ecx
mov byte [esp + 0x390], bl
call fcn.00402260
push 0x774
call fcn.00465873
add esp, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x384], 2
test eax, eax
je 0x403cdc
call fcn.00408d50
mov ebp, eax
jmp 0x403cde
xor ebp, ebp
xor eax, eax
mov byte [esp + 0x384], bl
lea edx, [esp + 0x28]
mov word [esp + 0x28], ax
push 0x4991ec
or eax, 0xffffffff
lea esi, [esp + 0x28]
mov dword [esp + 0x28], edx
call fcn.00410720
mov ecx, dword [esp + 0x24]
lea esi, [ebp + 0x6e4]
push ecx
or eax, 0xffffffff
call fcn.00410720
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x403d2d
push eax
call fcn.0047370f
add esp, 4
push 2
sub esp, 0x84
mov esi, esp
lea eax, [esi + 4]
xor ecx, ecx
mov dword [esp + 0xa0], esp
mov dword [esi], eax
mov word [eax], cx
push 0x499218
or eax, 0xffffffff
call fcn.00410720
sub esp, 0x84
mov esi, esp
lea eax, [esi + 4]
xor edx, edx
mov dword [esi], eax
mov word [eax], dx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x124], esp
push eax
or eax, 0xffffffff
call fcn.00410720
sub esp, 0x84
mov esi, esp
lea eax, [esi + 4]
xor ecx, ecx
mov dword [esp + 0x1a8], esp
mov dword [esi], eax
mov word [eax], cx
push 0x499178
or eax, 0xffffffff
call fcn.00410720
mov ebx, dword [edi + 4]
lea edx, [esp + 0x1ac]
push edx
mov ecx, ebp
call fcn.00407320
cmp dword [esp + 0x1c], 1
jne 0x403e15
mov byte [esp + 0x384], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403de5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x20]
add ebp, 0xffffffff
js 0x403f6b
mov ecx, dword [edi + 0x3ac]
mov edx, dword [ecx + 0x634]
mov eax, dword [edx]
add ecx, 0x634
push ebp
call eax
test eax, eax
je 0x403e7f
mov esi, dword [eax + 0x69c]
jmp 0x403e81
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00473475
mov byte [esp + 0x388], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x384], 0xffffffff
mov eax, dword [esp + 0x38c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x403fa8
xor esi, esi
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x174], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x170], edx
mov eax, dword [esi]
push eax
call fcn.00409290
mov ebx, eax
push ebx
lea eax, [esp + 0xb0]
push 0x64
push eax
call fcn.00473156
add esp, 0x10
test ebx, ebx
je 0x403ebf
push ebx
call fcn.004658a2
add esp, 4
mov eax, dword [esi + 4]
push eax
call fcn.00409290
mov ebx, eax
push ebx
lea ecx, [esp + 0x114]
push 0x64
push ecx
call fcn.00473156
add esp, 0x10
test ebx, ebx
je 0x403eea
push ebx
call fcn.004658a2
add esp, 4
mov eax, dword [esi + 0x10]
push eax
call fcn.00409290
mov ebx, eax
push ebx
lea edx, [esp + 0x180]
push 0x100
push edx
call fcn.00473156
add esp, 0x10
test ebx, ebx
je 0x403f18
push ebx
call fcn.004658a2
add esp, 4
mov esi, dword [esi + 0x14]
push esi
call fcn.00409290
mov esi, eax
push esi
lea eax, [esp + 0x280]
push 0x100
push eax
call fcn.00473156
add esp, 0x10
test esi, esi
je 0x403f46
push esi
call fcn.004658a2
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0xb0]
push 0x2d0
push edx
call fcn.0047337c
add esp, 0x10
sub ebp, 1
jns 0x403df2
mov eax, dword [esp + 0x10]
push eax
call fcn.00473475
add esp, 4
mov dword [esp + 0x384], 0xffffffff
mov eax, dword [esp + 0x38c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403fa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.00472007
add esp, 0x378
ret 4