joyce8/EMBER2024-capa huggingface dataset:
Function at 0x558480
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
push 0x50
mov esi, ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jle 0x5585e8
push dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.00595780
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x2c]
push eax
push dword [esi + 4]
movdqa xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call fcn.00595890
movdqa xmm2, xmmword [esp + 0x14]
add esp, 4
movdqa xmm0, xmm2
movd eax, xmm2
psrldq xmm0, 8
movd ecx, xmm0
fstp dword [esp + 0xc]
mov edx, dword [sym.imp.USER32.dll_IsZoomed]
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
cvttss2si edi, xmm0
movdqa xmm0, xmm2
psrldq xmm2, 4
psrldq xmm0, 0xc
movd ecx, xmm0
movd eax, xmm2
sub ecx, eax
movd xmm0, ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
lea eax, [edi + 0x14]
cmp ecx, eax
jle 0x558592
cmp byte [esi + 0x10], 0
jne 0x558592
push dword [esi + 4]
call edx
test eax, eax
jne 0x55858c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x10]
lea eax, [edi - 0x14]
push eax
push dword [esp + 0x34]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov ecx, esi
call fcn.00558240
mov edx, dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
sub ecx, dword [esp + 0x30]
add eax, 0x50
cmp ecx, eax
jle 0x5585e8
cmp byte [esi + 0x10], 0
jne 0x5585e8
push dword [esi + 4]
call edx
test eax, eax
jne 0x5585e8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0xc]
mov ecx, esi
add eax, 0xffffffec
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x38]
push dword [esp + 0x34]
add eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub edx, eax
push edx
call fcn.005582f0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret
Function at 0x55ace0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x55acf5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x55ad00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x55ad00
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x55ad80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x55ad99
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x55ada5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x55ada0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55c140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634806
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x55c1ec
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x55c1ec
call fcn.0055a610
mov esi, eax
jmp 0x55c2dc
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x55c20f
call fcn.0055a610
jmp 0x55c2cf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x55c22d
call fcn.0055a610
jmp 0x55c2cf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x55c24e
mov esi, 0x8007000e
jmp 0x55c2d1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0055a5c0
jmp 0x55c278
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x55c28f
mov esi, 0x8007000e
jmp 0x55c2d1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x55c2af
call fcn.0055a610
jmp 0x55c2cf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0055bfe0
mov esi, eax
test edi, edi
je 0x55c2dc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x55c300
lea ecx, [ebp - 0x418]
call fcn.0055a570
jmp 0x55c300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55ead0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6199cb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004499d0
push dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
call fcn.0055ed00
mov dword [ebp - 4], 1
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00449bd0
mov ecx, esi
call fcn.00449b50
lea ecx, [esi + 0xc]
call fcn.00449be0
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.0055ec50
add esp, 0x30
cmp ebx, eax
je 0x55eba4
push eax
mov ecx, ebx
call fcn.00449c30
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x55ebd0
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x55ebd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x55ebd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x567510
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov bl, byte [0x700e48]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xf4]
call eax
mov edx, dword [ebp + 8]
test al, al
jne 0x567562
mov eax, dword [edx]
cmp eax, 8
jle 0x567562
cmp eax, 0x13
jge 0x567562
test bl, bl
jne 0x567562
mov ecx, dword [edi + 0x60]
push edx
test ecx, ecx
je 0x567751
mov eax, dword [ecx]
call dword [eax + 0x124]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx]
cmp eax, 0xd
jne 0x5675d1
test bl, bl
jne 0x5675d1
push dword [edx + 0x10]
lea eax, [edi + 0x174]
push dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x567758
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x567758
or dword [edi + 0x7e8], 0x50
lea esi, [edi + 0x1830]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi]
mov ecx, edi
mov dword [edi + 0x1838], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x183c], eax
call fcn.005d25b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 9
jne 0x56767f
test bl, bl
jne 0x56767f
test byte [edi + 0x7e8], 0x40
je 0x567758
push dword [edx + 0x10]
lea eax, [edi + 0x174]
push dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x56760f
or dword [edi + 0x7e8], 0x10
jmp 0x567616
and dword [edi + 0x7e8], 0xffffffef
cmp dword [edi + 0x1830], 0
je 0x56766f
cmp dword [edi + 0x1834], 0
je 0x56766f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x1818]
sub eax, dword [edi + 0x1834]
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0x1830]
push eax
call fcn.004951b0
mov eax, dword [esp + 0x10]
mov dword [edi + 0x1830], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1834], eax
mov byte [edi + 0x1840], 1
mov ecx, edi
call fcn.005d25b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xe
jne 0x567750
test bl, bl
jne 0x567750
test byte [edi + 0x7e8], 0x40
je 0x567758
push dword [edx + 0x10]
lea eax, [edi + 0x174]
push dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x567706
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x567706
cmp byte [edi + 0x1840], bl
je 0x5676ff
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
sub eax, dword [edi + 0x1838]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x567706
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0x183c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x567706
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
and dword [edi + 0x7e8], 0xffffffaf
mov ecx, edi
mov dword [edi + 0x1830], 0
mov eax, dword [edi + 0x1830]
mov dword [edi + 0x1834], 0
mov dword [edi + 0x1838], eax
mov eax, dword [edi + 0x1834]
mov dword [edi + 0x183c], eax
mov byte [edi + 0x1840], 0
call fcn.005d25b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edx
mov ecx, edi
call fcn.005d64c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x56a280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616ed9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00414cd0
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00414cd0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00414cd0
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00414cd0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x64]
push eax
call fcn.00414cd0
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov al, byte [esi + 0x80]
mov byte [edi + 0x80], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x57f420
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x725520], ecx
inc eax
cmp eax, 0x100
jb 0x57f423
cmp eax, 0x800
jae 0x57f4f3
nop
mov edx, dword [eax*4 + 0x725120]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x725520]
mov dword [eax*4 + 0x725520], edx
inc eax
cmp eax, 0x800
jb 0x57f4d0
mov dword [0x727520], 0x580f50
mov dword [0x725508], 0x580f50
mov dword [0x727524], 0x580ff0
call fcn.00581200
mov ecx, dword [0x725508]
test eax, eax
mov edx, 0x580ff0
cmove ecx, edx
mov dword [0x725508], ecx
pop ecx
ret
Function at 0x5842c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x5842e6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x58430f
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x58430f
inc eax
cmp eax, edx
jb 0x584300
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x5843f2
cmp ecx, 2
jbe 0x5843b2
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x5843e4
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x58438c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x584387
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x5842f2
shr esi, cl
test esi, esi
je 0x58432c
cmp esi, 4
ja 0x5843d9
cmp esi, 3
je 0x5843d9
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x58432c
or esi, 8
shr esi, 1
inc edi
jmp 0x5842f2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x5842f2
cmp ecx, 2
jbe 0x584407
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x58b1e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041b030
mov ecx, dword [ebp - 4]
push ecx
push 0x58b140
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x58b214
xor eax, eax
jmp 0x58b222
mov ecx, dword [ebp - 4]
call fcn.005861c0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x58b310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x58b34d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x58bd00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x58b35f
mov dword [ebp - 8], 1
jmp 0x58b366
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x591620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x591685
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x591692
mov al, 1
jmp 0x591694
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret

