joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b74c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004038b8
mov dword [ebp - 0x3c], 0x3c
call fcn.0041bd0c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
test edi, edi
jns 0x44b78f
call fcn.00403edc
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb eax, eax
inc eax
and eax, 0x7f
cmp eax, 1
jbe 0x44b7ae
call fcn.00403edc
call fcn.00446dcc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bc6c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44be62
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThreadId_1
mov ebx, eax
mov eax, dword [0x5663a8]
cmp dword [eax], 0
jne 0x44bcbc
mov eax, dword [0x5663a8]
mov dword [eax], ebx
lea eax, [ebp - 4]
mov edx, 0x44be78
call fcn.004050c4
jmp 0x44bcde
mov eax, dword [0x5663a8]
cmp ebx, dword [eax]
jne 0x44bcd4
lea eax, [ebp - 4]
mov edx, 0x44be78
call fcn.004050c4
jmp 0x44bcde
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0044bc08
cmp dword [0x66b454], 0
jne 0x44bd37
cmp dword [0x66b450], 0
jne 0x44bd37
call fcn.00466718
push edx
push eax
mov eax, 0x66b450
call fcn.0044bbf0
mov eax, dword [0x66b450]
mov dword [0x66b458], eax
mov eax, dword [0x66b454]
mov dword [0x66b45c], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x44bda0
call fcn.00466718
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0044bbf0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [0x66b450]
sbb edx, dword [0x66b454]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [0x66b458]
sbb edx, dword [0x66b45c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [0x66b458], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x66b45c], eax
push 0x44be88
push dword [ebp - 4]
push 0x44be94
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
call fcn.0044bc38
push dword [ebp - 0x34]
push 0x44bea0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
call fcn.0044bc38
push dword [ebp - 0x38]
push 0x44beac
lea eax, [ebp - 8]
mov edx, 7
call fcn.004053cc
mov eax, dword [ebp - 8]
call fcn.00405308
cmp eax, 0x19
jge 0x44be22
push dword [ebp - 8]
mov eax, dword [ebp - 8]
call fcn.00405308
mov edx, 0x19
sub edx, eax
lea ecx, [ebp - 0x3c]
mov al, 0x20
call fcn.004057f8
push dword [ebp - 0x3c]
push esi
lea eax, [ebp - 8]
mov edx, 3
call fcn.004053cc
jmp 0x44be2c
lea eax, [ebp - 8]
mov edx, esi
call fcn.00405314
mov eax, dword [ebp - 8]
call fcn.0040550c
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44be69
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405050
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405050
ret
Function at 0x457798
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov edx, 0x40
mov eax, esi
call fcn.0040e9d4
test al, al
je 0x45780e
xor edx, edx
push ebp
push 0x457802
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x4577cf
cmp dword [eax + 0x3c], 0
jne 0x4577d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45780e
mov ebx, dword [eax + 0x3c]
add ebx, esi
mov edx, 0xf8
mov eax, ebx
call fcn.0040e9d4
test al, al
je 0x4577f6
cmp dword [ebx], 0x4550
je 0x4577f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45780e
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x457818
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov edx, 0x40
mov eax, esi
call fcn.0040e9d4
test al, al
je 0x45788e
xor edx, edx
push ebp
push 0x457882
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x45784f
cmp dword [eax + 0x3c], 0
jne 0x457859
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45788e
mov ebx, dword [eax + 0x3c]
add ebx, esi
mov edx, 0x108
mov eax, ebx
call fcn.0040e9d4
test al, al
je 0x457876
cmp dword [ebx], 0x4550
je 0x457878
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45788e
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45793c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4579db
push 0
push 0
mov eax, ebx
call fcn.0043e3b0
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.004038b8
lea edx, [ebp - 0x44]
mov ecx, 0x40
mov eax, ebx
call fcn.0043e5bc
cmp word [ebp - 0x44], 0x5a4d
jne 0x4579db
cmp dword [ebp - 8], 0
je 0x4579db
mov eax, pe_nt_image_headers32
call fcn.0040304c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cdq
push edx
push eax
mov eax, ebx
call fcn.0043e3b0
mov edx, dword [ebp - 4]
mov ecx, 0xf8
mov eax, ebx
call fcn.0043e5bc
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x4579c9
lea eax, [ebp - 4]
xor edx, edx
call fcn.00446ac4
jmp 0x4579db
mov eax, dword [ebp - 8]
cdq
mov ecx, dword [ebp - 4]
add ecx, 0xf8
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4579e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x457a83
push 0
push 0
mov eax, ebx
call fcn.0043e3b0
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.004038b8
lea edx, [ebp - 0x44]
mov ecx, 0x40
mov eax, ebx
call fcn.0043e5bc
cmp word [ebp - 0x44], 0x5a4d
jne 0x457a83
cmp dword [ebp - 8], 0
je 0x457a83
mov eax, 0x110
call fcn.0040304c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cdq
push edx
push eax
mov eax, ebx
call fcn.0043e3b0
mov edx, dword [ebp - 4]
mov ecx, 0x108
mov eax, ebx
call fcn.0043e5bc
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x457a71
lea eax, [ebp - 4]
xor edx, edx
call fcn.00446ac4
jmp 0x457a83
mov eax, dword [ebp - 8]
cdq
mov ecx, dword [ebp - 4]
add ecx, 0x108
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45bbb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040550c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45bc08
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5663b8]
mov dl, 1
mov eax, dword [0x45b6d4]
call fcn.0042c788
call fcn.00404984
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045b7dc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45dd5c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054fc
xor eax, eax
push ebp
push 0x45debc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 2
mov edx, dword [ebp - 4]
mov eax, 0x45ded4
call fcn.00446348
mov ebx, eax
lea ecx, [ebx + 1]
mov edx, dword [ebp - 4]
mov eax, 0x45ded4
call fcn.00446348
mov ebx, eax
push esi
mov eax, dword [ebp - 4]
call fcn.00405308
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040556c
mov eax, dword [ebp - 4]
call fcn.00405308
mov ecx, eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004055ac
mov bl, 0x41
lea eax, [ebp - 8]
mov edx, 0x2800
call fcn.00405794
mov eax, dword [ebp - 8]
call fcn.00405308
test eax, eax
jns 0x45ddf9
call fcn.00403edc
push eax
mov eax, dword [ebp - 8]
call fcn.0040550c
push eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405214
lea eax, [ebp - 0xc]
mov edx, 0x45dee0
call fcn.00405314
mov eax, dword [ebp - 0xc]
call fcn.0040550c
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
je 0x45de90
mov eax, dword [ebp - 8]
call fcn.0040550c
call fcn.00429298
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405794
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427e7c
test al, al
je 0x45de90
lea eax, [ebp - 0x14]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.0040379c
mov edx, 0x45dee4
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.0040376c
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00405290
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi]
mov eax, esi
call fcn.00405358
jmp 0x45dea1
inc ebx
cmp bl, 0x5b
jne 0x45dddb
mov eax, esi
call fcn.0040502c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dec3
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405050
ret
Function at 0x45ea28
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x45eb12
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405990
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00428014
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004052d0
cmp dword [edi], 0
je 0x45eaea
mov eax, 1
mov edx, dword [edi]
dec eax
test edx, edx
je 0x45ea7e
cmp eax, dword [edx - 4]
jb 0x45ea83
call fcn.00403edc
inc eax
cmp byte [edx + eax - 1], 0x22
jne 0x45eaa1
push edi
mov eax, dword [edi]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.0040556c
mov bl, 0x22
jmp 0x45eaa3
mov bl, 0x20
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405214
mov eax, dword [ebp - 0xc]
mov edx, dword [edi]
call fcn.00405650
mov esi, eax
test esi, esi
jle 0x45eacf
push edi
lea edx, [esi + 1]
mov eax, dword [edi]
mov ecx, 0x7fffffff
call fcn.0040556c
jmp 0x45ead6
mov eax, edi
call fcn.0040502c
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.00427fc0
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00405080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eb19
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040586c
ret

