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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57be98
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xe0]
cmp eax, 1
jne 0x49fb1f
lea edi, [esi + 0xe4]
xor ebp, ebp
cmp edi, ebp
je 0x49fb24
cmp dword [edi + 4], ebp
jne 0x49fbbe
jmp 0x49fb24
cmp eax, 2
jne 0x49fb8a
mov eax, dword [esi + 0x100]
mov edx, dword [esi + 0x104]
mov ecx, dword [esi + 0x108]
mov dword [esp + 0x24], eax
add edx, eax
mov eax, dword [esi + 0x10c]
mov dword [esp + 0x28], ecx
add eax, ecx
mov ecx, dword [esi + 0xdc]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0xa8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xa4]
push ecx
push edx
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004a1fe0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
cmp eax, 3
jne 0x49fd31
mov eax, dword [esi + 0xac]
mov ecx, dword [esp + 0x5c]
add esi, 0xf0
push eax
push esi
call fcn.00566b08
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
lea ecx, [esp + 0x14]
call fcn.0055fdcc
mov edx, dword [esi + 0xe8]
lea ecx, [esp + 0x34]
push ecx
push 0x18
push edx
mov dword [esp + 0x60], ebp
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.0055fe83
cmp edi, ebp
jne 0x49fbf8
xor edi, edi
jmp 0x49fbfb
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x18]
push ebx
push edi
push eax
call fcn.0055ffc4
mov ebx, eax
mov al, byte [esi + 0xec]
test al, al
mov dword [esp + 0x14], ebx
je 0x49fcbd
mov eax, dword [esi + 0x10c]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x40]
cdq
idiv ebp
test eax, eax
jl 0x49fd09
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0x104]
xor edi, edi
cdq
idiv ebx
test eax, eax
jl 0x49fca1
mov ecx, ebp
mov edx, dword [esi + 0x108]
imul ecx, dword [esp + 0x10]
add ecx, edx
mov edx, ebx
imul edx, edi
mov eax, dword [esi + 0x100]
push 0xcc0020
add edx, eax
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x24]
push 0
push eax
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x104]
mov ebx, dword [esp + 0x3c]
cdq
idiv ebx
mov ebp, dword [esp + 0x40]
inc edi
cmp edi, eax
jle 0x49fc47
mov eax, dword [esi + 0x10c]
mov ecx, dword [esp + 0x10]
cdq
idiv ebp
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jle 0x49fc38
mov ebx, dword [esp + 0x14]
jmp 0x49fd09
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov ecx, dword [esi + 0x10c]
and eax, ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [esi + 0x104]
push 0xcc0020
mov edi, dword [esi + 0x108]
push ebp
mov ebp, dword [esp + 0x44]
mov esi, dword [esi + 0x100]
push ebp
push 0
push 0
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push edi
mov ecx, dword [eax + 4]
push esi
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
test ebx, ebx
jne 0x49fd11
xor eax, eax
jmp 0x49fd14
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.0055ffc4
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.0055ff01
pop ebx
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 4