Function at 0x403320
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.00414870
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 0x403427
cmp edx, 0x20
jb 0x403427
lea ecx, [edi - 1]
add ecx, edx
cmp ebx, ecx
ja 0x4033d1
lea ecx, [ebx - 2]
lea ecx, [ecx + edx*2]
cmp ecx, edi
jae 0x403427
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 0x4033d4
cmp edi, eax
je 0x403440
nop dword [eax + eax]
movsx cx, byte [edi]
lea ebx, [ebx + 2]
inc edi
mov word [ebx - 2], cx
cmp edi, eax
jne 0x403430
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 0x4400e8
call fcn.004147b0
lea ecx, [ebp - 0x78]
call fcn.00402fb0
add esp, 0x18
push eax
sub esp, 0x18
mov esi, esp
sub esp, 0x1c
mov ecx, esp
push 0x440388
call fcn.004147b0
mov ecx, esi
call fcn.00402fb0
add esp, 4
mov esi, esp
sub esp, 0x1c
mov ecx, esp
push 0x4405c8
call fcn.004147b0
mov ecx, esi
call fcn.00402fb0
add esp, 0x1c
lea ecx, [ebp - 0xd0]
mov edx, 0x80000002
call fcn.004030c0
add esp, 0x30
push eax
sub esp, 0x18
mov ecx, esp
push 0x43fc08
call fcn.004147b0
lea ecx, [ebp - 0xb8]
call fcn.00402fb0
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov edx, eax
call fcn.00414c70
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.00414c70
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 0x10
jb 0x403535
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40352b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403969
push edx
push ecx
call fcn.00415fcc
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 0x40358a
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403580
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403969
push edx
push ecx
call fcn.00415fcc
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 0x4035df
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4035d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403969
push edx
push ecx
call fcn.00415fcc
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 0x40362e
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403624
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403969
push edx
push ecx
call fcn.00415fcc
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x43fc20
call fcn.004147b0
lea ecx, [ebp - 0x78]
call fcn.00402fb0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x403650
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 0x4036af
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4036a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40396e
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
test bl, bl
je 0x4036c6
cmp eax, dword [ebp - 8]
jbe 0x4036c9
push 0
call esi
mov dword [ebp - 8], eax
sub esp, 0x18
mov ecx, esp
push 0x43ff68
call fcn.004147b0
lea ecx, [ebp - 0x78]
call fcn.00402fb0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4036eb
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 0x403744
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40373a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403973
push edx
push ecx
call fcn.00415fcc
add esp, 8
push 1
call esi
test bl, bl
je 0x403755
cmp eax, dword [ebp - 4]
jbe 0x403758
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 0x403864
push eax
call fcn.0041bb7e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x403864
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 0x403858
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 0x403836
test dx, dx
je 0x403832
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403836
add eax, 4
add ecx, 4
test dx, dx
jne 0x403810
xor eax, eax
jmp 0x40383b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40384a
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0xc]
jb 0x403802
jmp 0x403858
imul eax, esi, 0x4c
movups xmm0, xmmword [eax + ebx]
movups xmmword [ebp - 0xe0], xmm0
push ebx
call fcn.0041b933
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 0x4038e1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4038d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403978
push edx
push ecx
call fcn.00415fcc
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 0x403929
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40391f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403978
push edx
push ecx
call fcn.00415fcc
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x403962
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403958
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40397d
push edx
push ecx
call fcn.00415fcc
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
int3