Function at 0x401dd0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4090b0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x40f3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x1e]
cmp al, byte [esi + 0x20]
ja 0x401e0e
mov cl, byte [esi + 0x1f]
cmp cl, byte [esi + 0x21]
jbe 0x401fb4
mov edx, dword [esi + 0x40]
push edx
lea ecx, [ebp - 0x54]
call sub.mfc100.dll_Ordinal_341
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], vtable.CBitmap.0
push 0x82
push 2
push 0x82
mov byte [ebp - 4], 1
call sub.mfc100.dll_Ordinal_1900
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
lea ecx, [ebp - 0x20]
call sub.mfc100.dll_Ordinal_2184
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_374
mov eax, dword [ebp - 0x50]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov byte [ebp - 4], 2
call edi
push eax
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_2183
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
push ecx
push edx
call sub.mfc100.dll_Ordinal_11924
lea ecx, [ebp - 0x30]
call sub.mfc100.dll_Ordinal_374
mov eax, dword [ebp - 0x50]
push eax
mov byte [ebp - 4], 3
call edi
push eax
lea ecx, [ebp - 0x30]
call sub.mfc100.dll_Ordinal_2183
lea eax, [esi + 0x2dc]
cmp eax, ebx
jne 0x401ea5
xor eax, eax
jmp 0x401ea8
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
call sub.mfc100.dll_Ordinal_11924
cmp byte [esi + 0x1f], 0
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xe], 0
jbe 0x401f69
movzx eax, byte [esi + 0x1e]
mov dword [ebp - 0x14], ebx
lea ebx, [ebx]
mov byte [ebp - 0xd], 0
test eax, eax
jle 0x401f4c
xor edi, edi
lea ebx, [ebx]
movzx eax, byte [esi + 0x1d]
push 0xcc0020
push 0
mov ecx, eax
imul ecx, ebx
lea ebx, [eax + eax]
push ebx
mov ebx, dword [ebp - 0x3c]
mov edx, eax
imul edx, edi
push ebx
push eax
push eax
push ecx
push edx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
movzx eax, byte [esi + 0x1d]
mov ebx, dword [ebp - 0x14]
push 0xcc0020
push 0
mov edx, eax
mov ecx, eax
imul edx, edi
lea edi, [eax + eax]
imul ecx, ebx
push edi
mov edi, dword [ebp - 0x3c]
push edi
push eax
push eax
mov eax, dword [ebp - 0x2c]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov cl, byte [ebp - 0xd]
movzx eax, byte [esi + 0x1e]
inc cl
movsx edi, cl
mov byte [ebp - 0xd], cl
cmp edi, eax
jl 0x401ee0
mov cl, byte [ebp - 0xe]
inc cl
movsx ebx, cl
mov byte [ebp - 0xe], cl
movzx ecx, byte [esi + 0x1f]
mov dword [ebp - 0x14], ebx
cmp ebx, ecx
jl 0x401ed0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401f70
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x2c]
push eax
push edx
call sub.mfc100.dll_Ordinal_11924
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call sub.mfc100.dll_Ordinal_943
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call sub.mfc100.dll_Ordinal_943
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], vtable.CBitmap.0
call fcn.00401590
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call sub.mfc100.dll_Ordinal_917
cmp byte [esi + 0x21], 0
mov byte [ebp - 0x14], 0
jbe 0x401fff
movzx eax, byte [esi + 0x20]
xor bl, bl
mov byte [ebp - 0x18], bl
test eax, eax
jle 0x401fec
mov edi, dword [ebp - 0x14]
mov edi, edi
mov eax, dword [ebp - 0x18]
push edi
push eax
mov ecx, esi
call fcn.00401b60
movzx eax, byte [esi + 0x20]
inc bl
movsx ecx, bl
mov byte [ebp - 0x18], bl
cmp ecx, eax
jl 0x401fd0
mov cl, byte [ebp - 0x14]
movzx edx, byte [esi + 0x21]
inc cl
mov byte [ebp - 0x14], cl
movsx ecx, cl
cmp ecx, edx
jl 0x401fc2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret