Function at 0x10057090
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, 0x100636d8
push 0
call sub.user32.dll_GetDC
mov dword [0x100636b8], eax
mov eax, dword [0x100636b8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov edi, eax
push 1
mov eax, dword [ebp]
push eax
mov eax, dword [0x100636b8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.gdi32.dll_SelectObject
xor eax, eax
mov dword [0x100636fc], eax
push 0
push 0
mov eax, dword [0x100636e0]
push eax
mov eax, dword [ebp]
push eax
push 0x100636e4
call sub.user32.dll_SetRect
mov esi, dword [0x100636cc]
cmp esi, dword [0x100636e0]
jge 0x10057256
push 0
push 0
mov eax, dword [0x100636e0]
push eax
mov eax, dword [ebp]
push eax
lea eax, [esp + 0x20]
push eax
call sub.user32.dll_SetRect
mov eax, dword [0x100636bc]
mov edx, dword [ebp]
mov dword [eax + 4], edx
mov eax, dword [0x100636bc]
mov dword [eax + 8], 0xffffffff
mov eax, dword [0x10063688]
push eax
push esi
push 0
mov eax, dword [0x100636b8]
push eax
push 1
mov eax, dword [ebp]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
test eax, eax
jne 0x1005717e
mov byte [esp], 0
push edi
call sub.gdi32.dll_DeleteDC
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x100636b8]
push eax
push 0
call sub.user32.dll_ReleaseDC
jmp 0x100572cf
push 0
mov eax, dword [0x100636bc]
push eax
mov eax, dword [0x100636c8]
push eax
push 1
push 0
mov eax, dword [esp + 0x20]
push eax
push edi
call sub.gdi32.dll_GetDIBits
mov eax, esi
imul dword [0x100636dc]
add eax, dword [0x100636c4]
mov dword [esp + 4], eax
mov eax, dword [0x100636c8]
mov dword [esp + 8], eax
xor ebx, ebx
cmp ebx, dword [ebp]
jge 0x100571f7
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edx, dword [esp + 8]
cmp eax, dword [edx]
je 0x100571e2
cmp dword [esp + 0x18], 0
jne 0x100571db
mov eax, ebx
sub eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x18], eax
add dword [esp + 4], 4
add dword [esp + 8], 4
add ebx, dword [0x100636d0]
cmp ebx, dword [ebp]
jl 0x100571bd
cmp dword [esp + 0x18], 0
jle 0x10057247
xor edx, edx
mov eax, dword [esp + 0x10]
call fcn.10056b04
mov dword [esp + 0x10], eax
mov edx, esi
sub edx, 0x13
xor eax, eax
call fcn.10056b04
mov dword [esp + 0x14], eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x18]
call fcn.10056b0c
mov dword [esp + 0x18], eax
lea edx, [esi + 0x13]
mov eax, dword [0x100636e0]
call fcn.10056b0c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
call fcn.100572dc
add esi, 0x13
cmp esi, dword [0x100636e0]
jl 0x10057106
cmp dword [0x100636ec], 0
jle 0x10057269
mov eax, 0x100636e4
call fcn.10056ed0
cmp dword [0x100636fc], 0
jle 0x1005727c
mov eax, 0x100636f4
call fcn.10056ed0
push edi
call sub.gdi32.dll_DeleteDC
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x100636b8]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [0x100636cc]
add eax, 3
mov ecx, 0x13
cdq
idiv ecx
mov dword [0x100636cc], edx
cmp dword [0x1006369c], 0
je 0x100572c8
xor eax, eax
call fcn.10056b14
xor eax, eax
mov dword [0x1006369c], eax
jmp 0x100572cf
push 0x1e
call sub.kernel32.dll_Sleep
mov al, byte [esp]
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret