Function at 0x422e20
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49ec1b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xe0]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x42330b
cmp dword [esp + 0x44], edi
je 0x4232ed
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
push 0x18
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4232ed
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, eax
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x5c], esi
cmp esi, edi
je 0x4232ed
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x4232e5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4232de
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call edi
mov edx, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea ecx, [esp + 0x64]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xff0000
push ebx
mov dword [esp + 0x60], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x14], eax
cmp dword [0x4d7df4], ebp
je 0x422f95
mov esi, 0x4d47ec
mov ebp, 0x4d47e4
jmp 0x422f9f
mov esi, 0x4d47dc
mov ebp, 0x4d47d4
cmp dword [esp + 0xe4], 0x64
jl 0x422fb4
mov eax, 0xfffffffe
add dword [esi + 4], eax
add dword [ebp + 4], eax
push 0x58
lea edx, [esp + 0x78]
push 0
push edx
call fcn.00482db0
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x80], 0x64
mov edx, 0x20
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7fffffde]
test ecx, ecx
je 0x423010
movzx ecx, word [esi + eax]
test cx, cx
je 0x423010
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x422ff0
jmp 0x423014
test edx, edx
jne 0x423017
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x8c]
push eax
call fcn.0041ef80
add esp, 4
test eax, eax
je 0x423041
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
test esi, esi
jne 0x4230bd
push 0x5c
lea edx, [esp + 0x74]
push 0
push edx
call fcn.00482db0
mov eax, dword [ebp + 4]
mov esi, dword [ebp]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x80], 0x64
mov edx, 0x20
sub esi, ecx
jmp 0x423080
lea ecx, [edx + 0x7fffffde]
test ecx, ecx
je 0x4230a0
movzx ecx, word [esi + eax]
test cx, cx
je 0x4230a0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x423080
jmp 0x4230a4
test edx, edx
jne 0x4230a7
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
test esi, esi
je 0x4230c5
push esi
push ebx
call edi
mov ebp, eax
jmp 0x4230c9
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x34]
call fcn.004016e0
mov ecx, dword [esp + 0xe4]
push ecx
lea edx, [esp + 0x38]
push 0x4a8868
push edx
mov dword [esp + 0xe4], 0
call fcn.00404580
add esp, 0xc
xor eax, eax
cmp dword [esp + 0xe4], 0xa
push 0x20
setl al
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [eax - 0xc]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
test esi, esi
je 0x42312e
push ebp
push ebx
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x30]
push edx
push ebx
call edi
mov ebp, dword [esp + 0x1c]
imul ebp, dword [esp + 0x20]
lea ebp, [ebp*4 + 0x28]
push ebp
xor edi, edi
call fcn.0046083a
push ebp
mov esi, eax
push edi
push esi
call fcn.00482db0
add esp, 0x10
mov dword [esi], 0x28
mov eax, dword [esp + 0x1c]
push edi
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x24]
push esi
mov edx, 1
mov eax, 0x20
mov word [esi + 0xc], dx
mov edx, dword [esp + 0x48]
mov dword [esi + 8], ecx
mov word [esi + 0xe], ax
mov dword [esi + 0x10], edi
mov ecx, dword [esp + 0x28]
lea ebp, [esi + 0x28]
push ebp
push ecx
push edi
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x4232a8
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
lea eax, [eax*4 + 0x28]
push eax
mov dword [esp + 0x34], eax
call fcn.0046083a
mov edi, eax
mov eax, dword [esp + 0x34]
push eax
push 0
push edi
call fcn.00482db0
add esp, 0x10
mov dword [edi], 0x28
mov ecx, dword [esp + 0x1c]
push 0
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x24]
push edi
mov eax, 1
mov word [edi + 0xc], ax
mov ecx, 0x20
mov dword [edi + 8], edx
mov word [edi + 0xe], cx
mov dword [edi + 0x10], 0
mov edx, dword [esp + 0x28]
lea eax, [edi + 0x28]
push eax
mov eax, dword [esp + 0x60]
push edx
push 0
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x4232a8
mov ecx, dword [esp + 0x20]
lea edx, [edi + 0x28]
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x42327f
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jle 0x42326e
mov edi, edi
mov eax, dword [ebp]
test eax, 0xffffff
je 0x423261
or eax, 0xa0000000
mov dword [edx], eax
inc ecx
add ebp, 4
add edx, 4
cmp ecx, dword [esp + 0x1c]
jl 0x423250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x423246
push 0
push edi
lea eax, [edi + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x64]
push 0
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetDIBits]
test eax, eax
je 0x4232a8
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov dword [esp + 0x3c], eax
push esi
call fcn.0046082f
add esp, 4
test edi, edi
je 0x4232be
push edi
call fcn.0046082f
add esp, 4
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x34]
call fcn.0041f860
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4232fc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42330b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00482b5f
add esp, 0xc8
ret