Function at 0x4edb30
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004eda70
push 0
call dword [0x5f6108]
mov esi, dword [0x5f6088]
push 0xe
push eax
mov dword [esp + 0x1c], eax
call esi
mov edi, eax
mov eax, dword [esp + 0x14]
push 0xc
push eax
call esi
imul edi, eax
mov eax, dword [0x64c124]
cmp eax, 9
je 0x4edb89
push eax
call fcn.00402090
movsx ecx, al
add esp, 4
cmp ecx, edi
je 0x4edc9c
lea eax, [edi - 1]
cmp eax, 0x17
ja case.0x4edb9c.3
movzx edx, byte [eax + 0x4edee0]
jmp dword [edx*4 + 0x4edec4]
mov dword [0x64c124], 0
jmp 0x4edc9c
mov dword [0x64c124], 1
jmp 0x4edc9c
mov dword [0x64c124], 2
jmp 0x4edc9c
mov dword [0x64c124], 3
jmp 0x4edc9c
xor eax, eax
mov ecx, 0x1b
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push eax
mov dword [esp + 0x1c], 0x6c
call dword [0x5f6498]
push 1
mov edi, eax
push 1
push edi
call dword [0x5f60f8]
push 0
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0
push 1
push 0
push esi
push edi
call dword [0x5f60fc]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 1
push 0
push esi
push edi
call dword [0x5f60fc]
push esi
call dword [0x5f6124]
push edi
push 0
call dword [0x5f649c]
cmp word [esp + 0x26], 0x10
jne 0x4edc7a
cmp dword [esp + 0x28], 3
jne 0x4edc7a
cmp dword [esp + 0x40], 0xf800
jne 0x4edc7a
cmp dword [esp + 0x44], 0x7e0
jne 0x4edc7a
cmp dword [esp + 0x48], 0x1f
jne 0x4edc7a
mov dword [0x64c124], 5
jmp 0x4edc9c
mov dword [0x64c124], 4
jmp 0x4edc9c
mov dword [0x64c124], 6
jmp 0x4edc9c
mov dword [0x64c124], 7
mov edx, dword [0x64c124]
mov eax, edx
push eax
mov dword [ebx + 4], edx
mov dword [ebx + 0x10], 1
call fcn.00402090
add esp, 4
cmp al, 8
jg 0x4edd9c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x18]
push eax
call fcn.00402110
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x4edd11
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0xf98]
call fcn.00505010
mov ecx, 0x101
mov esi, 0x682638
lea edi, [esp + 0x88]
push 0
lea eax, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00402560
test eax, eax
mov dword [ebx + 8], eax
jne 0x4edd1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [eax + 4]
lea eax, [eax*4 + 0x28]
push eax
call fcn.005ddbe0
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x18], eax
mov edx, dword [ecx + 4]
add esp, 4
xor eax, eax
test edx, edx
jle 0x4edda9
mov edi, 0x28
lea edx, [esp + 0x8d]
sub edi, edx
lea esp, [esp]
mov dl, byte [esp + eax*4 + 0x8e]
mov ecx, dword [ebx + 0x18]
mov byte [ecx + eax*4 + 0x2a], dl
mov ecx, dword [ebx + 0x18]
mov dl, byte [esp + eax*4 + 0x8d]
lea esi, [esp + eax*4 + 0x8d]
mov byte [ecx + eax*4 + 0x29], dl
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov al, byte [esi - 1]
lea ecx, [edi + esi]
mov byte [ecx + edx], al
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x10]
mov byte [ecx + eax*4 + 0x2b], 0
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
cmp eax, ecx
jl 0x4edd50
jmp 0x4edda9
push 0x34
call fcn.005ddbe0
add esp, 4
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp + 8]
mov dword [eax], 0x28
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
mov eax, dword [ebp + 0xc]
jne 0x4eddc9
neg eax
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0x18]
mov word [edx + 0xc], 1
mov eax, dword [ebx + 4]
push eax
call fcn.00402090
mov edx, dword [ebx + 0x18]
movsx cx, al
mov word [edx + 0xe], cx
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x10], edi
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 0x14], edi
mov edx, dword [ebx + 0x18]
mov dword [edx + 0x18], edi
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x1c], edi
mov eax, dword [ebx + 8]
add esp, 4
cmp eax, edi
je 0x4ede13
mov eax, dword [eax + 4]
jmp 0x4ede15
xor eax, eax
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x4ede27
mov eax, dword [eax + 4]
jmp 0x4ede29
xor eax, eax
mov edx, dword [ebx + 0x18]
mov dword [edx + 0x24], eax
cmp dword [ebx + 4], 5
jne 0x4ede59
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x10], 3
mov eax, dword [ebx + 0x18]
add eax, 0x28
mov dword [eax], 0xf800
mov dword [eax + 4], 0x7e0
mov dword [eax + 8], 0x1f
mov ecx, dword [ebx + 0x18]
push edi
push edi
lea esi, [ebx + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x24]
push ecx
push edi
call dword [0x5f6100]
test eax, eax
mov dword [ebx + 0x14], eax
jne 0x4ede78
mov dword [esi], eax
push edi
call dword [0x5f6104]
mov eax, dword [ebx + 0x14]
lea edx, [ebx + 0x20]
push edx
push 0x18
push eax
call dword [0x5f60d0]
test eax, eax
jne 0x4ede9a
mov ecx, ebx
call fcn.004eda70
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x14]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 2
mov dword [ebx + 0x3c], eax
pop edi
xor eax, eax
test ecx, ecx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8