Function at 0x490670
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6412d1
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x195
push 0x2af
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0x15c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb8]
lea edx, [ebp - 0x158]
push edx
call eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x158]
push 0xcc0020
push ecx
push edx
push esi
push 0x195
push 0x2af
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi]
mov edx, dword [eax + 0x160]
lea ecx, [ebp - 0x148]
push ecx
push str.image_jpeg
mov ecx, edi
call edx
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x490772
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x160]
push eax
push 0
push ecx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x160], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edx, dword [ebp - 0x160]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
jmp 0x490774
xor esi, esi
cmp dword [edi + 0xd4], 8
jb 0x490785
mov eax, dword [edi + 0xc0]
jmp 0x49078b
lea eax, [edi + 0xc0]
mov edx, dword [esi + 4]
push 0
lea ecx, [ebp - 0x148]
push ecx
push eax
push edx
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x4907a6
mov dword [esi + 8], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
xor esi, esi
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x138], esi
push 8
mov dword [ebp - 4], esi
call fcn.005f0fe0
add esp, 4
cmp eax, esi
je 0x490ac5
mov dword [ebp - 0x138], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
mov dword [edx], ecx
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], esi
mov byte [ebp - 0x134], 0
mov esi, ecx
mov dword [ebp - 4], 1
call fcn.004c4b60
push 7
push 0x675cf4
mov ecx, esi
call fcn.00412ae0
push 6
push str.AD.ini
mov ecx, esi
call fcn.00412ae0
push 0x103
lea eax, [ebp - 0x117]
push 0
push eax
mov byte [ebp - 0x118], 0
call fcn.005ff630
add esp, 0xc
cmp dword [edi + 0x54], 8
jb 0x49086f
mov ebx, dword [edi + 0x40]
jmp 0x490872
lea ebx, [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
je 0x4908b0
lea ecx, [ebp - 0x118]
test ecx, ecx
je 0x4908b0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 1
call esi
test eax, eax
jle 0x4908b0
push 0
push 0
push eax
lea edx, [ebp - 0x118]
push edx
push 0xffffffffffffffff
push ebx
push 0
push 1
call esi
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x4908c5
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x118]
push eax
push str.ssid
push str.weixinhelp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x74], 8
jb 0x4908e8
mov ebx, dword [edi + 0x60]
jmp 0x4908eb
lea ebx, [edi + 0x60]
test ebx, ebx
je 0x490923
lea ecx, [ebp - 0x118]
test ecx, ecx
je 0x490923
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 1
call esi
test eax, eax
jle 0x490923
push 0
push 0
push eax
lea edx, [ebp - 0x118]
push edx
push 0xffffffffffffffff
push ebx
push 0
push 1
call esi
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x490938
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x118]
push eax
push str.password
push str.weixinhelp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0xd4], 8
jb 0x490961
mov ebx, dword [edi + 0xc0]
jmp 0x490967
lea ebx, [edi + 0xc0]
test ebx, ebx
je 0x49099f
lea ecx, [ebp - 0x118]
test ecx, ecx
je 0x49099f
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 1
call esi
test eax, eax
jle 0x49099f
push 0
push 0
push eax
lea edx, [ebp - 0x118]
push edx
push 0xffffffffffffffff
push ebx
push 0
push 1
call esi
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x4909b4
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x118]
push eax
push str.savepath
push str.weixinhelp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [edi + 0x94], 8
jb 0x4909dd
mov edi, dword [edi + 0x80]
jmp 0x4909e0
sub edi, 0xffffff80
xor ebx, ebx
cmp edi, ebx
je 0x490a12
lea ecx, [ebp - 0x118]
test ecx, ecx
je 0x490a12
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push 1
call esi
cmp eax, ebx
jle 0x490a12
push ebx
push ebx
push eax
lea edx, [ebp - 0x118]
push edx
push 0xffffffffffffffff
push edi
push ebx
push 1
call esi
mov eax, dword [ebp - 0x134]
mov esi, 0x10
cmp dword [ebp - 0x120], esi
jae 0x490a2b
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x118]
push eax
push str.qrcode
push str.weixinhelp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x120], esi
jb 0x490a5a
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 2
call fcn.0040ed70
mov edx, dword [ebp - 0x138]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x15c], esi
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x144]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3