joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4171be
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0c9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x4df350]
push ebx
push esi
push edi
mov ebx, 0x4df350
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x24], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x206
lea eax, [esp + 0x2e]
push edi
mov dword [esp + 0x244], edi
push eax
mov word [esp + 0x34], di
call fcn.0048c840
add esp, 0xc
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00408167
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00408167
push 0x2e
lea esi, [esp + 0x14]
call fcn.00407e72
cmp eax, 0xffffffff
je 0x417298
mov ecx, eax
lea edx, [esp + 0x18]
mov eax, esi
call fcn.00407de6
mov edi, esi
mov byte [esp + 0x23c], 1
call fcn.0040805e
mov byte [esp + 0x23c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00405148
xor edi, edi
call fcn.00405383
lea eax, [esp + 0x20]
call fcn.004173f6
mov byte [esp + 0x23c], 2
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], edi
je 0x4173f0
call fcn.00405383
mov ecx, eax
call fcn.0040598c
fstp dword [esp + 0x14]
mov eax, dword [0x4df350]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
fld dword [esp + 0x14]
push 0x4be558
push ecx
push ecx
mov byte [esp + 0x248], 3
fstp qword [esp]
push dword [ebp + 8]
fld dword [esp + 0x24]
lea eax, [esp + 0x2c]
push dword [esp + 0x20]
push ecx
push ecx
fstp qword [esp]
push dword [esp + 0x3c]
push str._s_.1f_s_d__.1f._s
call fcn.0040818d
add esp, 0x24
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4173e4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
je 0x4173da
mov esi, dword [ebp + 0xc]
push edi
lea eax, [esp + 0x1c]
push eax
push ebx
lea eax, [ebx + 0xa]
push eax
mov dword [esp + 0x28], edi
call fcn.00407b90
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x4173d1
cmp dword [esp + 0x18], ebx
jne 0x4173d1
mov eax, ebx
call fcn.00407b77
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00405148
xor esi, esi
inc esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00405148
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00405148
mov ecx, dword [esp + 0x234]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov edx, esi
call fcn.004051bd
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00405148
mov esi, dword [esp + 0x24]
jmp 0x4173a0
Function at 0x41c4d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
inc ebx
cmp eax, 0xf
push edi
mov esi, ecx
jne 0x41c508
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xbc]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x41c53f
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x41c560
push dword [esi + 0x10]
mov dword [esi + 0xbc], ebx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x41c539
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c539
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xbc], 0
jne 0x41c4ff
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424fd2
jmp 0x41c501
cmp eax, 0x47
jne 0x41c585
push dword [ebp + 0x14]
lea edi, [esi + 0xbc]
mov eax, esi
mov dword [edi], ebx
call fcn.0041c5dd
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x41c4fd
cmp eax, 0x18
jne 0x41c53f
push dword [ebp + 0x10]
mov dword [esi + 0xbc], ebx
call fcn.0041c6b4
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x41c5bd
push dword [esi + 8]
jmp 0x41c5b3
mov ecx, dword [eax + 0x34]
shr ecx, 3
not ecx
test bl, cl
je 0x41c5c7
push dword [eax + 8]
call fcn.00407abb
cmp eax, edi
pop ecx
jne 0x41c5a4
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.004070c4
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0xbc], edi
jne 0x41c4ff
jmp 0x41c53f
Function at 0x425390
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4aeb6a
call fcn.004acfc0
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi], vtable.CBkWindow.0
call fcn.00407873
push 0x4e0000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00407873
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00407873
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.004254bd
push 0x4e0000
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 4], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
lea esi, [edi + 0x28]
mov ecx, 0x4df350
call fcn.004079e9
xor ebx, ebx
lea esi, [edi + 0x40]
mov ecx, 0x4df350
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
call fcn.004079e9
lea esi, [edi + 0x48]
mov ecx, 0x4df350
mov dword [edi + 0x44], ebx
call fcn.004079e9
lea esi, [edi + 0x4c]
mov ecx, 0x4df350
call fcn.004079e9
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
or dword [edi + 0x64], 0xffffffff
lea eax, [edi + 0x14]
push eax
mov dword [edi + 0x58], ebx
mov word [edi + 0x5c], bx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], 1
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x428579
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.00442cda
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x42858a
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x14]
push 0x476d4e
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
call fcn.0048eee6
add esp, 0x18
ret

Function at 0x4286eb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x428704
mov eax, dword [ebp - 4]
jmp 0x4287de
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4287b9
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bdfe0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4bdfe0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bdfe0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4bdfe0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bdfe0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4bdfe0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bdfe0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4bdfe0]
dec ebp
jne 0x428723
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4287d5
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4bdfe0]
dec ecx
jne 0x4287c3
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42888c
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.0048c840
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x428a0d
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x428a3d
push 0x98
call fcn.00442cda
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x428a30
call fcn.0042888c
mov eax, ebx
jmp 0x428a32
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x428a3d
xor eax, eax
jmp 0x428ab3
push ebp
push 0x4c0164
push dword [esp + 0x14]
call fcn.0048ffd6
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x428a58
xor eax, eax
jmp 0x428ab2
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x428a6c
push ebx
call fcn.00478ace
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.00490285
add esp, 0x10
cmp eax, esi
je 0x428a9d
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.004288c4
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.00490285
add esp, 0x10
test eax, eax
jne 0x428a7f
push ebp
call fcn.00490312
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0042895b
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x428ab8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0048c840
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00428b1a
push dword [ebp + 8]
mov eax, esi
call fcn.00428bb0
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43001d
Capabilities:
Get proxy

