Function at 0x59e520
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
call fcn.0059d5c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, dword [eax]
call dword [edx + 0x80]
push 0x6e
push 0
xor ecx, ecx
mov edx, 0x59e8f4
mov eax, dword [0x590870]
call fcn.00591880
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x457284]
call fcn.00457e80
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x59e8dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x138], 0
je 0x59e64b
mov eax, dword [ebp - 4]
call fcn.0063d0e0
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
fdiv qword [eax + 0xf8]
call fcn.00404f58
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
call fcn.0063d100
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
fdiv qword [eax + 0xf8]
call fcn.00404f58
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
fild dword [eax + 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
fdiv qword [eax + 0xf8]
call fcn.00404f58
neg eax
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
fild dword [eax + 0xe4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
fdiv qword [eax + 0xf8]
call fcn.00404f58
neg eax
pop edx
pop ecx
call fcn.00431820
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, dword [eax + 0xec]
mov eax, dword [ebp - 8]
call fcn.004583e0
jmp 0x59e6c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
add eax, 0x108
call fcn.0040b604
test al, al
jne 0x59e68a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
lea ecx, [eax + 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, dword [eax + 0xec]
mov eax, dword [ebp - 8]
call fcn.004583e0
jmp 0x59e6a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, dword [eax + 0xec]
mov eax, dword [ebp - 8]
call fcn.00458f50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
call fcn.0059d4c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 8]
imul ecx, dword [edx + 8]
pop edx
call fcn.00457c20
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x59e8bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x59e730
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59e934
call fcn.0043f240
call fcn.00406244
call fcn.00406244
jmp 0x59e8e3
xor eax, eax
push ebp
push 0x59e89f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x59e785
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59e968
call fcn.0043f240
call fcn.00406244
call fcn.00406244
call fcn.00406244
jmp 0x59e8e3
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
test eax, eax
jne 0x59e7e8
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59e9a4
call fcn.0043f240
call fcn.00406244
call fcn.00406244
call fcn.00406244
jmp 0x59e8e3
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x59e81a
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59e9d4
call fcn.0043f240
call fcn.00406244
call fcn.00406244
call fcn.00406244
jmp 0x59e8e3
xor eax, eax
push ebp
push 0x59e881
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x14]
push eax
push 2
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x59e86e
mov eax, dword [0x653d30]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59e9fc
call fcn.0043f240
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
call fcn.00406244
call fcn.00406244
call fcn.00406244
call fcn.00406244
jmp 0x59e8e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e888
call sub.user32.dll_CloseClipboard
ret
mov esp, ebp
pop ebp
ret