Function at 0x10017040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041a5f
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100c2004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push 0x10
push 1
push edi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100174f5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100174f5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100174f5
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push ecx
push 0x100b8ebc
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100174f5
cmp dword [ebp - 0x14], 0
je 0x100174f5
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 0xc]
movzx edi, word [eax + 8]
movzx esi, word [eax + 0xe]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xfc]
call fcn.1001c980
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.1001c980
mov edx, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.1001c980
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
movzx edx, ax
mov byte [ebp - 4], 2
call fcn.1001c980
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
mov eax, edx
mov ecx, dword [ebp - 0x58]
sub eax, ecx
cmp eax, 1
jb 0x10017166
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
mov word [eax + ecx], 0x2e
lea eax, [ebp - 0x68]
jmp 0x1001717a
push 1
push 0x100b8d98
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
push 1
call fcn.10015a00
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa4], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x50]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x1c]
call fcn.1001cb20
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x3c]
mov eax, edx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
cmp eax, 1
jb 0x100171ed
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
mov word [eax + ecx], 0x2e
lea eax, [ebp - 0x50]
jmp 0x10017201
push 1
push 0x100b8d98
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
push 1
call fcn.10015a00
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x38]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x1c]
call fcn.1001cb20
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ecx, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 1
jb 0x10017274
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
mov word [eax + ecx], 0x2e
lea eax, [ebp - 0x38]
jmp 0x10017288
push 1
push 0x100b8d98
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 1
call fcn.10015a00
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1c]
call fcn.1001cb20
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x10017303
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100172f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x10017337
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001732d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x10017383
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017379
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x100173b7
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100173ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0x10
jb 0x10017403
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100173f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x10017437
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001742d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0x10
jb 0x10017483
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017479
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x100174bd
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100174b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0xe8]
cmp ecx, 0x10
jb 0x1001751a
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100174e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017537
push ecx
push edx
call fcn.1002dd79
add esp, 8
jmp 0x1001751a
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002db4b
mov esp, ebp
pop ebp
ret
call fcn.10033a4a
int3