Function at 0x1000f8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092828
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100bc06c]
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
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
push 5
movzx eax, cx
push eax
push 0x10000000
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000fb58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov ebx, eax
push 0x10000000
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x1000fb7d
test eax, eax
je 0x1000fb7d
mov eax, 0xffff
cmp word [ebx + 2], ax
jne 0x1000fb34
cmp word [ebx], 1
jne 0x1000fb34
lea ecx, [ebx + 0x1a]
call fcn.1000f7d0
mov ecx, eax
call fcn.1000f7d0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov esi, eax
call fcn.10013400
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.1000f800
test byte [ebx + 0xc], 0x48
mov edi, eax
je 0x1000fb03
mov dword [ebp - 0x40], edi
lea ecx, [ebp - 0x18]
add edi, 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], edi
call fcn.10013400
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.1000f800
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x3c], ecx
add eax, ebx
mov dword [ebp - 0x14], 0
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], eax
call fcn.10003460
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
sub eax, dword [esi - 0xc]
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x20], eax
call fcn.10055a6f
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1000faad
mov eax, dword [ebp - 0x20]
mov ecx, edi
sub ecx, ebx
mov edx, eax
cmp ecx, eax
cmovge ecx, eax
push ecx
mov ecx, dword [ebp - 0x24]
push ebx
call fcn.10005a70
mov eax, dword [ebp - 0x20]
sub edi, ebx
sub eax, dword [ebp - 0x38]
add edi, dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
cmp ecx, ebx
cmovae ecx, ebx
push ecx
push eax
mov ecx, edi
call fcn.10005a70
mov eax, dword [ebp - 0x14]
mov ecx, 0xfffffffe
mov eax, dword [eax - 0xc]
lea edi, [edi + eax*2]
add eax, eax
sub ecx, eax
add edi, 2
add ebx, ecx
mov ecx, edi
cmp dword [ebp - 0x30], ebx
mov eax, ebx
mov edx, ebx
cmovb eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call fcn.10005a70
add edi, dword [ebp - 0x30]
add esp, 0x18
mov ecx, dword [ebp - 0x24]
sub edi, ecx
cmp edi, dword [ebp - 0x20]
jne 0x1000faad
mov di, word [ebp + 8]
test di, di
je 0x1000faa3
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x28]
mov word [edx + ecx], di
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fad8
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100993c0]
mov ecx, ebx
call edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000fb00
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fb31
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x34]
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push ebx
push 0
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000fb55
push eax
call fcn.10055a6a
add esp, 4
mov ebx, dword [ebp - 0x2c]
or eax, 0xffffffff
test edi, edi
je 0x1000fb61
mov dword [edi], ebx
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.1005540b
mov esp, ebp
pop ebp
ret
xor ebx, ebx
jmp 0x1000fb58