Function at 0x5916b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6d8464], 0xffffffff
je 0x5916ed
cmp dword [0x6d8464], 0
je 0x5916de
mov byte [ebp - 0x121], 1
jmp 0x5916e5
mov byte [ebp - 0x121], 0
mov al, byte [ebp - 0x121]
jmp 0x591768
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x59171f
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x59175c
cmp dword [ebp - 0x118], 1
jne 0x59175c
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x59175c
mov dword [0x6d8464], 1
push str.is_win7
push 0x4c
push str.utility::usystem::isWin7
call fcn.00584a40
add esp, 0xc
mov al, 1
jmp 0x591768
mov dword [0x6d8464], 0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret
Function at 0x591b10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x653178
push 0x653128
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x591b3f
lea eax, [ebp - 0x28]
push eax
call dword [ebp - 4]
jmp 0x591b49
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x28]
cmp edx, 9
je 0x591b5b
movzx eax, word [ebp - 0x28]
cmp eax, 6
jne 0x591b5f
mov al, 1
jmp 0x591b61
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x591eb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x591ec7
mov dword [ebp - 8], 1
jmp 0x591ece
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.00414c90
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x591f0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x591f0f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x591f0f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x591f12
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x592000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x6532e0
mov ecx, dword [ebp + 8]
call fcn.00414c90
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x592071
push 5
push 0
mov ecx, dword [ebp + 8]
call fcn.00414c90
push eax
push str.iexplore.exe
push 0x6532a4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x592460
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6387c6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jbe 0x59259e
mov dword [ebp - 0x24c], 0
jmp 0x5924c9
mov ecx, dword [ebp - 0x24c]
add ecx, 1
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
cmp edx, dword [ebp - 0x254]
jae 0x59259e
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
je 0x592599
mov ecx, dword [ebp - 0x250]
and ecx, 0x10
je 0x59255f
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x248]
call fcn.00415d10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004558d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004148d0
jmp 0x592599
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00415d10
mov dword [ebp - 4], 1
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.004558d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004148d0
jmp 0x5924ba
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret