Function at 0x10051af1
Capabilities:
Delete file
Get system information on windows

Disassembly:
mov eax, 0x1008684c
call fcn.100851f0
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 0xd], dl
push 3
lea ecx, [ebp - 0x80]
call fcn.1001a27b
xor esi, esi
lea ecx, [ebp - 0x8c]
push 4
mov dword [ebp - 4], esi
call fcn.1001a27b
xor ebx, ebx
lea ecx, [ebp - 0x98]
inc ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x20], ebx
push ebx
call fcn.1001a27b
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], esi
jmp 0x10051b4e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10051b42
mov dword [ebp - 0x14], esi
jmp 0x10051b6c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 0x141e4f1f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10051b59
mov dword [ebp - 0x14], esi
jmp 0x10051b8a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x98]
mov dword [eax + ecx*4], 0xde4bf748
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10051b77
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x98]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x8c]
or dword [eax + 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [eax], 0xfffffffd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], 0x34e401d9
call fcn.1001a2fd
lea ecx, [ebp - 0x8c]
call fcn.1001a2fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1001a2fd
cmp byte [ebp - 0xd], 0
je 0x10051f0a
push 4
pop edi
push edi
lea ecx, [ebp - 0x74]
call fcn.1001a27b
mov dword [ebp - 0x14], esi
jmp 0x10051c01
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10051bf5
mov dword [ebp - 0x14], esi
jmp 0x10051c19
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], 0x7632667a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10051c0b
mov dword [ebp - 0x5c], esi
jmp 0x10051c74
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], esi
jmp 0x10051c3e
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10051c32
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], ebx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x34]
add eax, 0xfffff405
imul ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setle dl
xor eax, eax
cmp edx, ebx
setl al
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 3
jle 0x10051c23
lea ecx, [ebp - 0x74]
call fcn.1001a2fd
mov dword [ebp - 0x1c], 0x136951ad
xor edx, edx
mov dword [ebp - 0x2c], 5
xor ecx, ecx
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x18], 0xa4f06702
mov dword [ebp - 0x38], 0xfffffffe
mov dword [ebp - 0x38], 0x7eed050b
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
push 3
setge cl
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
pop edi
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], edx
jl 0x10051efd
mov dword [ebp - 0x14], 0xdc1b6eab
mov dword [ebp - 0x30], 0xfffffff9
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x10051d15
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov dword [ebp - 0x2c], edx
jmp 0x10051eeb
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0x3c], 0x3cb4
cmp dword [ebp - 0x14], edx
jne 0x10051d82
cmp dword [ebp - 0x14], 0xffffffff
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub edx, eax
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
cmp ecx, 0xffff
mov ecx, 0xfda37b18
sbb eax, eax
inc eax
cmp ecx, eax
mov eax, dword [ebp - 0x4c]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x4c]
jge 0x10051d7d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
imul eax, dword [ebp - 0x38], 0xb6d4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x54]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
neg ecx
sub ecx, eax
je 0x10051ea6
mov dword [ebp - 0x44], 0x27
mov dword [ebp - 0x18], edx
jmp 0x10051dd6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x68], 0xffffffff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jl 0x10051dc8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
sub ecx, 0x146
neg ecx
sbb ecx, ecx
add eax, 4
inc ecx
add eax, ecx
jne 0x10051df6
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, 0xfffffffa
setle cl
cmp ecx, edx
jge 0x10051e17
xor esi, esi
mov edx, esi
cmp dword [ebp - 0x30], esi
je 0x10051e19
mov edx, ebx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setg cl
cmp ecx, 0xa1bd053a
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x38]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x44]
setg cl
xor edx, edx
cmp ecx, eax
setle dl
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x18], edx
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setle dl
xor ecx, ecx
imul edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
cmp edx, eax
setne cl
xor eax, eax
cmp ecx, 0x31b3dfa8
setge al
xor edx, edx
sub eax, dword [ebp - 0x44]
cmp eax, 6
mov eax, dword [ebp - 0x44]
setle dl
xor ecx, ecx
cmp edx, eax
setg cl
xor edx, edx
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], dl
je 0x10051ee2
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor edx, edx
jmp 0x10051ee2
mov dword [ebp - 0x14], edx
jmp 0x10051edc
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x10051ed6
push 0x1506
push edx
push edx
push edx
push edx
push 0xb6a
push 0x18b8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindowEx]
xor edx, edx
dec dword [ebp - 0x34]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x27
jle 0x10051eab
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], edi
jle 0x10051d1d
dec dword [ebp - 0x1c]
jns 0x10051cf5
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
jmp 0x10052012
xor edx, edx
mov dword [ebp - 0x3c], 0x1928c176
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], dl
je 0x10051f24
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x10051f3f
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x10051f4e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x40], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jl 0x10051f44
mov dword [ebp - 0x40], 0x14
jmp 0x10051f74
mov byte [ebp - 0xd], dl
cmp byte [ebp - 0xd], 0
je 0x10051f71
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor edx, edx
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffed
je 0x10051f5c
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], 0xddcd
mov dword [ebp - 0x18], edx
jmp 0x10051f97
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x28], edx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jl 0x10051f8d
cmp dword [ebp - 0x28], edx
je 0x10051fab
mov eax, dword [ebp - 0x28]
mov ecx, ebx
cmp dword [ebp - 0x28], edx
jne 0x10051fad
mov ecx, edx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x28]
jge 0x10051fc4
cmp dword [ebp - 0x28], edx
jne 0x10051fc6
mov ebx, edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x24]
setge cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x28]
setne dl
xor ecx, ecx
cmp edx, eax
setle cl
lea eax, [ecx - 8]
cmp dword [ebp - 0x24], eax
jg 0x10051ff9
xor esi, esi
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
jmp 0x10052007
mov dword [ebp - 0x3c], 0xffff
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret