Function at 0x410ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x603bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x69f000]
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, ecx
mov dword [ebp - 0x50], edi
call fcn.00490640
push dword [edi + 0x184]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [edi + 0x20]
call esi
push dword [edi + 0x184]
push 0
push 0x80
push dword [edi + 0x20]
call esi
mov eax, dword [edi + 0xbc]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [edi + 0xbc]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov eax, dword [edi + 0xbc]
lea edx, [ebp - 0x4c]
push edx
push 0x6543fc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x410fcb
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
push edx
push 0x65438c
push 0x65438c
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x410fcb
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov dword [ebp - 0x14], 0xffffffff
neg ecx
lea eax, [edi + 0x178]
mov esi, dword [edx]
sbb ecx, ecx
and ecx, eax
push ecx
push 0x65433c
push edx
call dword [esi + 0xc]
mov eax, dword [edi + 0x16c]
mov ecx, edi
or eax, 3
push eax
call fcn.00490a24
mov ecx, edi
call fcn.0049bb19
push 1
mov ecx, edi
call fcn.0049bc4a
push eax
mov ecx, edi
call fcn.00490a15
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x411056
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push eax
call esi
push 0x5a
push dword [ebp - 0x48]
mov edi, eax
call esi
push dword [ebp - 0x48]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
imul eax, edi, 0x64
cmp eax, 0x4200
jl 0x41103c
mov edi, 0xc8
jmp 0x41105b
cmp eax, 0x33c0
jl 0x41104a
mov edi, 0x96
jmp 0x41105b
mov edi, 0x7d
cmp eax, 0x2ac0
jge 0x41105b
mov edi, 0x64
call fcn.00408570
cmp dword [eax + 0x60], 0
je 0x411081
call fcn.00408570
add eax, 0x50
cmp dword [eax + 0x14], 8
jb 0x411076
mov eax, dword [eax]
push eax
call fcn.005e1035
add esp, 4
mov edi, eax
imul ecx, edi, 0x2c7
mov eax, 0x51eb851f
push 2
imul ecx
imul ecx, edi, 0x1ca
mov eax, 0x51eb851f
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
mov esi, dword [ebp - 0x50]
mov ecx, esi
push 0
push 0
push 0x6a6888
call fcn.004986a0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, esi
call fcn.00498627
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.00492cb8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
call fcn.0049b3b0
push str.CONFIG
push 0xa1
mov edi, dword [eax + 0xc]
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.00412b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x44]
push ecx
call fcn.004637f0
add esp, 4
lea eax, [ebp - 0x2c]
push dword [ebp - 0x50]
push eax
call fcn.00408570
mov ecx, eax
call fcn.0042df50
call fcn.00408570
push 0
push 0
push 0xbcb
mov eax, dword [eax + 0xec]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004124b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040bd90
mov eax, 1
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.005d077b
mov esp, ebp
pop ebp
ret