Function at 0x40f1b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7490e7
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x8606e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0xe0], 0xfffffe00
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 1
call fcn.0041f640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 0x16
xor eax, eax
mov dword [ebp - 0x2c], 7
xor esi, esi
mov word [ebp - 0x40], ax
push str.INSTALLATION_CONFIGURE
mov dword [ebp - 0x30], esi
call fcn.004083b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 0x16
xor eax, eax
mov dword [ebp - 0x14], 7
push str.INSTALLATION_CONFIGURE
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
call fcn.004083b0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40f2af
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40f2af
test edi, edi
je 0x40f2af
mov bl, 1
jmp 0x40f2b1
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40f30a
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x40f2c9
call fcn.00632f50
add eax, eax
cmp eax, 0x1000
jb 0x40f301
test byte [ebp - 0x28], 0x1f
je 0x40f2dd
call fcn.00632f50
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40f2e9
call fcn.00632f50
sub ecx, eax
cmp ecx, 4
jae 0x40f2f5
call fcn.00632f50
cmp ecx, 0x23
jbe 0x40f2ff
call fcn.00632f50
mov ecx, eax
push ecx
call fcn.00435ced
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x40f37b
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
jbe 0x40f33a
call fcn.00632f50
add eax, eax
cmp eax, 0x1000
jb 0x40f372
test byte [ebp - 0x40], 0x1f
je 0x40f34e
call fcn.00632f50
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40f35a
call fcn.00632f50
sub ecx, eax
cmp ecx, 4
jae 0x40f366
call fcn.00632f50
cmp ecx, 0x23
jbe 0x40f370
call fcn.00632f50
mov ecx, eax
push ecx
call fcn.00435ced
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
test bl, bl
je 0x40f494
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
cmp byte [esi], al
jne 0x40f3ac
xor ecx, ecx
jmp 0x40f3ba
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f3b1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.00408810
push ecx
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0041f770
test al, al
jne 0x40f401
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40f494
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004094e0
jmp 0x40f494
lea ecx, [ebp - 0xf0]
call fcn.00411bf0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [eax]
call fcn.00411da0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0xec]
test esi, esi
je 0x40f44a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40f44a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40f44a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40f494
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x40f48b
test cl, 0x1f
je 0x40f467
call fcn.00632f50
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40f473
call fcn.00632f50
sub ecx, eax
cmp ecx, 4
jae 0x40f47f
call fcn.00632f50
cmp ecx, 0x23
jbe 0x40f489
call fcn.00632f50
mov ecx, eax
push ecx
call fcn.00435ced
add esp, 4
lea ecx, [ebp - 0xd0]
call fcn.0040f4d0
lea ecx, [ebp - 0xe8]
call fcn.00422c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ccd8f
mov esp, ebp
pop ebp
ret