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

Disassembly:
push 0xffffffffffffffff
push 0x446f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov eax, dword [0x45c1e4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x248], eax
mov ebx, ecx
call fcn.00438f74
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.00438f74
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 0x414eee
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 0x414ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
jmp 0x4150c4
mov eax, dword [esi + 0x3c]
lea ebp, [esi + 0x3c]
push 0
lea ecx, [ebx + 0xc]
push eax
mov dword [esp + 0x28], ecx
call fcn.0043876c
test eax, eax
je 0x414f5b
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 0x414f29
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 0x415343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x415343
mov edi, dword [ebp]
call fcn.00442b07
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 0x414fc9
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x44]
push 0x44d16c
push edx
call fcn.00428eda
mov ecx, dword [0x45d16c]
add esp, 0xc
push edi
lea eax, [esp + 0x44]
push eax
call fcn.0040a140
mov ecx, dword [0x45d16c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x415097
push 0x10
push 0x44b200
lea edx, [esp + 0x48]
push edx
call fcn.0043a8d9
jmp 0x415097
call fcn.00442b07
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.00442b07
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 [0x45d16c]
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [ecx + 0x1c]
push edx
lea eax, [esp + 0x18]
push 0x44d158
push eax
call fcn.004037e0
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0x1001
push ecx
lea ecx, [esp + 0x38]
call fcn.0043e53a
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x254], 2
jne 0x4150ed
lea edx, [esp + 0x40]
push 0x44d144
push edx
call fcn.00428eda
mov ecx, dword [0x45d16c]
add esp, 8
push 0
lea eax, [esp + 0x44]
push eax
call fcn.0040a140
mov ecx, dword [0x45d16c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x415086
push 0x10
push 0x44b200
lea edx, [esp + 0x48]
push edx
call fcn.0043a8d9
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 1
call fcn.0043e14a
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 0x4150bd
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 0x4150e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x415348
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x38]
call fcn.0043de5e
lea ecx, [esp + 0x30]
call fcn.0043e0a9
mov eax, dword [esi + 0x24]
push 0x449de4
push eax
call fcn.0042928d
add esp, 8
test eax, eax
je 0x415131
push 0
push 0
push 0
push 0x414e10
push 0
push 0
call fcn.00429e84
add esp, 0x18
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x414c80
mov ecx, ebx
call fcn.0041d150
mov ecx, dword [esi + 8]
lea edi, [esi + 8]
push ecx
lea edx, [esp + 0x44]
push 0x44d134
push edx
call fcn.00428eda
mov ecx, dword [0x45d16c]
add esp, 0xc
push 0
lea eax, [esp + 0x44]
push eax
call fcn.0040a140
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.0041dd20
test eax, eax
jne 0x41530f
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 0x4151e6
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x44d10c
push ecx
call fcn.004037e0
add esp, 0x10
jmp 0x415283
push edi
push 0x44d104
lea edx, [esp + 0x28]
push edx
call fcn.00407f70
push 0x44d0dc
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x260], 4
call fcn.00403800
mov ecx, dword [0x45d16c]
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.00407ec0
push 0x44d0c4
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x260], 6
call fcn.00403800
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 7
call fcn.00403730
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.00428eda
add esp, 8
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x45d16c]
call fcn.0040a140
mov eax, dword [0x45d16c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.0040a020
mov edx, dword [0x45d16c]
mov ecx, dword [edx]
test ecx, ecx
je 0x4152df
push 0
push 0x44b71c
push esi
call fcn.0043a8d9
lea ecx, [esp + 0x1c]
call fcn.00401040
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 1
call fcn.0043e14a
lea ecx, [esp + 0x14]
call fcn.00401040
lea ecx, [esp + 0x10]
call fcn.00401040
xor eax, eax
jmp 0x415348
mov ecx, dword [esp + 0x20]
push ebp
call fcn.004387fd
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 1
call fcn.0043e14a
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.00428a01
add esp, 0x248
ret 4