Function at 0x41d19c
Capabilities:
Capture screenshot

Disassembly:
push ebp
push edi
push esi
or esi, 0xffffffff
push ebx
sub esp, 0x3c
xor ebx, ebx
push 0
call sub.msvcrt.dll_time
cld
mov ebp, eax
mov eax, dword [0x4453c8]
mov ecx, esi
mov edi, dword [eax + 0x10]
mov al, bl
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x7f
push ecx
call sub.msvcrt.dll_malloc
mov dword [esp + 0x20], eax
mov eax, dword [0x4453c8]
push ebp
push dword [eax + 0x10]
push str._s_apoScreen_lu.dll
push dword [esp + 0x2c]
call sub.msvcrt.dll_sprintf
cld
mov eax, dword [0x4453c8]
mov ecx, esi
mov edi, dword [eax + 0x18]
mov al, bl
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x7f
push ecx
call sub.msvcrt.dll_malloc
mov dword [esp + 0x30], eax
mov eax, dword [0x4453c8]
push ebp
push dword [eax + 0x18]
push str._cap__s_lu.jpg
push dword [esp + 0x3c]
call sub.msvcrt.dll_sprintf
add esp, 0x2c
push 0
call sub.USER32.dll_GetDC
test eax, eax
mov ebx, eax
je 0x41d382
push eax
call sub.GDI32.dll_CreateCompatibleDC
test eax, eax
mov edi, eax
je 0x41d382
push 0xa
push ebx
call sub.GDI32.dll_GetDeviceCaps
mov dword [esp + 0x10], eax
push 8
push ebx
call sub.GDI32.dll_GetDeviceCaps
mov dword [esp + 0xc], eax
push dword [esp + 0x10]
push eax
push ebx
call sub.GDI32.dll_CreateCompatibleBitmap
test eax, eax
mov esi, eax
jne 0x41d273
push edi
call sub.GDI32.dll_DeleteDC
jmp 0x41d382
push eax
push edi
call sub.GDI32.dll_SelectObject
test eax, eax
je 0x41d2a8
push 0xcc0020
push 0
push 0
push ebx
push 0xa
push ebx
call sub.GDI32.dll_GetDeviceCaps
push eax
push 8
push ebx
call sub.GDI32.dll_GetDeviceCaps
push eax
push 0
push 0
push edi
call sub.GDI32.dll_BitBlt
test eax, eax
jne 0x41d2b4
push edi
call sub.GDI32.dll_DeleteDC
push esi
jmp 0x41d37d
push ebx
mov ebp, esi
push 0
call sub.USER32.dll_ReleaseDC
lea eax, [esp + 0x1c]
push eax
push 0x18
push esi
call sub.GDI32.dll_GetObjectA
test eax, eax
je 0x41d37c
movzx edx, word [esp + 0x2e]
mov eax, dword [esp + 0x2c]
imul eax, edx
movzx ebx, ax
cmp bx, 1
jne 0x41d2ef
mov ebx, 1
jmp 0x41d321
cmp bx, 4
ja 0x41d2fc
mov ebx, 4
jmp 0x41d321
cmp bx, 8
ja 0x41d309
mov ebx, 8
jmp 0x41d321
cmp bx, 0x10
ja 0x41d316
mov ebx, 0x10
jmp 0x41d321
cmp bx, 0x18
jbe 0x41d330
mov ebx, 0x20
mov eax, 4
mov cl, bl
shl eax, cl
add eax, 0x28
push eax
jmp 0x41d337
push 0x28
mov ebx, 0x18
call sub.msvcrt.dll_malloc
pop esi
test eax, eax
mov esi, eax
je 0x41d37c
mov dword [eax], 0x28
cmp bx, 0x17
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
mov word [esi + 0xc], ax
movzx eax, word [esp + 0x2e]
mov word [esi + 0xe], ax
ja 0x41d39b
mov eax, 1
mov cl, bl
shl eax, cl
mov dword [esi + 0x20], eax
jmp 0x41d39b
push ebp
call sub.GDI32.dll_DeleteObject
push dword [esp + 0x18]
call fcn.0043aa78
push dword [esp + 0x18]
call fcn.0043aa78
pop ecx
pop ebx
jmp 0x41d516
mov dword [esi + 0x10], 0
mov eax, dword [esi + 4]
mov edx, 8
mov dword [esi + 0x24], 0
mov ecx, edx
imul eax, ebx
add eax, 0x1f
and eax, 0xffffffe0
cdq
idiv ecx
imul eax, dword [esi + 8]
mov dword [esi + 0x14], eax
push eax
call sub.msvcrt.dll_malloc
push 0
mov ebx, eax
push esi
push eax
push dword [esp + 0x20]
push 0
push ebp
push edi
call sub.GDI32.dll_GetDIBits
pop edx
test eax, eax
jne 0x41d410
push ebp
call sub.GDI32.dll_DeleteObject
push esi
call fcn.0043aa78
push ebx
call fcn.0043aa78
push dword [esp + 0x20]
call fcn.0043aa78
push dword [esp + 0x20]
call fcn.0043aa78
add esp, 0x10
jmp 0x41d516
push edi
call sub.GDI32.dll_DeleteDC
push esi
call fcn.0043aa78
push ebp
call sub.GDI32.dll_DeleteObject
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004198c0
add esp, 0xc
test eax, eax
mov edi, eax
jne 0x41d443
push ebx
call fcn.0043aa78
jmp 0x41d501
xor ebp, ebp
cmp ebp, dword [esp + 0x10]
jae 0x41d49a
mov dword [esp], 0
xor esi, esi
cmp esi, dword [esp + 0xc]
jae 0x41d48c
mov ecx, dword [esp]
add ecx, esi
movzx eax, byte [ebx + ecx*4 + 2]
movzx edx, byte [ebx + ecx*4 + 1]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + ecx*4]
shl eax, 8
add eax, edx
push eax
mov eax, dword [esp + 0x14]
sub eax, ebp
push eax
push esi
inc esi
push edi
call fcn.00419cc5
add esp, 0x10
jmp 0x41d454
inc ebp
mov eax, dword [esp + 0xc]
add dword [esp], eax
cmp ebp, dword [esp + 0x10]
jb 0x41d452
push ebx
call fcn.0043aa78
push 0x43ed2f
push dword [esp + 0x20]
call sub.msvcrt.dll_fopen
add esp, 0xc
test eax, eax
mov ebx, eax
jne 0x41d4bf
push edi
call fcn.00419a5e
jmp 0x41d501
push 0x50
push eax
push edi
call fcn.0041a53a
push ebx
call sub.msvcrt.dll_fclose
push edi
call fcn.00419a5e
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.00403f8c
add esp, 0x1c
test eax, eax
mov ebx, eax
je 0x41d4f8
push 0xffffffffffffffff
push eax
call sub.KERNEL32.dll_WaitForSingleObject
push ebx
call sub.KERNEL32.dll_CloseHandle
push dword [esp + 0x18]
call sub.msvcrt.dll__unlink
push dword [esp + 0x1c]
call fcn.0043aa78
push dword [esp + 0x1c]
call fcn.0043aa78
add esp, 0xc
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret