Function at 0x403850
Capabilities:
Capture screenshot
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 1
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x84], 0
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0x20
push dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.00414bf0
cmp dword [ebp - 0x4c], 8
lea ebx, [ebp - 0x60]
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
cmovae ebx, dword [ebp - 0x60]
lea edi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
mov edx, eax
cmovae edi, dword [ebp + 8]
xor ecx, ecx
sub edx, edi
xor esi, esi
cmp edi, eax
cmova edx, ecx
test edx, edx
je 0x403957
cmp edx, 0x20
jb 0x403957
lea ecx, [edi - 1]
add ecx, edx
cmp ebx, ecx
ja 0x403901
lea ecx, [ebx - 2]
lea ecx, [ecx + edx*2]
cmp ecx, edi
jae 0x403957
and edx, 0xffffffe0
movq xmm0, qword [edi]
add esi, 0x20
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ebx], xmm0
movq xmm0, qword [edi + 8]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ebx + 0x10], xmm0
movq xmm0, qword [edi + 0x10]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ebx + 0x20], xmm0
movq xmm0, qword [edi + 0x18]
add edi, 0x20
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ebx + 0x30], xmm0
add ebx, 0x40
cmp esi, edx
jne 0x403904
cmp edi, eax
je 0x403970
nop dword [eax + eax]
movsx cx, byte [edi]
lea ebx, [ebx + 2]
inc edi
mov word [ebx - 2], cx
cmp edi, eax
jne 0x403960
push 0
call dword [sym.imp.USER32.dll_GetDC]
sub esp, 0x18
mov dword [ebp - 0x14], eax
mov ecx, esp
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x24], 4
push 0x4480e8
call fcn.00414750
lea ecx, [ebp - 0x78]
call fcn.004034e0
add esp, 0x18
push eax
sub esp, 0x18
mov esi, esp
sub esp, 0x1c
mov ecx, esp
push 0x448388
call fcn.00414750
mov ecx, esi
call fcn.004034e0
add esp, 4
mov esi, esp
sub esp, 0x1c
mov ecx, esp
push 0x4485c8
call fcn.00414750
mov ecx, esi
call fcn.004034e0
add esp, 0x1c
lea ecx, [ebp - 0xd0]
mov edx, 0x80000002
call fcn.004035f0
add esp, 0x30
push eax
sub esp, 0x18
mov ecx, esp
push 0x447c08
call fcn.00414750
lea ecx, [ebp - 0xb8]
call fcn.004034e0
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov edx, eax
call fcn.00415290
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.00415290
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 0x10
jb 0x403a65
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e99
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp edx, 0x10
jb 0x403aba
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403ab0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e99
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp edx, 0x10
jb 0x403b0f
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403b05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e99
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp edx, 0x10
jb 0x403b5e
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403b54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e99
push edx
push ecx
call fcn.00417582
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x447c20
call fcn.00414750
lea ecx, [ebp - 0x78]
call fcn.004034e0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x403b80
mov eax, dword [eax]
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
push edx
lea edx, [ebp - 8]
push edx
push 0
push 0x18
push eax
push ecx
push 0x80000002
call edi
mov edx, dword [ebp - 0x64]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x403bdf
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403bd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e9e
push edx
push ecx
call fcn.00417582
add esp, 8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
test bl, bl
je 0x403bf6
cmp eax, dword [ebp - 8]
jbe 0x403bf9
push 0
call esi
mov dword [ebp - 8], eax
sub esp, 0x18
mov ecx, esp
push 0x447f68
call fcn.00414750
lea ecx, [ebp - 0x78]
call fcn.004034e0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x403c1b
mov eax, dword [eax]
cmp dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 4]
push edx
push 0
push 0x18
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
push eax
push ecx
push 0x80000002
call edi
mov edx, dword [ebp - 0x64]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x403c74
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403c6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ea3
push edx
push ecx
call fcn.00417582
add esp, 8
push 1
call esi
test bl, bl
je 0x403c85
cmp eax, dword [ebp - 4]
jbe 0x403c88
push 1
call esi
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 4]
mov esi, eax
push dword [ebp - 8]
mov dword [ebp - 0x18], esi
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
push edi
push esi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403d94
push eax
call fcn.0041ea52
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x403d94
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x403d88
lea edi, [ebx + 0x30]
mov eax, dword [edi]
mov ecx, str.image_jpeg
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403d66
test dx, dx
je 0x403d62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403d66
add eax, 4
add ecx, 4
test dx, dx
jne 0x403d40
xor eax, eax
jmp 0x403d6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x403d7a
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0xc]
jb 0x403d32
jmp 0x403d88
imul eax, esi, 0x4c
movups xmm0, xmmword [eax + ebx]
movups xmmword [ebp - 0xe0], xmm0
push ebx
call fcn.0041e7e4
mov esi, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0xe0]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push 0
push ecx
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [ebp - 0x28]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x14]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x403e11
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403e07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ea8
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 8
jb 0x403e59
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403e4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ea8
push edx
push ecx
call fcn.00417582
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x403e92
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403e88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ead
push edx
push ecx
call fcn.00417582
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041ea01
call fcn.0041ea01
call fcn.0041ea01
call fcn.0041ea01
call fcn.0041ea01
int3