Disassembly:
mov eax, 0x4af657
call fcn.004acfc0
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], 0x104
mov esi, 0x206
push esi
lea eax, [ebp - 0x22a]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x22c], bx
call fcn.0048c840
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.0048c840
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov edi, SysReAllocString
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp eax, ebx
jne 0x4300c1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push str.ProxyEnable
lea eax, [ebp - 0x10]
push eax
call fcn.00407cd4
cmp dword [ebp - 0x10], ebx
je 0x4300c1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
je 0x4300d5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x430206
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edi
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x430206
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push str.ProxyServer
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x22c]
call fcn.00410ec0
cmp eax, ebx
jne 0x4301f8
cmp word [ebp - 0x22c], bx
je 0x4301f8
mov eax, edi
push 0x104
push eax
call fcn.00491536
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.0048ea8d
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x43017d
mov dword [esi], 3
push edi
call fcn.0048c8bf
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.004314b0
jmp 0x4301b6
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.0048ea8d
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x430162
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.0048fac0
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00408124
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0043021a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405148
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4301f8
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x430206
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x430a3a
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x430a52
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x430a42
ret 8
Function at 0x43296d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x4329fb
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x4329a4
cmp dword [ebp - 8], 2
jne 0x4329fa
push esi
mov esi, dword [ebp + 0xc]
call fcn.00407d14
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00407f07
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x4329e2
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4329f2
push eax
call fcn.0048c8bf
pop ecx
mov edx, esi
call fcn.00406080
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x432ff6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esi], eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43307f
push ebx
call fcn.00478ace
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x433070
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c0af0
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x433070
cmp dword [ebp - 0xc], ebx
je 0x433070
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x43307f
push dword [ebp - 4]
call fcn.0048c8ba
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x43314f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4af5f9
call fcn.004acfc0
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4df350
mov dword [ebp - 0x10], edi
call fcn.004079e9
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.0048c840
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00408167
push esi
call fcn.004330bb
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43329d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0048c840
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x4332f6
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x4333ac
mov eax, dword [ebp - 0x94]
dec eax
je 0x433398
dec eax
jne 0x4333ac
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x433345
cmp dword [ebp - 0x9c], edx
jne 0x43332f
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x433394
cmp dword [ebp - 0x9c], edi
jne 0x43337d
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x433394
cmp eax, 5
jne 0x43336f
cmp dword [ebp - 0x9c], 2
jne 0x433356
push eax
jmp 0x433376
cmp dword [ebp - 0x9c], 1
jne 0x433363
mov edi, ecx
jmp 0x4333ac
cmp dword [ebp - 0x9c], edi
jne 0x4333ac
push 3
jmp 0x433376
cmp eax, 4
ja 0x433379
push 4
pop edi
jmp 0x4333ac
cmp eax, ecx
jb 0x4333ac
cmp dword [ebp - 0x9c], 2
jae 0x43338a
cmp eax, ecx
jbe 0x4333ac
cmp byte [ebp + 0x76], dl
jne 0x4333ac
call fcn.004331d2
mov edi, eax
jmp 0x4333ac
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x43363a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x43365f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x433720
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.0048c840
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4336cf
lea eax, [ebp - 0x20c]
push 0x4c0c70
push eax
call fcn.0048e991
test eax, eax
pop ecx
pop ecx
je 0x4336c3
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x433699
jmp 0x4336d8
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x4336d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4336fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43371f
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x433719
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x433805
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x433817
or eax, 0xffffffff
leave
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0048c840
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43385a
cmp dword [ebp - 0x110], 5
jne 0x43385a
cmp dword [ebp - 0x10c], 0
je 0x433867
push esi
call fcn.00433723
test eax, eax
pop ecx
jne 0x433867
leave
ret
push esi
call fcn.0043363a
pop ecx
leave
ret

Function at 0x433870
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x433930
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4338d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43392f
push edi
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 2
push dword [ebp + 8]
call esi
test eax, eax
je 0x433923
cmp dword [edi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x433923
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43391f
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 8
cmp eax, dword [edi]
jb 0x433901
jmp 0x433923
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x43392e
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 8], ebx
pop ebx
je 0x43393f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 1]
leave
ret
Function at 0x433944
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x4339b2
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0048c840
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4339ac
cmp dword [ebp - 0x118], 6
jne 0x4339ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4339e7
mov dword [esi], edi
xor eax, eax
jmp 0x4339e7
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], edi
push ebx
mov ebx, 0x490
jbe 0x4339de
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x4339d4
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x4339c5
jmp 0x4339de
imul eax, eax, 0xc
mov eax, dword [eax + ecx]
mov dword [esi], eax
xor ebx, ebx
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
pop ebx
pop edi
leave
ret

Function at 0x433bd2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ae423
call fcn.004acfc0
sub esp, 0xc
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
call fcn.00433c5c
add esp, 0xc
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x433c39
mov eax, esi
push dword [eax]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00426238
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405148
test bl, bl
jne 0x433c40
inc edi
lea eax, [esi + edi*4]
cmp dword [eax], 0
jne 0x433c01
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405148
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret