joyce8/EMBER2024-capa huggingface dataset:
Function at 0x508904
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x508b64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x508967
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.005083cc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d6a4
cmp al, 1
jne 0x508967
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.005086e4
test al, al
je 0x508af3
cmp dword [ebp - 8], 0
jge 0x508985
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.005083cc
mov eax, dword [ebp - 0x210]
call fcn.004044a0
cmp ebx, eax
jge 0x5089cf
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.005083cc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x559c90]
and eax, 0xff
bt dword [edx], eax
jae 0x5089cf
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5089e3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005088e0
cmp ebx, dword [ebp - 8]
je 0x508ae5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x508a0f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035a8
and eax, 0x7f
movzx eax, word [eax*2 + 0x558a90]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x508ad2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035a8
and eax, 0x7f
movzx eax, word [eax*2 + 0x558a90]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00477a74
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035a8
and eax, 0x7f
movzx eax, word [eax*2 + 0x558a90]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00477a74
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508ad9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x508b46
cmp dword [ebp - 8], 0
jge 0x508afe
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.005083cc
mov eax, dword [ebp - 0x218]
call fcn.004044a0
cmp eax, dword [ebp - 8]
jg 0x508b38
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.005083cc
mov eax, dword [ebp - 0x21c]
call fcn.004044a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005088e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508b6b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404204
ret
Function at 0x516294
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffac
mov ebx, eax
push 0x51
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x51
call fcn.00404450
add esp, 0x54
pop ebx
ret
Function at 0x51c8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x20019
lea eax, [esp + 4]
push eax
mov eax, dword [0x559004]
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x51c928
push 0
push 0
push 0
push 0
push 0x51c934
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
push esi
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x51d7e8
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov esi, eax
test esi, esi
jne 0x51d7ff
mov eax, 4
jmp 0x51d9f1
mov al, byte [esi]
sub al, 1
jb 0x51d811
je 0x51d81d
dec al
je 0x51d845
sub al, 4
je 0x51d829
jmp 0x51d837
mov eax, esi
call fcn.0051d6c4
jmp 0x51d9f1
mov eax, esi
call fcn.0051d7b4
jmp 0x51d9f1
mov byte [esi + 1], 0
mov eax, 4
jmp 0x51d9f1
mov byte [esi + 1], 4
mov eax, 4
jmp 0x51d9f1
mov cl, byte [esi + 9]
mov dl, byte [esi + 8]
mov al, byte [esi + 2]
call fcn.0051d75c
mov ebx, eax
test bl, bl
jne 0x51d867
mov byte [esi + 1], 0x82
mov eax, 0x82
jmp 0x51d9f1
cmp byte [esi + 0x30], 0x12
jne 0x51d8b1
mov al, byte [esi + 2]
cmp al, byte [0x55b9dc]
jb 0x51d886
mov byte [esi + 1], 0x81
mov eax, 0x81
jmp 0x51d9f1
mov byte [esi + 1], 1
mov edx, dword [esi + 0x10]
xor eax, eax
mov al, bl
add eax, eax
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0x55b9ec]
mov ecx, 0x24
call fcn.0040292c
mov eax, 1
jmp 0x51d9f1
xor eax, eax
mov al, bl
mov edi, eax
add edi, edi
lea edi, [edi + edi*4]
cmp dword [edi*8 + 0x55b9e8], 0xffffffff
jne 0x51d8d9
mov al, byte [edi*8 + 0x55b9e3]
call fcn.0051d4a8
mov dword [edi*8 + 0x55b9e8], eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x50
call fcn.00402d20
mov al, byte [esi + 3]
test al, 8
je 0x51d8f7
mov byte [esp + 0xc], 1
jmp 0x51d907
test al, 0x10
je 0x51d902
mov byte [esp + 0xc], 0
jmp 0x51d907
mov byte [esp + 0xc], 2
mov word [esp + 4], 0x2c
mov al, byte [esi + 0x15]
mov byte [esp + 0xa], al
mov dl, byte [esi + 0x14]
mov byte [esp + 0xb], dl
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x78
mov edx, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x30
xor ecx, ecx
mov cl, al
lea edx, [esp + 0x20]
lea eax, [esi + 0x30]
call fcn.0040292c
mov ebp, 0x50
push 0
lea eax, [esp + 4]
push eax
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x18]
push eax
push 0x4d014
mov eax, dword [edi*8 + 0x55b9e8]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
cmp byte [esp + 6], 0
sete dl
test dl, al
je 0x51d98c
mov byte [esi + 1], 1
jmp 0x51d9a9
mov byte [esi + 1], 4
xor ecx, ecx
mov cl, byte [esp + 0xb]
lea edx, [esi + 0x40]
lea eax, [esp + 0x34]
call fcn.0040292c
mov al, byte [esp + 6]
mov byte [esi + 0x17], al
cmp byte [0x558aa8], 0
je 0x51d9ec
xor eax, eax
mov al, bl
add eax, eax
lea eax, [eax + eax*4]
cmp dword [eax*8 + 0x55b9e8], 0xffffffff
je 0x51d9ec
xor eax, eax
mov al, bl
mov edi, eax
add edi, edi
lea edi, [edi + edi*4]
mov eax, dword [edi*8 + 0x55b9e8]
push eax
call sub.kernel32.dll_CloseHandle
test eax, eax
je 0x51d9ec
mov dword [edi*8 + 0x55b9e8], 0xffffffff
xor eax, eax
mov al, byte [esi + 1]
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x51da58
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x51db73
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x558eb0], 0
je 0x51da81
xor ebx, ebx
jmp 0x51db55
mov byte [ebp - 5], 0
mov byte [0x558aa4], 0
mov eax, 0x55b9dc
xor ecx, ecx
mov edx, 0x874
call fcn.00402d20
mov bl, 0x1b
mov eax, 0x55b9e8
mov dword [eax], 0xffffffff
add eax, 0x50
dec bl
jne 0x51daa4
mov bl, 2
mov esi, 0x55ba80
lea eax, [ebp - 0xc]
mov edx, ebx
add dl, 0x41
call fcn.004043c8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x51db8c
call fcn.004044ec
lea eax, [ebp - 4]
call fcn.004046f8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp al, 5
jne 0x51dafb
mov edx, esi
mov eax, ebx
call fcn.0051d574
cmp byte [esi + 4], 0
je 0x51daff
inc byte [ebp - 5]
jmp 0x51daff
mov byte [esi + 1], 0x78
inc ebx
add esi, 0x50
cmp bl, 0x1b
jne 0x51dab8
call fcn.0051da34
mov byte [0x55b9dc], al
cmp byte [0x558aa4], 0
je 0x51db4b
mov bl, 0x19
mov eax, 0x55ba84
cmp byte [eax], 0
je 0x51db3a
cmp byte [eax - 2], 0xfa
jne 0x51db3a
mov byte [eax - 2], 0
mov dl, byte [0x55b9dc]
mov byte [eax - 4], dl
add eax, 0x50
dec bl
jne 0x51db22
call fcn.0051da34
mov byte [0x55b9dc], al
mov byte [0x558eb0], 1
mov bl, byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51db7a
lea eax, [ebp - 0xc]
call fcn.004041e0
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x532a8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x532b32
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0053bf08
mov eax, dword [ebp - 4]
mov edx, 0x532b48
call fcn.004045ec
je 0x532ae6
mov eax, dword [ebp - 4]
mov edx, 0x532b58
call fcn.004045ec
je 0x532ae6
mov eax, dword [ebp - 4]
mov edx, 0x532b68
call fcn.004045ec
je 0x532ae6
mov eax, dword [ebp - 4]
mov edx, 0x532b78
call fcn.004045ec
jne 0x532af4
push 1
push 0x532b80
call sub.kernel32.dll_WinExec
jmp 0x532b1c
mov dl, 1
mov eax, dword [ebx + 0x3b4]
call fcn.00471098
mov dl, 1
mov eax, dword [ebx + 0x36c]
call fcn.004379b4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x531934]
call fcn.00422f44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532b39
lea eax, [ebp - 4]
call fcn.004041e0
ret
Function at 0x5335dc
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff98
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, edi
call fcn.004041e0
lea eax, [esp + 0x5c]
xor ecx, ecx
mov edx, 0xc
call fcn.00402d20
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x64], 0xffffffff
xor eax, eax
mov dword [esp + 0x60], eax
push 0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
mov edx, eax
mov eax, ebx
call fcn.00533584
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d20
mov dword [esp + 8], 0x44
mov word [esp + 0x38], 0
mov dword [esp + 0x34], 0x101
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, esi
call fcn.004046a0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, eax
mov eax, ebx
call fcn.00533584
push 0xffffffffffffffff
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ecx, dword [esp]
mov dl, 1
mov eax, dword [0x417d6c]
call fcn.0041d1b8
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5336df
cmp eax, 0
jbe 0x533708
jmp 0x5336e1
jle 0x533708
mov dl, 1
mov eax, dword [0x417bc0]
call fcn.0040337c
mov esi, eax
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, esi
call fcn.004033ac
mov eax, ebx
call fcn.004033ac
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle
add esp, 0x68
pop edi
pop esi
pop ebx
ret
Function at 0x5379dc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404690
xor eax, eax
push ebp
push 0x537afa
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [0x5598b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x8c]
call fcn.0047e44c
mov edx, dword [ebp - 0x164]
call fcn.0042e908
mov ebx, eax
mov eax, dword [0x5598b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x90]
call fcn.0047e44c
mov edx, dword [ebp - 0x164]
call fcn.0042e908
mov eax, dword [ebp - 0x164]
push eax
call sub.user32.dll_DestroyIcon
test ebx, ebx
jge 0x537ae4
lea edx, [ebp - 4]
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.004917a8
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [0x5598b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x8c]
call fcn.0047e44c
mov edx, dword [ebp - 0x164]
call fcn.0042e908
mov ebx, eax
mov eax, dword [0x5598b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x90]
call fcn.0047e44c
mov edx, dword [ebp - 0x164]
call fcn.0042e908
mov eax, dword [ebp - 0x164]
push eax
call sub.user32.dll_DestroyIcon
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537b01
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x539ddc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x539ed4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402730
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x417bc0]
call fcn.0040337c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x539ea5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004043d8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov ecx, 0x539ee8
call fcn.004044ec
call fcn.0040ae54
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x18]
mov eax, 0x539f00
call fcn.0040bafc
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 8]
mov edx, 0x539f14
call fcn.004c508c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x539eac
mov eax, dword [ebp - 0x10]
call fcn.004033ac
mov eax, dword [ebp - 4]
call fcn.00402750
ret
Function at 0x53ae54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53af8c
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x53aeac
mov ecx, dword [0x559800]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d5214]
call fcn.00489830
mov edx, dword [0x559cc0]
mov dword [edx], eax
mov eax, dword [0x559cc0]
mov eax, dword [eax]
call fcn.0048db88
mov eax, dword [0x559cc0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, esi
call fcn.0053aa88
test al, al
je 0x53af49
test bl, bl
je 0x53aecb
mov eax, dword [0x559cc0]
mov eax, dword [eax]
call fcn.004033ac
push 0x44
mov ecx, 0x53af9c
mov edx, 0x53afb0
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.00491328
cmp eax, 6
jne 0x53af71
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402a58
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409494
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x53b04c
call fcn.004044ec
push 5
push 0x53b05c
push 0x53b05c
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
push 0x53b060
mov eax, dword [0x559800]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.00491284
jmp 0x53af71
test bl, bl
je 0x53af71
mov eax, dword [0x559cc0]
mov eax, dword [eax]
call fcn.004033ac
push 0x40
mov ecx, 0x53af9c
mov edx, 0x53b068
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.00491328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53af93
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404204
ret
Function at 0x53b754
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404690
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x53b8d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0049292c
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0049294c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x53b8a2
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404450
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004095b0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040863c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040863c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004045ec
je 0x53b874
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404450
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040863c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040863c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004045ec
jne 0x53b893
mov eax, dword [edi + 8]
call fcn.0053b2c0
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0049296c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x53b7d5
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b8dd
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404204
lea eax, [ebp - 4]
call fcn.004041e0
ret
Function at 0x53bcb8
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaac
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x53beb4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x540]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ecx, eax
lea edx, [ebp - 0x540]
lea eax, [ebp - 0x10]
call fcn.004042d0
lea edx, [ebp - 0x544]
mov eax, dword [ebp - 0x10]
call fcn.00408678
mov edx, dword [ebp - 0x544]
lea eax, [ebp - 0x10]
mov ecx, 0x53becc
call fcn.004044ec
xor edx, edx
mov eax, 0xf
call fcn.0049292c
mov edi, eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, edi
call fcn.0049294c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x53be62
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404450
lea edx, [ebp - 0x548]
xor eax, eax
call fcn.00402a58
mov eax, dword [ebp - 0x548]
lea edx, [ebp - 0x18]
call fcn.004095b0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.004045ec
jne 0x53bdd5
mov eax, dword [ebp - 0x128]
mov esi, eax
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
jmp 0x53be17
lea eax, [ebp - 0x550]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404450
mov eax, dword [ebp - 0x550]
lea edx, [ebp - 0x54c]
call fcn.00408678
mov eax, dword [ebp - 0x54c]
mov edx, 0x53bee4
call fcn.004045ec
jne 0x53be17
mov eax, dword [ebp - 0x138]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x554]
mov eax, dword [ebp - 0x14]
call fcn.00408678
mov eax, dword [ebp - 0x554]
mov edx, 0x53befc
call fcn.004045ec
jne 0x53be4f
mov bl, 1
mov eax, dword [ebp - 0x138]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x140]
mov eax, edi
call fcn.0049296c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x53bd80
test bl, bl
je 0x53be79
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp esi, dword [ebp - 8]
je 0x53be89
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53bebb
lea eax, [ebp - 0x554]
mov edx, 5
call fcn.00404204
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404204
ret
Function at 0x53bf08
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53c0ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004041e0
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x8c]
sub eax, 1
jb 0x53bf5d
je 0x53bf6f
dec eax
je 0x53bfbf
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c0d0
call fcn.00404278
jmp 0x53c095
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x53bf89
sub eax, 9
je 0x53bf9b
sub eax, 0x50
je 0x53bfad
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c0e0
call fcn.00404278
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c0f0
call fcn.00404278
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c100
call fcn.00404278
jmp 0x53c095
mov eax, dword [ebp - 0x98]
cmp eax, 4
ja 0x53bfdc
lea eax, [ebp - 4]
mov edx, 0x53c110
call fcn.00404278
jmp 0x53c095
cmp eax, 5
jne 0x53c026
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x53bff6
je 0x53c008
dec eax
je 0x53c017
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c120
call fcn.00404278
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c130
call fcn.00404278
jmp 0x53c095
lea eax, [ebp - 4]
mov edx, 0x53c140
call fcn.00404278
jmp 0x53c095
cmp eax, 6
jne 0x53c095
call fcn.004a72f4
test al, al
je 0x53c043
lea eax, [ebp - 8]
mov edx, 0x53c150
call fcn.00404278
jmp 0x53c050
lea eax, [ebp - 8]
mov edx, 0x53c15c
call fcn.00404278
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x53c05f
je 0x53c07b
jmp 0x53c095
push 0x53c168
push dword [ebp - 8]
push 0x53c17c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404560
jmp 0x53c095
push 0x53c188
push dword [ebp - 8]
push 0x53c17c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404560
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53c0c1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404204
ret