Function at 0x467880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f85e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5c3678]
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 + 8]
xor ebx, ebx
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x81], 0
mov dword [ebp - 0xa0], ebx
movzx eax, word [ebp + 0xc]
push 0x593dec
mov dword [ebp - 4], ebx
mov ecx, dword [0x5cc930]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x9c], esi
cmp esi, ebx
je 0x467c69
mov edx, dword [0x5cc930]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0xa0], edi
cmp edi, ebx
je 0x467c5e
mov eax, dword [0x5cc930]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
inc esi
cmp esi, 0xf4240
jle 0x467934
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x467c6f
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053a94b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x94], ebx
test ebx, ebx
je 0x467c5e
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.00544310
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
dec esi
push esi
push eax
push ebx
call fcn.00545f90
mov ecx, 0xfeff
add esp, 0xc
mov esi, ebx
cmp word [ebx], cx
jne 0x467990
lea esi, [ebx + 2]
lea edx, [ebp - 0xb8]
push edx
call fcn.004e2e10
lea eax, [ebp - 0xb8]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00467f50
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x90], 0
je 0x467c04
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
jmp 0x467a22
mov esi, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
mov ebx, dword [ebp - 0x8c]
sub esi, edi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x90], eax
jb 0x467a4a
call fcn.0053d6a6
mov edi, dword [ebp - 0xac]
cmp dword [ebx + edi + 0x18], 8
jb 0x467a57
mov ecx, dword [ebx + edi + 4]
jmp 0x467a5b
lea ecx, [ebx + edi + 4]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x467a74
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [ebp - 0x48]
call fcn.0040ebb0
push 1
push 0x58c72c
xor eax, eax
mov edx, esi
mov byte [ebp - 4], 3
call fcn.00411c40
push 1
mov esi, eax
push 0x58c730
xor eax, eax
lea edx, [ebp - 0x48]
call fcn.00411c40
push 1
mov edi, eax
push 0x58c7b0
xor eax, eax
lea edx, [ebp - 0x48]
call fcn.00411c40
mov ebx, eax
test esi, esi
jne 0x467b1c
cmp edi, 0xffffffff
je 0x467b1c
lea eax, [ebp - 0x48]
lea edx, [esi + 1]
lea ecx, [edi - 1]
push eax
lea esi, [ebp - 0x80]
call fcn.0040eeb0
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00411b80
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040eb20
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x467b0c
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x88]
call fcn.00467c90
jmp 0x467bb8
cmp ebx, 0xffffffff
je 0x467bc8
lea ecx, [ebp - 0x48]
push ecx
mov ecx, ebx
xor edx, edx
lea esi, [ebp - 0x80]
call fcn.0040eeb0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
lea edx, [ebx + 1]
push eax
lea esi, [ebp - 0x64]
call fcn.0040eeb0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x60]
mov edi, 8
cmp dword [ebp - 0x4c], edi
jae 0x467b5f
lea esi, [ebp - 0x60]
mov ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x68], edi
jae 0x467b6a
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x467b75
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x88]
push eax
push edx
call fcn.00467d10
cmp dword [ebp - 0x4c], edi
jb 0x467b93
mov eax, dword [ebp - 0x60]
push eax
call fcn.0053c152
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], cx
cmp dword [ebp - 0x68], edi
jb 0x467bb8
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0053c152
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
jb 0x467bde
mov eax, dword [ebp - 0x44]
push eax
jmp 0x467bd6
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
jb 0x467bde
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0053c152
add esp, 4
mov eax, dword [ebp - 0x90]
add dword [ebp - 0x8c], 0x1c
inc eax
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0x98]
jb 0x467a10
mov ebx, dword [ebp - 0x94]
push ebx
call fcn.0053d6b6
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
add esp, 4
sar edx, 2
test edx, edx
jbe 0x467c27
mov byte [ebp - 0x81], 1
cmp dword [ebp - 0x14], 8
jb 0x467c39
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053c152
add esp, 4
xor ecx, ecx
lea esi, [ebp - 0xb8]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
call fcn.004689a0
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x467c69
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [ebp - 0x81]
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.0053c15d
mov esp, ebp
pop ebp
ret 8