Function at 0x45f134
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f1cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x400
call fcn.00405bfc
mov eax, dword [ebp - 4]
call fcn.00405a28
mov edx, eax
add edx, edx
mov eax, 1
mov ecx, dword [ebp - 4]
dec eax
test ecx, ecx
je 0x45f17b
cmp eax, dword [ecx - 4]
jb 0x45f180
call fcn.00403edc
inc eax
lea eax, [ecx + eax*2 - 2]
xor ecx, ecx
call fcn.004038b8
mov eax, dword [ebp - 4]
call fcn.00405a28
sar eax, 1
jns 0x45f19b
adc eax, 0
push eax
mov eax, dword [ebp - 4]
call fcn.00405a18
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f1d3
lea eax, [ebp - 4]
call fcn.00405854
ret
Function at 0x45f304
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f41e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x66b4fc], 0
jne 0x45f359
push 0x45f42c
call fcn.0040dbac
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x66b4fc], eax
push 0x45f42c
call fcn.0040dbac
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x66b500], eax
mov eax, dword [0x45f444]
mov dword [ebp - 0xb], eax
mov ax, word [0x45f448]
mov word [ebp - 7], ax
mov al, byte [0x45f44a]
mov byte [ebp - 5], al
push 6
lea eax, [ebp - 0xb]
push eax
push 0x1004
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 4]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040529c
call sub.kernel32.dll_GetACP_1
mov edx, eax
test edx, edx
jns 0x45f3ab
call fcn.00403edc
mov eax, dword [ebp - 4]
call fcn.004287a4
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, 2
call fcn.0045f2e4
mov eax, dword [ebp - 0x30]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.004286e8
push dword [ebp - 0x34]
push 0x45f454
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.004286e8
push dword [ebp - 0x38]
mov eax, ebx
mov edx, 3
call fcn.004053cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f425
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 4]
call fcn.0040502c
ret

