Function at 0x479fd0
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caee1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x47a010
push 0x4247
push 0
call fcn.00482c78
pop ecx
pop ecx
jmp 0x47a817
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x47a07d
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xcc], eax
push 0
push dword [ebp - 0xcc]
push dword [ebp - 0xe4]
call fcn.0048fcd3
add esp, 0xc
jmp 0x47a817
mov dword [ebp - 0x14], 0xf8c7b5c6
mov dword [ebp - 0x38], 0x3a4d1b40
mov eax, 0x4a9b
test eax, eax
je 0x47a0ca
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x47a0a5
mov dword [ebp - 0x74], 1
jmp 0x47a0a9
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
je 0x47a0be
cmp dword [ebp - 0x14], 0
je 0x47a0be
mov dword [ebp - 0x68], 1
jmp 0x47a0c2
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x68]
jne 0x47a0d9
cmp dword [ebp - 0x14], 0
jne 0x47a0d9
and dword [ebp - 0xd4], 0
jmp 0x47a0e3
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x12c], eax
imul eax, dword [ebp - 0x38], 0xffff
cmp eax, 0xfffffffa
jge 0x47a124
or eax, 0xffffffff
je 0x47a124
mov dword [ebp - 0xbc], 1
jmp 0x47a12b
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x40ee1d45
jle 0x47a143
mov dword [ebp - 0xa8], 1
jmp 0x47a14a
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xfffffffc
jl 0x47a15c
mov dword [ebp - 0x70], 1
jmp 0x47a160
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x70], eax
jg 0x47a174
mov dword [ebp - 0x98], 1
jmp 0x47a17b
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x14]
je 0x47a19e
mov dword [ebp - 0x104], 0x1701
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x14], eax
jmp 0x47a1f0
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x47a1c8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x47a1f0
push 0x1537
push 0xddb
push 0x1275
push 0x2115
push 0
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd8], eax
push 3
lea ecx, [ebp - 0x50]
call fcn.0040bc2e
mov dword [ebp - 0x24], 0x977
mov dword [ebp - 0x1c], 0xcc7c44d9
mov dword [ebp - 0x44], 0
jmp 0x47a230
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x47a249
push dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
mov dword [eax], 0x707dfe4d
jmp 0x47a229
push 0
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
cmp dword [eax], 0xffffffff
jge 0x47a264
mov dword [ebp - 0xa0], 1
jmp 0x47a26b
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
push 0
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
cmp dword [eax], 0
je 0x47a29c
push 1
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
cmp dword [eax], 0
je 0x47a29c
mov dword [ebp - 0x78], 1
jmp 0x47a2a0
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jg 0x47a2bd
mov dword [ebp - 0xb8], 1
jmp 0x47a2c4
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
mov ecx, dword [ebp - 0xb8]
imul ecx, dword [eax]
test ecx, ecx
jne 0x47a2eb
push 0xfffffffffffffffa
pop eax
test eax, eax
jne 0x47a2eb
and dword [ebp - 0xc4], 0
jmp 0x47a2f5
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x24], 0xc341
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x144], eax
push 2
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x47a323
mov eax, 0x813bf58a
test eax, eax
jne 0x47a323
and dword [ebp - 0x80], 0
jmp 0x47a32a
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0x7ea
jg 0x47a33f
mov dword [ebp - 0x88], 1
jmp 0x47a346
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 0x88]
cmp eax, 0xfffc
je 0x47a372
push 2
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x47a372
and dword [ebp - 0xc8], 0
jmp 0x47a37c
mov dword [ebp - 0xc8], 1
cmp dword [ebp - 0x1c], 0
jne 0x47a388
cmp dword [ebp - 0x1c], 0
je 0x47a3a8
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x47a3a3
push 0
push 0x1c27
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
jmp 0x47a4c7
mov dword [ebp - 0x1c], 2
jmp 0x47a3b8
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x47a4c7
cmp dword [ebp - 0x24], 0
je 0x47a3cd
jmp 0x47a4c7
mov dword [ebp - 0x24], 2
jmp 0x47a3dd
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x47a4c2
push 3
lea ecx, [ebp - 0xf0]
call fcn.0040bc2e
mov dword [ebp - 0x40], 0
jmp 0x47a404
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x47a420
push dword [ebp - 0x40]
lea ecx, [ebp - 0xf0]
call fcn.0040bd1c
mov dword [eax], 0xd058bbe5
jmp 0x47a3fd
push 1
lea ecx, [ebp - 0xf0]
call fcn.0040bd1c
and dword [eax], 0
jmp 0x47a456
push 1
lea ecx, [ebp - 0xf0]
call fcn.0040bd1c
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xf0]
call fcn.0040bd1c
cmp dword [eax], 2
jg 0x47a49c
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x47a47f
push 0x151
call dword [sym.imp.USER32.dll_IsZoomed]
push 0
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
call fcn.0040bd1c
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x47a432
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x47a4b2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea ecx, [ebp - 0xf0]
call fcn.0040bd00
jmp 0x47a3d6
jmp 0x47a3b1
lea ecx, [ebp - 0x50]
call fcn.0040bd00
mov dword [ebp - 0x18], 0xe19d29be
mov dword [ebp - 0x54], 0xfffffffe
mov dword [ebp - 0x6c], 0x3b4709ba
mov dword [ebp - 0x60], 0x5e3d1aa1
mov dword [ebp - 0x90], 0x6139
mov dword [ebp - 0xd0], str.jycys_cetloeko_dxalyd_ngcwy_ggmyymkrc
cmp dword [ebp - 0x90], 0x64ec
jle 0x47a5b8
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
and dword [ebp - 0x30], 0
jmp 0x47a528
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1556
jge 0x47a5ae
and dword [ebp - 0x34], 0
jmp 0x47a53e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3d2a
jge 0x47a5a9
and dword [ebp - 0x3c], 0
jmp 0x47a554
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x5e22
jge 0x47a5a7
mov eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
lea ecx, [ebp - 0x164]
call fcn.004019b1
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b8ce
push eax
call fcn.004b4d47
pop ecx
lea ecx, [ebp - 0x164]
call fcn.0040b8c4
jmp 0x47a54d
jmp 0x47a537
jmp 0x47a521
push 0
push 0
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [ebp - 0x58], 0x7cccaea0
and dword [ebp - 4], 0
cmp dword [ebp - 0x90], 0x5d8a
jge 0x47a5db
push dword [ebp - 0xd0]
call fcn.004b4d47
pop ecx
jmp 0x47a5f7
or dword [ebp - 4], 0xffffffff
jmp 0x47a601
mov dword [ebp - 0x8c], 0x54d8142
or dword [ebp - 0x11c], 0xffffffff
or dword [ebp - 0x118], 0xffffffff
or dword [ebp - 0x114], 0xffffffff
or dword [ebp - 0x110], 0xffffffff
lea ecx, [ebp - 0x59]
call fcn.0040bd2b
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.0040bd2e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x13c]
call fcn.0040bcda
mov dword [ebp - 0x2c], 0xe2095e04
xor eax, eax
inc eax
je 0x47a768
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x18], 0xfff8
je 0x47a68d
mov dword [ebp - 0x64], 1
jmp 0x47a691
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xa5ea
jl 0x47a6aa
cmp dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x18]
add eax, 0xbda9
je 0x47a6d3
cmp dword [ebp - 0x58], 0
je 0x47a6d3
mov dword [ebp - 0x7c], 1
jmp 0x47a6d7
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x7c], eax
jle 0x47a6eb
mov dword [ebp - 0x84], 1
jmp 0x47a6f2
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xebbf
jge 0x47a716
mov dword [ebp - 0x94], 1
jmp 0x47a71d
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x94], eax
jge 0x47a738
xor eax, eax
je 0x47a738
mov dword [ebp - 0x9c], 1
jmp 0x47a73f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x9c]
je 0x47a768
push 0
lea ecx, [ebp - 0x13c]
call fcn.0040bd1c
cmp dword [eax], 0
je 0x47a768
mov dword [ebp - 0xa4], 1
jmp 0x47a76f
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x47a784
mov dword [ebp - 0xac], 1
jmp 0x47a78b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xac]
jg 0x47a7a2
mov dword [ebp - 0xb4], 1
jmp 0x47a7a9
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 0
jmp 0x47a7c2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1c
jne 0x47a7ec
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x47a7ea
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x47a7bb
lea ecx, [ebp - 0x13c]
call fcn.0040bd00
push 0x7dd6
push 0x26dd
push 0
push dword [ebp - 0xd8]
push dword [ebp - 0xe0]
call fcn.00478c76
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret