Function at 0x42af60
Capabilities:
Capture screenshot
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x464761
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
lea eax, [esp + 0xe4]
mov edx, 0x1f4
mov ecx, 0x258
push eax
push esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x11c]
call fcn.00434d3c
push esi
lea ecx, [esp + 0x120]
mov byte [esp + 0x17c], 1
call fcn.004360c4
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0xac]
call fcn.0043b00f
lea ecx, [esp + 0x11c]
mov byte [esp + 0x178], 2
call fcn.00436100
mov esi, dword [sym.imp.USER32.dll_IsRectEmpty]
mov ebx, dword [esp + 0xac]
lea edx, [esp + 0xe4]
push edx
call esi
test eax, eax
jne 0x42b863
lea ecx, [esp + 0x10c]
push ecx
call esi
test eax, eax
je 0x42b09a
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 1
call fcn.0043b063
lea ecx, [esp + 0x11c]
mov byte [esp + 0x178], 0
call fcn.00436856
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42b8ad
mov edi, dword [esp + 0xec]
mov ebp, dword [esp + 0xf0]
sub edi, dword [esp + 0xe4]
sub ebp, dword [esp + 0xe8]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push edi
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push ebx
push ebp
push edi
push 0
push 0
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x18]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_RealizePalette]
push esi
mov dword [esp + 0x20], eax
call ebp
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push 0xe
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xc
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul edi, eax
push esi
call ebp
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp edi, 1
jg 0x42b164
mov edi, 1
jmp 0x42b181
cmp edi, 4
jg 0x42b170
mov edi, 4
jmp 0x42b181
xor ecx, ecx
cmp edi, 8
setg cl
dec ecx
and ecx, 0xfffffff0
add ecx, 0x18
mov edi, ecx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xf4]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0xf8]
mov eax, 1
mov word [esp + 0xc8], ax
movzx eax, di
mov dword [esp + 0x18], eax
imul eax, edx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0xc0], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, ecx
add eax, eax
xor esi, esi
add eax, eax
add eax, 0x28
push eax
push esi
mov dword [esp + 0xc4], 0x28
mov dword [esp + 0xcc], ecx
mov word [esp + 0xd2], di
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x58], eax
cmp eax, esi
jne 0x42b24e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x42b04b
mov ecx, dword [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
push eax
mov edi, eax
mov dword [esp + 0xac], eax
mov ecx, 0xa
lea esi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x104]
mov esi, dword [esp + 0x24]
add eax, 0x28
push eax
push edx
push 0
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call ebp
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0xf8]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, eax
add eax, eax
push 0x493e0
mov dword [esp + 0xa0], eax
call fcn.0044d03d
mov esi, eax
mov eax, 0x7c
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x188]
add esp, 4
cmp dword [eax - 4], 1
mov dword [esp + 0x48], esi
jle 0x42b314
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x188]
call fcn.00401e20
mov eax, dword [esp + 0x184]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0044bbfe
add esp, 8
mov edi, eax
mov dword [esp + 0x50], 0
call fcn.0042eec8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b346
push 0x80004005
call fcn.004020f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x178], 3
test edi, edi
je 0x42b7fb
mov ecx, dword [esp + 0x180]
push ecx
lea ecx, [esp + 0x24]
call fcn.00429e50
push edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.0042ca90
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x17c], 4
call fcn.00429e50
mov byte [esp + 0x178], 3
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b3cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
push 0x46ed60
push edi
call fcn.0044da46
lea ecx, [esp + 0x30]
push ecx
push 0
mov ebx, eax
call fcn.0044bbfe
add esp, 0x10
mov dword [esp + 0x74], eax
test ebx, ebx
je 0x42b8d8
push 0
push 0xe
push ebx
call fcn.0044dae7
add esp, 0xc
test eax, eax
jne 0x42b998
push ebx
push 1
lea edx, [esp + 0xc4]
push 0x28
push edx
call fcn.0044de0c
add esp, 0x10
test eax, eax
jbe 0x42b998
movzx eax, word [esp + 0xca]
mov ebp, dword [esp + 0xc0]
imul eax, ebp
mov ecx, dword [esp + 0xc4]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
add edi, edi
add edi, edi
mov eax, edi
imul eax, ecx
push ebx
push eax
push 1
push esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x94], edi
call fcn.0044de0c
push ebx
call fcn.0044dea0
mov eax, dword [esp + 0x110]
add esp, 0x14
cmp eax, dword [esp + 0x40]
jg 0x42b499
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xf8]
cmp eax, dword [esp + 0x44]
jg 0x42b4aa
mov dword [esp + 0x44], eax
movzx ecx, byte [esi + 1]
movzx edx, byte [esi]
mov dword [esp + 0x88], ecx
lea ecx, [ebp + ebp*2]
movzx eax, byte [ecx + esi - 2]
movzx ebx, byte [esi + 2]
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + esi - 3]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
dec eax
imul eax, edi
mov dword [esp + 0x8c], edx
movzx edx, byte [ecx + esi - 1]
add ecx, eax
movzx ebp, byte [ecx + esi - 1]
add ecx, esi
mov dword [esp + 0x18], ebp
movzx ebp, byte [ecx - 2]
movzx ecx, byte [ecx - 3]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x34], ecx
mov byte [esp + 0x17], 0
cmp ebx, edx
jne 0x42b573
movzx ecx, byte [eax + esi + 2]
cmp edx, ecx
jne 0x42b573
mov edx, dword [esp + 0x18]
cmp ecx, edx
jne 0x42b573
cmp edx, ebx
jne 0x42b573
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jne 0x42b573
movzx ecx, byte [eax + esi + 1]
cmp edx, ecx
jne 0x42b573
cmp ecx, ebp
jne 0x42b573
cmp ebp, ebx
jne 0x42b573
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x3c]
cmp ebx, edx
jne 0x42b573
movzx ecx, byte [eax + esi]
cmp edx, ecx
jne 0x42b573
mov edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x42b573
cmp edx, ebx
jne 0x42b573
mov byte [esp + 0x17], 1
cmp dword [esp + 0x40], 0
mov dword [esp + 0x64], 0
jle 0x42b7e3
mov ecx, dword [esp + 0x9c]
fld qword [0x46f208]
mov ebx, dword [esp + 0xfc]
fld1
fld dword [esp + 0x188]
dec ebx
mov edx, ecx
imul edx, ebx
neg ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
jle 0x42b7be
mov dword [esp + 0x6c], 0
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x80], ecx
jle 0x42b794
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x7c]
neg edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], eax
jmp 0x42b606
xor ecx, ecx
cmp dword [esp + 0x70], ecx
mov dword [esp + 0x30], ecx
jle 0x42b768
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], eax
cmp dword [esp + 0x54], 0
jl 0x42b768
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x68]
add ecx, edx
movzx edx, byte [eax + ecx + 1]
movzx edi, byte [eax + ecx]
add eax, ecx
movzx ecx, byte [eax + 2]
mov eax, dword [esp + 0x30]
lea eax, [eax + esi + 0xe]
lea esi, [ebx + eax*2]
add esi, eax
mov eax, dword [esp + 0xa4]
movzx esi, byte [esi + eax]
add ebp, ebx
add eax, ebp
cmp byte [esp + 0x17], 1
movzx ebp, byte [eax + 0x29]
movzx eax, byte [eax + 0x28]
mov dword [esp + 0x24], eax
jne 0x42b6a3
cmp ecx, dword [esp + 0xa0]
jne 0x42b6a3
cmp edx, dword [esp + 0x88]
jne 0x42b6a3
mov byte [esp + 0x16], 1
cmp edi, dword [esp + 0x8c]
je 0x42b6a8
mov byte [esp + 0x16], 0
cmp ecx, esi
jge 0x42b6b4
sub esi, ecx
mov dword [esp + 0x34], esi
jmp 0x42b6ba
sub ecx, esi
mov dword [esp + 0x34], ecx
cmp edx, ebp
jge 0x42b6c6
sub ebp, edx
mov dword [esp + 0x3c], ebp
jmp 0x42b6cc
sub edx, ebp
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x42b6dc
sub eax, edi
mov dword [esp + 0x24], eax
jmp 0x42b6e2
sub edi, eax
mov dword [esp + 0x24], edi
fld st(0)
fsubr st(2)
fmul st(3)
fild dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42b711
fild dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42b711
fild dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x42b72b
jmp 0x42b713
fstp st(0)
cmp byte [esp + 0x16], 1
je 0x42b72b
mov ecx, dword [esp + 0x18c]
cmp dword [esp + 0x4c], ecx
jg 0x42b794
inc dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
dec eax
cmp dword [esp + 0x80], eax
jne 0x42b748
mov edx, dword [esp + 0x70]
dec edx
cmp dword [esp + 0x30], edx
je 0x42b9bf
mov eax, dword [esp + 0x30]
mov ecx, 3
add dword [esp + 0x60], ecx
add dword [esp + 0x68], ecx
inc eax
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
jl 0x42b624
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
add ebx, dword [esp + 0x18]
add dword [esp + 0x78], ecx
dec dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
jl 0x42b604
mov eax, dword [esp + 0x38]
add dword [esp + 0x6c], 3
mov edi, dword [esp + 0x84]
inc eax
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
jl 0x42b5d2
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
dec dword [esp + 0x5c]
add dword [esp + 0x7c], edx
inc ecx
cmp ecx, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
jl 0x42b5b7
fstp st(0)
fstp st(0)
fstp st(0)
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x74]
inc dword [esp + 0x50]
test edi, edi
jne 0x42b366
mov edi, dword [esp + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call fcn.0044d1f5
mov ecx, dword [esp + 0x194]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x198]
add esp, 4
mov dword [ecx], 0xffffffff
push eax
mov dword [edx], 0xffffffff
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x178], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 1
call fcn.0043b063
lea ecx, [esp + 0x11c]
mov byte [esp + 0x178], 0
call fcn.00436856
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 0x18
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x78]
push 0x46ed64
push ecx
call fcn.0042cb70
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b91d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x178], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 1
call fcn.0043b063
lea ecx, [esp + 0x11c]
mov byte [esp + 0x178], 0
call fcn.00436856
mov dword [esp + 0x178], ebp
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b991
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x42b8bc
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [edi - 0x10]
mov byte [esp + 0x178], 2
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42b934
mov ecx, dword [esp + 0x38]
fstp st(0)
mov edx, dword [esp + 0x190]
fstp st(0)
mov eax, dword [esp + 0x64]
fstp st(0)
mov dword [edx], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x194]
push edx
mov dword [ecx], eax
call fcn.0044d1f5
mov esi, dword [esp + 0x5c]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x178], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 1
call fcn.0043b063
lea ecx, [esp + 0x11c]
mov byte [esp + 0x178], 0
call fcn.00436856
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
jmp 0x42b8bc