Function at 0x468e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57102e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5c5678]
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 0x5961a4
mov dword [ebp - 4], ebx
mov ecx, dword [0x5ce970]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x9c], esi
cmp esi, ebx
je 0x469239
mov edx, dword [0x5ce970]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0xa0], edi
cmp edi, ebx
je 0x46922e
mov eax, dword [0x5ce970]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
inc esi
cmp esi, 0xf4240
jle 0x468f04
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x46923f
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053bf79
mov ebx, eax
add esp, 4
mov dword [ebp - 0x94], ebx
test ebx, ebx
je 0x46922e
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.00545940
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
dec esi
push esi
push eax
push ebx
call fcn.005475b0
mov ecx, 0xfeff
add esp, 0xc
mov esi, ebx
cmp word [ebx], cx
jne 0x468f60
lea esi, [ebx + 2]
lea edx, [ebp - 0xb8]
push edx
call fcn.004c8990
lea eax, [ebp - 0xb8]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00469520
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 0x4691d4
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
jmp 0x468ff2
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 0x46901a
call fcn.0053ecd6
mov edi, dword [ebp - 0xac]
cmp dword [ebx + edi + 0x18], 8
jb 0x469027
mov ecx, dword [ebx + edi + 4]
jmp 0x46902b
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 0x469044
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [ebp - 0x48]
call fcn.0040f460
push 1
push 0x58eab4
xor eax, eax
mov edx, esi
mov byte [ebp - 4], 3
call fcn.004126d0
push 1
mov esi, eax
push 0x58eab8
xor eax, eax
lea edx, [ebp - 0x48]
call fcn.004126d0
push 1
mov edi, eax
push 0x58eb38
xor eax, eax
lea edx, [ebp - 0x48]
call fcn.004126d0
mov ebx, eax
test esi, esi
jne 0x4690ec
cmp edi, 0xffffffff
je 0x4690ec
lea eax, [ebp - 0x48]
lea edx, [esi + 1]
lea ecx, [edi - 1]
push eax
lea esi, [ebp - 0x80]
call fcn.0040f790
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00412610
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040f400
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x4690dc
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x88]
call fcn.00469260
jmp 0x469188
cmp ebx, 0xffffffff
je 0x469198
lea ecx, [ebp - 0x48]
push ecx
mov ecx, ebx
xor edx, edx
lea esi, [ebp - 0x80]
call fcn.0040f790
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.0040f790
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x60]
mov edi, 8
cmp dword [ebp - 0x4c], edi
jae 0x46912f
lea esi, [ebp - 0x60]
mov ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x68], edi
jae 0x46913a
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x469145
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x88]
push eax
push edx
call fcn.004692e0
cmp dword [ebp - 0x4c], edi
jb 0x469163
mov eax, dword [ebp - 0x60]
push eax
call fcn.0053d782
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 0x469188
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0053d782
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
jb 0x4691ae
mov eax, dword [ebp - 0x44]
push eax
jmp 0x4691a6
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
jb 0x4691ae
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0053d782
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 0x468fe0
mov ebx, dword [ebp - 0x94]
push ebx
call fcn.0053ece6
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 0x4691f7
mov byte [ebp - 0x81], 1
cmp dword [ebp - 0x14], 8
jb 0x469209
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053d782
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.00469f70
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x469239
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.0053d78d
mov esp, ebp
pop ebp
ret 8