Function at 0x428200
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
add eax, 0x448
push eax
call fcn.00403ac0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x428259
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.004037b0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov eax, dword [ebp + 8]
push dword [eax - 8]
push eax
call fcn.0045ed24
mov edx, eax
add esp, 8
test edx, edx
js 0x428293
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 8]
jg 0x428293
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x42829d
push 0x80070057
call fcn.004039a0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4282ba
push esi
lea ecx, [ebp + 8]
call fcn.00403880
mov eax, dword [ebp + 8]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004619f8
mov eax, dword [ebp + 8]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x428293
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
xor esi, esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
push dword [ebp + 8]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x428396
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428396
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x428396
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x428396
mov esi, dword [ebp - 0x14]
mov ecx, edi
push esi
call fcn.00428040
push 0
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push esi
push dword [ebp - 0x18]
call fcn.004280a0
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x428362
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x428381
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi + 0x18]
mov ecx, edi
push ebx
call fcn.00428420
mov edi, eax
jmp 0x4283d8
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x428392
push dword [edi + 0x18]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
xor edi, edi
jmp 0x4283d8
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
push str.Failed_to_load_resource:__s.
push 3
push 3
push 0x1ac
push str.CDownloader::PerformOffline
push str.Downloader.cpp
call fcn.00457220
push eax
call fcn.004573f0
mov ecx, dword [edi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x4283d3
push dword [edi + 0x18]
mov eax, dword [ecx]
push 6
call dword [eax + 0xc]
mov edi, 6
test esi, esi
je 0x4283e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x428405
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4