Function at 0x46eb70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d774b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], ecx
mov byte [edi], 0
push 0x400
push 1
push 0x10
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x46ec2e
push eax
push 1
push 0x10
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x46ec2e
push 0x10
push 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46f2da
push esi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x5c
jb 0x46f2da
push esi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46f2da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x46f2da
cmp word [esi], 0
je 0x46f2da
cmp word [esi + 2], 0
je 0x46f2da
push 0x10
lea eax, [esi + 6]
push eax
push 0x4dca44
call fcn.004b82c0
add esp, 0xc
test eax, eax
jne 0x46f2da
lea eax, [esi + 0x28]
test eax, eax
je 0x46f2da
cmp dword [eax], 0xfeef04bd
jne 0x46f2da
cmp dword [ebp - 0x50], 0
movzx ecx, word [eax + 0xa]
mov dword [ebp - 0x64], ecx
movzx ecx, word [eax + 8]
mov dword [ebp - 0x60], ecx
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x5c], ecx
je 0x46ecfb
cmp dword [ebp - 0x54], 0
je 0x46ecfb
cmp dword [ebp - 0x58], 0
je 0x46ecfb
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x46ecfb
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x64]
mov word [ecx], dx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
mov word [ecx], dx
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
mov word [edx], cx
mov word [esi], ax
mov ecx, eax
lea esi, [ebp - 0x2b]
mov dword [ebp - 0x44], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x44]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x46ed03
lea eax, [ebp - 0x2b]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp esi, eax
je 0x46ed67
sub eax, esi
lea ecx, [ebp - 0xc8]
push eax
push esi
call fcn.00403c60
mov dword [ebp - 0x48], 7
mov eax, dword [ebp - 0x5c]
lea esi, [ebp - 0x13]
movzx ecx, ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x44]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x46ed81
lea eax, [ebp - 0x13]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp esi, eax
je 0x46ede5
sub eax, esi
lea ecx, [ebp - 0xb0]
push eax
push esi
call fcn.00403c60
mov dword [ebp - 0x48], 0x1f
mov eax, dword [ebp - 0x60]
lea esi, [ebp - 0x2b]
movzx ecx, ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x44]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x46ee00
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp esi, eax
je 0x46ee64
sub eax, esi
lea ecx, [ebp - 0x98]
push eax
push esi
call fcn.00403c60
mov dword [ebp - 0x48], 0x7f
mov eax, dword [ebp - 0x64]
lea esi, [ebp - 0x13]
movzx ecx, ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], ecx
nop dword [eax + eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x44]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x46ee80
lea eax, [ebp - 0x13]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp esi, eax
je 0x46eed5
sub eax, esi
lea ecx, [ebp - 0x80]
push eax
push esi
call fcn.00403c60
mov dword [ebp - 0x48], 0x1ff
push 1
push 0x4ebbdc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00403580
mov dword [ebp - 0x48], 0x3ff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xf8]
call fcn.0042cb70
mov dword [ebp - 0x48], 0x7ff
push 1
push 0x4ebbdc
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 6
call fcn.00403580
mov dword [ebp - 0x48], 0xfff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xe0]
call fcn.0042cb70
mov dword [ebp - 0x48], 0x1fff
push 1
push 0x4ebbdc
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.00403580
mov dword [ebp - 0x48], 0x3fff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.0042cb70
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x46f068
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x46f044
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x46f03a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
mov eax, edx
push ecx
push eax
call fcn.004a6287
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
jmp 0x46f09c
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x46f09c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f092
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x46f0d0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f0c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0xcc]
cmp edx, 0x10
jb 0x46f10a
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f100
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
cmp edx, 0x10
jb 0x46f15f
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f155
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x46f199
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f18f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x46f1ee
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f1e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x46f222
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f218
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x46f26e
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x46f2a4
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f29a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x46f2da
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f2d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f2f7
push edx
push ecx
call fcn.004a6287
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
call fcn.004ab23f
int3