Function at 0x10027d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bfa5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10027d71
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x10028090
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x8c], 0x2071b18d
mov dword [ebp - 0x94], 0xffffffff
cmp dword [ebp - 0x8c], 0
je 0x10027dc5
push 0
push 0x668e
call fcn.1002617a
pop ecx
pop ecx
jmp 0x10027e4d
push 2
lea ecx, [ebp - 0xa4]
call fcn.10016f88
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x10027de6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10027e02
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa4]
call fcn.10016ff9
mov dword [eax], 0xfffffffe
jmp 0x10027ddf
push 1
lea ecx, [ebp - 0xa4]
call fcn.10016ff9
mov esi, dword [eax]
add esi, 0x51c76d7b
push 1
lea ecx, [ebp - 0xa4]
call fcn.10016ff9
cmp esi, dword [eax]
jle 0x10027e31
mov dword [ebp - 0x58], 1
jmp 0x10027e35
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x94], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10016ff4
cmp dword [ebp - 0x1c], 0
jle 0x10028090
push 4
push 0x1000
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax + 0xc]
push ecx
push 0x15c9
push 0x239f
call fcn.10023cfb
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x68], 0xb4e1a362
mov dword [ebp - 0x64], 0xb4e1a362
mov dword [ebp - 0x60], 0xb4e1a362
mov dword [ebp - 0x5c], 0xb4e1a362
mov dword [ebp - 0x28], 0x5f84255e
mov dword [ebp - 0xa8], 0x656540f2
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10027edb
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x68], 0
je 0x1002805a
mov dword [ebp - 0x14], 0x28405cef
mov dword [ebp - 0x3c], 0x90ae735
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x80], 0xffff
mov dword [ebp - 0x70], 0xffffffff
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10027f2f
push 0x2075
push 0
push 0x12f5
call fcn.10027893
add esp, 0xc
xor eax, eax
jne 0x10028024
mov eax, dword [ebp - 0x14]
add eax, 0xa165
cmp eax, dword [ebp - 0x14]
jne 0x10027f4d
mov dword [ebp - 0x54], 1
jmp 0x10027f51
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x54], eax
jle 0x10027f62
mov dword [ebp - 0x30], 1
jmp 0x10027f66
and dword [ebp - 0x30], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x30], eax
je 0x10027f7e
mov dword [ebp - 0x48], 1
jmp 0x10027f82
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x48], eax
je 0x10027f93
mov dword [ebp - 0x38], 1
jmp 0x10027f97
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 2
je 0x10027fa6
mov dword [ebp - 0x50], 1
jmp 0x10027faa
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 8
jbe 0x10027fb9
mov dword [ebp - 0x40], 1
jmp 0x10027fbd
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x40], eax
jg 0x10027fce
mov dword [ebp - 0x2c], 1
jmp 0x10027fd2
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], eax
jl 0x10027ff0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x68], 0
je 0x10027ff0
mov dword [ebp - 0x34], 1
jmp 0x10027ff4
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xca3c0bf9
jae 0x1002800f
mov dword [ebp - 0x44], 1
jmp 0x10028013
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x44], eax
jne 0x10028024
and dword [ebp - 0x98], 0
jmp 0x1002802e
mov dword [ebp - 0x98], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp - 0xb4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
jmp 0x10028073
mov dword [ebp - 0x78], 0xffff
call fcn.100247ef
push 1
lea eax, [ebp - 0x78]
push eax
call fcn.1002617a
pop ecx
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
push dword [ebp - 0x1c]
push 0
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.10023e88
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret