Function at 0x41e3b0
Capabilities:
Check if file exists
Create directory
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594525
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5fcffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push ecx
mov dword [ebp - 4], 2
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00422ec0
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.00422ec0
mov byte [ebp - 4], 2
call fcn.0041e9a0
cmp eax, 1
jne 0x41e78d
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41e986
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
push 0x5c
push dword [ebp + 0xc]
call fcn.00570840
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x41e450
or eax, 0xffffffff
jmp 0x41e454
sub eax, ecx
sar eax, 1
xor esi, esi
test eax, eax
cmovns esi, eax
cmp esi, dword [ecx - 0xc]
jl 0x41e46e
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.00422ec0
jmp 0x41e49b
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x41e480
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x41e48e
call fcn.004255be
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
push eax
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call fcn.00422430
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00422d00
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e4ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.00444d69
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x18]
push 0
push esi
call fcn.00444e73
test eax, eax
jne 0x41e537
xor edi, edi
nop dword [eax]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x3e8
cmp eax, 1
jne 0x41e52b
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.00444e73
cmp eax, 1
je 0x41e537
jmp 0x41e531
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x41e500
lea ecx, [ebp - 0x34]
call fcn.00444e19
mov dword [ebp - 0x38], 0
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x41e5e0
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x41e75d
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
lea ecx, [ebp + 8]
push ecx
push str.URLDownloadToFile_:_NO_FILE_:
push eax
call fcn.00422650
add esp, 8
mov byte [ebp - 4], 0xe
mov edi, esp
mov dword [ebp - 0x40], edi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41e986
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x5d8fc0
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00402a50
test al, al
jne 0x41e5d7
push 2
push 0x5d8fc0
mov ecx, edi
call fcn.00403260
mov byte [ebp - 4], 0xe
jmp 0x41e70c
push 1
push ecx
mov dword [ebp - 0x3c], esp
lea ecx, [ebp + 8]
cmp eax, 0x8007000e
jne 0x41e650
mov eax, esp
push ecx
push str.URLDownloadToFile_:_E_OUTOFMEMORY_:
push eax
call fcn.00422650
add esp, 8
mov byte [ebp - 4], 0x10
mov edi, esp
mov dword [ebp - 0x4c], edi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41e986
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x5d8fc0
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00402a50
test al, al
jne 0x41e647
push 2
push 0x5d8fc0
mov ecx, edi
call fcn.00403260
mov byte [ebp - 4], 0x10
jmp 0x41e70c
cmp eax, 0x800c0008
mov eax, esp
push ecx
jne 0x41e6b4
push str.URLDownloadToFile_:_INET_E_DOWNLOAD_FAILURE_:
push eax
call fcn.00422650
add esp, 8
mov byte [ebp - 4], 0x12
mov edi, esp
mov dword [ebp - 0x44], edi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41e986
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x5d8fc0
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.00402a50
test al, al
jne 0x41e6ae
push 2
push 0x5d8fc0
mov ecx, edi
call fcn.00403260
mov byte [ebp - 4], 0x12
jmp 0x41e70c
push str.URLDownloadToFile_:_UNKNOWN_:
push eax
call fcn.00422650
add esp, 8
mov byte [ebp - 4], 0x14
mov edi, esp
mov dword [ebp - 0x48], edi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41e986
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x5d8fc0
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.00402a50
test al, al
jne 0x41e708
push 2
push 0x5d8fc0
mov ecx, edi
call fcn.00403260
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00408ab0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x38]
inc edi
mov dword [ebp - 0x38], edi
cmp edi, 3
jl 0x41e546
lea ecx, [ebp - 0x34]
call fcn.00444d9b
or edi, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e90a
mov ecx, dword [esi]
push esi
jmp 0x41e905
lea ecx, [ebp - 0x34]
call fcn.00444d9b
or edi, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e783
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x41e90c
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00422ec0
push 0x5d9414
push 0x5daa48
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00420fa0
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push str.SERVER_FILE_CHECK_:_NO_:
push eax
call fcn.00422650
push 0x5d91dc
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.00422a00
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00420cc0
push 0x5d91dc
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
call fcn.00422a00
add esp, 0x2c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp + 0x10]
push edx
push eax
push ecx
call fcn.00420cc0
add esp, 8
mov byte [ebp - 4], 9
mov edi, esp
mov dword [ebp - 0x44], edi
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41e990
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x5d8fc0
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00402a50
test al, al
jne 0x41e862
push 2
push 0x5d8fc0
mov ecx, edi
call fcn.00403260
mov byte [ebp - 4], 9
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00408ab0
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e892
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e8b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e8ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e8ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e90a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e92a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e948
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41e967
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0056eb08
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
int3