Function at 0x100485cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push 1
lea ecx, [ebp - 0x58]
call fcn.1001740b
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0
jmp 0x1004860c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004861f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4c], 8
jmp 0x10048605
mov dword [ebp - 0x14], 0
jmp 0x1004862f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10048645
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100174a9
or dword [eax], 0xffffffff
jmp 0x10048628
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4c], 0
jmp 0x1004866a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c], 0x1d
jle 0x100487e9
mov dword [ebp - 0x1c], 0
push 3
lea ecx, [ebp - 0x64]
call fcn.1001740b
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100493ca
add esp, 0xc
mov dword [ebp - 0x1c], 0x14
jmp 0x100486b2
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xa
jg 0x100487d8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
jmp 0x100486d3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x100487d3
mov dword [ebp - 0x3c], 0x82baef6e
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x100486f8
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.100174a9
cmp dword [eax], 0
je 0x10048739
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.100174a9
mov dword [ebp - 0x20], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.100174a9
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10048739
mov dword [ebp - 0x28], 1
jmp 0x1004873d
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x3c], 0
jne 0x1004876a
mov eax, dword [ebp - 0x1c]
neg eax
cmp eax, 1
jge 0x10048756
mov dword [ebp - 0x24], 1
jmp 0x1004875a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
add eax, 0xd5de
jne 0x1004876a
and dword [ebp - 0x2c], 0
jmp 0x10048771
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
je 0x10048782
mov dword [ebp - 0x30], 1
jmp 0x10048786
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
cmp dword [ebp - 0x30], eax
je 0x100487a5
push 9
pop eax
test eax, eax
je 0x100487a5
mov dword [ebp - 0x34], 1
jmp 0x100487a9
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x3d3b0cf5
jl 0x100487bb
mov dword [ebp - 0x38], 1
jmp 0x100487bf
and dword [ebp - 0x38], 0
push 1
lea ecx, [ebp - 0x64]
call fcn.100174a9
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x100486cc
jmp 0x100486ab
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.1001748d
jmp 0x10048655
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001748d
mov eax, dword [ebp + 0xc]
dec eax
not eax
and eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret