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

Disassembly:
push 0xffffffffffffffff
push 0x446be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov eax, dword [0x45b1e4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x248], eax
mov ebx, ecx
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x254], 0
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x25c]
mov eax, dword [esi + 0x2c]
test eax, eax
mov byte [esp + 0x254], 1
jne 0x414c1e
lea eax, [edi - 0x10]
mov byte [esp + 0x254], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
jmp 0x414df4
mov eax, dword [esi + 0x3c]
lea ebp, [esi + 0x3c]
push 0
lea ecx, [ebx + 0xc]
push eax
mov dword [esp + 0x28], ecx
call fcn.0043849c
test eax, eax
je 0x414c8b
lea eax, [edi - 0x10]
mov byte [esp + 0x254], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x415073
mov edi, dword [ebp]
call fcn.00442837
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push str.SETUPCAB
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x414cf9
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x44]
push 0x44c134
push edx
call fcn.00428c0a
mov ecx, dword [0x45c16c]
add esp, 0xc
push edi
lea eax, [esp + 0x44]
push eax
call fcn.00409eb0
mov ecx, dword [0x45c16c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x414dc7
push 0x10
push 0x44a1c8
lea edx, [esp + 0x48]
push edx
call fcn.0043a609
jmp 0x414dc7
call fcn.00442837
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x18], eax
call fcn.00442837
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp]
mov edi, eax
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [ecx + 0x1c]
push edx
lea eax, [esp + 0x18]
push 0x44c120
push eax
call fcn.00403780
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0x1001
push ecx
lea ecx, [esp + 0x38]
call fcn.0043e26a
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x254], 2
jne 0x414e1d
lea edx, [esp + 0x40]
push 0x44c10c
push edx
call fcn.00428c0a
mov ecx, dword [0x45c16c]
add esp, 8
push 0
lea eax, [esp + 0x44]
push eax
call fcn.00409eb0
mov ecx, dword [0x45c16c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x414db6
push 0x10
push 0x44a1c8
lea edx, [esp + 0x48]
push edx
call fcn.0043a609
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 1
call fcn.0043de7a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x254], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x415078
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x38]
call fcn.0043db8e
lea ecx, [esp + 0x30]
call fcn.0043ddd9
mov eax, dword [esi + 0x24]
push 0x448de4
push eax
call fcn.00428fbd
add esp, 8
test eax, eax
je 0x414e61
push 0
push 0
push 0
push 0x414b40
push 0
push 0
call fcn.00429bb4
add esp, 0x18
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4149b0
mov ecx, ebx
call fcn.0041ce80
mov ecx, dword [esi + 8]
lea edi, [esi + 8]
push ecx
lea edx, [esp + 0x44]
push 0x44c0fc
push edx
call fcn.00428c0a
mov ecx, dword [0x45c16c]
add esp, 0xc
push 0
lea eax, [esp + 0x44]
push eax
call fcn.00409eb0
mov eax, dword [esi + 0x4c]
mov esi, dword [esi + 0x48]
push eax
push esi
mov esi, dword [esp + 0x18]
push esi
mov ecx, ebx
call fcn.0041da50
test eax, eax
jne 0x41503f
lea ecx, [esp + 0x1c]
call fcn.00401060
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
mov bl, 3
push 0x400
mov byte [esp + 0x264], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x414f16
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x44c0d4
push ecx
call fcn.00403780
add esp, 0x10
jmp 0x414fb3
push edi
push 0x44c0cc
lea edx, [esp + 0x28]
push edx
call fcn.00407ce0
push 0x44c0a4
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x260], 4
call fcn.004037a0
mov ecx, dword [0x45c16c]
mov edx, dword [ecx + 0x14]
add edx, 0x1c
push edx
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x260], 5
call fcn.00407c30
push 0x44c08c
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x260], 6
call fcn.004037a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 7
call fcn.004036d0
lea ecx, [esp + 0x24]
call fcn.00401040
lea ecx, [esp + 0x28]
call fcn.00401040
lea ecx, [esp + 0x2c]
call fcn.00401040
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], bl
call fcn.00401040
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00428c0a
add esp, 8
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x45c16c]
call fcn.00409eb0
mov eax, dword [0x45c16c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.00409d90
mov edx, dword [0x45c16c]
mov ecx, dword [edx]
test ecx, ecx
je 0x41500f
push 0
push 0x44a6e4
push esi
call fcn.0043a609
lea ecx, [esp + 0x1c]
call fcn.00401040
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 1
call fcn.0043de7a
lea ecx, [esp + 0x14]
call fcn.00401040
lea ecx, [esp + 0x10]
call fcn.00401040
xor eax, eax
jmp 0x415078
mov ecx, dword [esp + 0x20]
push ebp
call fcn.0043852d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 1
call fcn.0043de7a
lea ecx, [esp + 0x14]
call fcn.00401040
lea ecx, [esp + 0x10]
call fcn.00401040
mov eax, 1
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x23c]
pop ebx
call fcn.00428731
add esp, 0x248
ret 4