Function at 0x45f498
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [ebp - 1], 0
push 0x45f554
call fcn.0040db78
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
je 0x45f515
lea eax, [ebp - 0x41]
xor ecx, ecx
mov edx, 0x40
call fcn.004038b8
mov dword [ebp - 0x41], 0x40
lea eax, [ebp - 0x41]
push eax
call ebx
test eax, eax
je 0x45f515
mov eax, dword [ebp - 0x39]
mov dword [edi], eax
mov eax, dword [ebp - 0x35]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x31]
mov dword [esi], eax
mov eax, dword [ebp - 0x2d]
mov dword [esi + 4], eax
mov byte [ebp - 1], 1
jmp 0x45f548
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x20
call fcn.004038b8
mov dword [ebp - 0x64], 0x20
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [esi], eax
mov dword [esi + 4], edx
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460284
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4603ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040502c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
call fcn.0040550c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4603c7
mov eax, dword [ebp - 8]
call fcn.0040309c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4603c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4603a7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4603f8
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4603a7
push 0x46041c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00428710
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00428710
push dword [ebp - 0x20]
push 0x460438
lea eax, [ebp - 4]
mov edx, 4
call fcn.004053cc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0040550c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4603a7
cmp dword [ebp - 0x10], 1
jbe 0x4603a7
mov ebx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00429298
mov ecx, eax
mov eax, esi
mov edx, ebx
call fcn.0040511c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4603c7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004030b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4603f1
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405050
lea eax, [ebp - 4]
call fcn.0040502c
ret
Function at 0x460480
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004054fc
xor eax, eax
push ebp
push 0x460581
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040502c
cmp dword [ebp - 4], 0
je 0x4604e7
mov eax, 1
mov edx, dword [ebp - 4]
dec eax
test edx, edx
je 0x4604c8
cmp eax, dword [edx - 4]
jb 0x4604cd
call fcn.00403edc
inc eax
cmp byte [edx + eax - 1], 0x5c
jne 0x4604e7
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004055ac
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040550c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46056b
mov eax, ebx
mov edx, 0x400
call fcn.00405794
mov eax, dword [ebx]
call fcn.00405308
test eax, eax
jns 0x460521
call fcn.00403edc
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.0040550c
push eax
test edi, edi
jns 0x460541
call fcn.00403edc
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46055b
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00405794
jmp 0x460562
mov eax, ebx
call fcn.0040502c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460588
lea eax, [ebp - 4]
call fcn.0040502c
ret

