Function at 0x4abc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x53d058]
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 0x4abd0e
push eax
push 1
push 0x10
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x4abd0e
push 0x10
push 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4ac3ba
push esi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x5c
jb 0x4ac3ba
push esi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ac3ba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4ac3ba
cmp word [esi], 0
je 0x4ac3ba
cmp word [esi + 2], 0
je 0x4ac3ba
push 0x10
lea eax, [esi + 6]
push eax
push 0x508ed4
call fcn.004d09e9
add esp, 0xc
test eax, eax
jne 0x4ac3ba
lea eax, [esi + 0x28]
test eax, eax
je 0x4ac3ba
cmp dword [eax], 0xfeef04bd
jne 0x4ac3ba
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 0x4abddb
cmp dword [ebp - 0x54], 0
je 0x4abddb
cmp dword [ebp - 0x58], 0
je 0x4abddb
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x4abddb
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 0x4abde3
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 0x4abe47
sub eax, esi
lea ecx, [ebp - 0xc8]
push eax
push esi
call fcn.004031d0
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 0x4abe61
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 0x4abec5
sub eax, esi
lea ecx, [ebp - 0xb0]
push eax
push esi
call fcn.004031d0
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 0x4abee0
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 0x4abf44
sub eax, esi
lea ecx, [ebp - 0x98]
push eax
push esi
call fcn.004031d0
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 0x4abf60
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 0x4abfb5
sub eax, esi
lea ecx, [ebp - 0x80]
push eax
push esi
call fcn.004031d0
mov dword [ebp - 0x48], 0x1ff
push 1
push 0x516c74
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.0040c040
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.00434460
mov dword [ebp - 0x48], 0x7ff
push 1
push 0x516c74
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 6
call fcn.0040c040
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.00434460
mov dword [ebp - 0x48], 0x1fff
push 1
push 0x516c74
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.0040c040
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.00434460
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4ac148
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x4ac124
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4ac11a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
mov eax, edx
push ecx
push eax
call fcn.0049855b
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 0x4ac17c
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4ac17c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac172
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4ac1b0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac1a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0xcc]
cmp edx, 0x10
jb 0x4ac1ea
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac1e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
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 0x4ac23f
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x4ac279
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac26f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
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 0x4ac2ce
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac2c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x4ac302
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac2f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
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 0x4ac34e
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac344
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x4ac384
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac37a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
add esp, 8
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x4ac3ba
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac3b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3d7
push edx
push ecx
call fcn.0049855b
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.0049852a
mov esp, ebp
pop ebp
ret
call fcn.004d076f
int3