Function at 0x460594
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004054fc
mov eax, dword [ebp - 8]
call fcn.004054fc
xor eax, eax
push ebp
push 0x460681
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4605fd
mov eax, 1
mov edx, dword [ebp - 4]
dec eax
test edx, edx
je 0x4605de
cmp eax, dword [edx - 4]
jb 0x4605e3
call fcn.00403edc
inc eax
cmp byte [edx + eax - 1], 0x5c
jne 0x4605fd
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004055ac
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040550c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460666
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040550c
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46065d
cmp dword [ebp - 0x14], 4
jne 0x46065d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460688
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405050
ret
Function at 0x460f0c
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0x460fa0
call sub.kernel32.dll_GetModuleHandleA_2
test eax, eax
je 0x460f2f
mov eax, ebx
mov edx, 0x460fb4
call fcn.00405080
pop ebx
pop ebp
ret
push 0
push ebx
mov ecx, 0x460fc8
mov edx, 0x460fdc
mov eax, 0x80000002
call fcn.00467158
mov eax, dword [ebx]
mov edx, 0x461010
call fcn.00405458
jne 0x460f60
mov eax, ebx
mov edx, 0x461030
call fcn.00405080
mov eax, dword [ebx]
mov edx, 0x461040
call fcn.00405458
jne 0x460f7a
mov eax, ebx
mov edx, 0x461060
call fcn.00405080
mov eax, dword [ebx]
mov edx, 0x461074
call fcn.00405458
jne 0x460f96
mov eax, ebx
mov edx, 0x461094
call fcn.00405080
jmp 0x460f9d
mov eax, ebx
call fcn.0040502c
pop ebx
pop ebp
ret

Function at 0x461444
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.004610dc
test al, al
jne 0x461457
xor eax, eax
jmp 0x461491
mov dword [ebp - 4], 0x40000000
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0046109c
cmp dword [ebp - 8], 0x61774d56
jne 0x46148b
cmp dword [ebp - 0xc], 0x4d566572
jne 0x46148b
cmp dword [ebp - 0x10], 0x65726177
je 0x46148f
xor eax, eax
jmp 0x461491
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x461688
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], 0x40000000
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0046109c
cmp dword [ebp - 8], 0x7263694d
jne 0x4616c2
cmp dword [ebp - 0xc], 0x666f736f
jne 0x4616c2
cmp dword [ebp - 0x10], 0x76482074
je 0x4616c6
xor eax, eax
jmp 0x4616c8
mov al, 1
test al, al
je 0x4616ef
mov dword [ebp - 4], 0x40000001
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0046109c
cmp dword [ebp - 4], 0x31237648
sete al
mov esp, ebp
pop ebp
ret
Function at 0x461a00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x461b24
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x55f880], 0xff
je 0x461a2e
movzx ebx, byte [0x55f880]
jmp 0x461b09
xor ebx, ebx
call fcn.0040ed60
test al, al
jne 0x461b09
mov eax, dword [0x565e1c]
cmp dword [eax], 0
je 0x461b09
push 4
lea eax, [ebp - 4]
push eax
push 0x461b34
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
ja 0x461b09
push 4
lea eax, [ebp - 4]
push eax
push 0x461b4c
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
ja 0x461b09
call fcn.00403544
mov esi, eax
test esi, esi
jle 0x461ab8
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004035a4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00427c80
mov eax, dword [ebp - 8]
mov edx, 0x461b68
call fcn.00405458
je 0x461b09
inc dword [ebp - 4]
dec esi
jne 0x461a8d
xor eax, eax
call fcn.00447050
test al, al
je 0x461afd
xor edx, edx
xor eax, eax
call fcn.0044705c
xor eax, eax
push ebp
push 0x461af6
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004618dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461b02
mov dl, 1
xor eax, eax
call fcn.0044705c
ret
call fcn.004618dc
movzx ebx, byte [0x55f880]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461b2b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405050
ret