joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428375
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x48e837
call fcn.0046e67e
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
mov dword [ebx + 4], esi
call fcn.00428bce
mov dword [ebx], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], esi
push eax
mov ecx, edi
mov dword [ebp - 0x28], 1
call fcn.00428685
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x428531
add edi, 0x28
mov dword [ebp - 0x20], edi
and dword [ebp - 0x14], 0
cmp dword [edi + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
jb 0x4283e3
mov eax, dword [edi]
jmp 0x4283e5
mov eax, edi
lea edx, [ebp - 0x14]
push edx
xor edx, edx
push edx
push edx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42851e
cmp dword [ebp - 0x14], eax
je 0x42851e
push dword [ebp - 0x14]
call fcn.0043d2ac
mov edx, dword [ebp - 0x2c]
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [edx + 0x10]
call fcn.00427b4f
cmp eax, 3
je 0x428436
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 8]
jmp 0x42851e
cmp dword [edi + 0x14], 8
jb 0x428440
mov eax, dword [edi]
jmp 0x428442
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 0
push 0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428512
xor edi, edi
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
and dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], edx
jbe 0x4284d8
cmp ebx, ecx
jae 0x4284a9
cmp edi, ebx
ja 0x4284a9
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x30], eax
cmp ecx, edx
jne 0x4284a0
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428a5b
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
test ecx, ecx
je 0x4284c7
mov al, byte [edi + eax]
jmp 0x4284c5
cmp ecx, edx
jne 0x4284bf
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428a5b
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
test ecx, ecx
je 0x4284c7
mov al, byte [ebx]
mov byte [ecx], al
mov eax, dword [ebp - 0x1c]
inc ecx
inc eax
mov dword [ebp - 0x48], ecx
inc ebx
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x14]
jb 0x428478
movzx eax, byte [0x4c5737]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00428def
mov byte [ebp - 4], 1
test edi, edi
je 0x42850d
push edi
call fcn.0043d2b5
xor eax, eax
pop ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x20]
jmp 0x428515
mov ebx, dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
call fcn.004036c2
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x4283cf
lea ecx, [ebp - 0x38]
call fcn.004289de
mov eax, ebx
call fcn.0046e64c
ret 4
Function at 0x42b424
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42b5c2
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42b5c2
cmp eax, 0x29
jne 0x42b45f
cmp dword [esi + 0x10], 0
jne 0x42b5c2
test dword [esi + 0x50], edx
je 0x42b5c8
cmp eax, 0x2e
jne 0x42b47a
push 5
lea ecx, [esi + 0x24]
call fcn.0042b6c3
mov ecx, esi
call fcn.0042b3fb
jmp 0x42b5aa
cmp eax, 0x5c
jne 0x42b4d5
mov ecx, esi
call fcn.0042b3fb
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42b4ac
cmp byte [esi + 0x48], 0x62
jne 0x42b4ac
push 4
lea ecx, [esi + 0x24]
call fcn.0042b6c3
mov ecx, esi
call fcn.0042b3fb
jmp 0x42b5b1
test eax, eax
je 0x42b4c9
cmp byte [esi + 0x48], 0x42
jne 0x42b4c9
push 4
lea ecx, [esi + 0x24]
call fcn.0042b6c3
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42b4a0
mov ecx, esi
call fcn.0042c000
jmp 0x42b5aa
cmp eax, 0x5b
jne 0x42b535
mov ecx, esi
call fcn.0042b3fb
lea ecx, [esi + 0x24]
call fcn.0042c81b
cmp dword [esi + 0x4c], 0x5e
jne 0x42b4fd
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042b3fb
test dword [esi + 0x50], 0x20000000
je 0x42b51d
cmp dword [esi + 0x4c], 0x5d
jne 0x42b51d
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042c865
mov ecx, esi
call fcn.0042b3fb
mov ecx, esi
call fcn.0042c5e8
cmp dword [esi + 0x4c], 0x5d
je 0x42b46e
push 4
jmp 0x42b5ca
cmp eax, 0x28
jne 0x42b552
mov ecx, esi
call fcn.0042b3fb
mov ecx, esi
call fcn.0042c0dc
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42b59f
jmp 0x42b5c8
cmp eax, 0x5e
jne 0x42b55e
push 2
jmp 0x42b498
cmp eax, 0x24
jne 0x42b56a
push 3
jmp 0x42b498
cmp eax, 0x2a
je 0x42b5be
cmp eax, 0x2b
je 0x42b5be
cmp eax, 0x3f
je 0x42b5be
cmp eax, 0x7b
je 0x42b5be
cmp eax, 0x7d
jne 0x42b588
test dword [esi + 0x50], edx
je 0x42b5ba
cmp eax, 0x5d
jne 0x42b592
test dword [esi + 0x50], edx
je 0x42b52e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042c250
mov ecx, esi
call fcn.0042b3fb
test bl, bl
je 0x42b5b1
mov ecx, esi
call fcn.0042c18c
mov cl, 1
mov bl, cl
jmp 0x42b42d
push 6
jmp 0x42b5ca
push 0xa
jmp 0x42b5ca
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00486dd9
int3
Function at 0x42e0e5
Capabilities:
Enumerate processes

Disassembly:
push 0x31c
mov eax, 0x48ee8d
call fcn.0046e6b1
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
call fcn.00411650
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x318], esi
cmp esi, 0xffffffff
je 0x42e2d4
lea eax, [ebp - 0x314]
mov dword [ebp - 0x314], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42e2cd
mov edi, 0x2736
lea ecx, [ebp - 0x48]
mov edx, edi
call fcn.00410ea9
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411468
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
sete bl
call fcn.00411302
test bl, bl
je 0x42e1d3
xor ebx, ebx
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411172
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00411650
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00411302
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.00412277
lea ecx, [ebp - 0x48]
test al, al
jne 0x42e1c7
call fcn.00411302
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e169
jmp 0x42e2cd
mov bl, 1
call fcn.00411302
jmp 0x42e2cd
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.00410ea9
lea ecx, [ebp - 0xb0]
mov edi, dword [eax + 0x10]
call fcn.00411302
push ecx
push 0x5c
lea ecx, [ebp - 0x48]
call fcn.004111e8
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x7c]
xor ebx, ebx
push ebx
push eax
call fcn.00411f7b
mov esi, eax
lea ecx, [ebp - 0x48]
sub esi, edi
call fcn.00411302
push esi
push edi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004114a4
push ecx
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 2
call fcn.00428cb4
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00411302
mov esi, dword [ebp - 0x318]
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00411172
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.00411650
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.00411302
push ecx
lea edx, [ebp - 0x328]
lea ecx, [ebp - 0x48]
call fcn.00428c24
pop ecx
lea ecx, [ebp - 0x48]
test al, al
jne 0x42e2bb
mov byte [ebp - 4], 4
call fcn.00411302
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e256
jmp 0x42e2c2
mov bl, 1
call fcn.00411302
lea ecx, [ebp - 0x328]
call fcn.00428a07
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.00411302
mov al, bl
call fcn.0046e660
ret
Function at 0x42e95e
Capabilities:
Encode data using base64

Disassembly:
push 0x70
mov eax, 0x48f03a
call fcn.0046e6b1
mov dword [ebp - 0x70], edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
xor ebx, ebx
mov dword [ebp - 4], eax
inc ebx
lea ecx, [ebp - 0x60]
mov edx, 0x2733
mov dword [ebp - 0x74], ebx
mov esi, eax
call fcn.00410ea9
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00404e6b
push 3
pop ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00411302
mov eax, dword [ebp + 8]
test eax, eax
je 0x42eaff
mov ecx, dword [ebp - 0x70]
dec eax
mov dword [ebp + 8], eax
mov al, byte [ecx]
mov byte [ebp + esi - 0x64], al
inc esi
mov dl, byte [ebp - 0x63]
inc ecx
mov dword [ebp - 0x70], ecx
mov ch, byte [ebp - 0x62]
mov cl, byte [ebp - 0x64]
mov byte [ebp - 0x6b], ch
mov byte [ebp - 0x69], dl
mov byte [ebp - 0x6a], cl
cmp esi, ebx
jne 0x42ea4a
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x68], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x67], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x66], cl
mov byte [ebp - 0x65], al
xor esi, esi
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp + esi - 0x68]
cmovae ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
push 1
call fcn.0041c1e2
inc esi
cmp esi, 4
jl 0x42ea1b
mov dl, byte [ebp - 0x69]
xor esi, esi
mov cl, byte [ebp - 0x6a]
mov ch, byte [ebp - 0x6b]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42e9c0
mov dword [ebp - 0x70], esi
test esi, esi
je 0x42eaff
mov eax, esi
cmp esi, ebx
jge 0x42ea81
cmp eax, ebx
jae 0x42eb13
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, ebx
jl 0x42ea68
mov ch, byte [ebp - 0x62]
mov dl, byte [ebp - 0x63]
mov cl, byte [ebp - 0x64]
and dword [ebp - 0x64], 0
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x68], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x67], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x65], ch
lea eax, [esi + 1]
mov byte [ebp - 0x66], dl
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x42eaeb
mov ebx, dword [ebp - 0x64]
mov esi, eax
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp + ebx - 0x68]
cmovae ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
push 1
call fcn.0041c1e2
inc ebx
cmp ebx, esi
jl 0x42eac2
mov esi, dword [ebp - 0x70]
push 3
pop ebx
cmp esi, ebx
jge 0x42eaff
sub ebx, esi
push 0x3d
push 1
mov ecx, edi
call fcn.0041c1e2
dec ebx
jne 0x42eaf1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
mov eax, edi
call fcn.0046e660
ret
call fcn.0046bb85
int3
Function at 0x4303f9
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x48f232
call fcn.0046e6b1
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x430418
mov ecx, esi
call fcn.0040fe34
add esi, 0x48
cmp esi, ebx
jne 0x43040e
mov eax, dword [edi]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 7
mov ebx, eax
xor esi, esi
pop edx
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test ebx, eax
je 0x43058b
and dword [ebp - 0x48], 0
xor eax, eax
and dword [ebp - 0x30], eax
and dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x41]
push eax
push 1
call fcn.004306ad
push 0x4a5058
call fcn.00403def
pop ecx
push eax
push 0x4a5058
lea ecx, [ebp - 0x58]
call fcn.00405328
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x43057c
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43053f
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.0046fdc0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0043004c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404f0f
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.0040513f
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x80]
push edx
push eax
call fcn.0046fdc0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0043004c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404f0f
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.0040513f
jmp 0x430571
push 0x4a5088
call fcn.00403def
pop ecx
push eax
push 0x4a5088
lea ecx, [ebp - 0x28]
call fcn.004053cb
push 0x4a5088
call fcn.00403def
pop ecx
push eax
push 0x4a5088
lea ecx, [ebp - 0x40]
call fcn.004053cb
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00430624
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040fe34
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x43042e
call fcn.0046e660
ret
Function at 0x430a1c
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x790
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x78c]
push 0x40
push edi
push eax
mov dword [ebp - 0x790], edi
call fcn.0046c960
add esp, 0xc
lea eax, [ebp - 0x210]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x748], xmm0
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x114
lea eax, [ebp - 0x738]
push esi
push edi
push eax
call fcn.0046c960
add esp, 0xc
mov dword [ebp - 0x738], esi
lea eax, [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x734], 6
lea ecx, [ebp - 0x210]
push ecx
jb 0x430ab7
cmp dword [0x4c4f50], 8
mov eax, 0x4c4f3c
cmovae eax, dword [0x4c4f3c]
jmp 0x430aca
cmp dword [0x4c4f84], 8
mov eax, 0x4c4f70
cmovae eax, dword [0x4c4f70]
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x748]
push eax
lea eax, [ebp - 0x790]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x620]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x744]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x748]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret

Function at 0x4313ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48d333
call fcn.0046e67e
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a3528
mov dword [ebp - 0x14], ebx
call fcn.00404eb9
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
mov ebx, eax
push 0x94
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push ecx
push ebx
push eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x43147f
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043d2ac
pop ecx
push edi
mov esi, eax
push esi
push ebx
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.00403def
mov edi, dword [ebp - 0x10]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405328
push esi
call fcn.0043d2b5
pop ecx
jmp 0x431482
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046e64c
ret
Function at 0x4318c6
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x174
mov eax, 0x48f5b2
call fcn.0046e6b1
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x168], edx
call fcn.0041100a
lea ecx, [edi + 0x34]
call fcn.0041100a
lea eax, [ebp - 0x160]
mov dword [ebp - 4], edx
push eax
xor ecx, ecx
mov dword [ebp - 0x160], edx
push 0x4a53f0
inc ecx
push ecx
push edx
push 0x4a53e0
mov dword [ebp - 0x168], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.._rootcimv2
call esi
lea edx, [ebp - 0x154]
mov ebx, eax
mov eax, dword [ebp - 0x160]
push edx
xor edx, edx
push edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push edx
push ebx
push eax
call dword [ecx + 0xc]
push 0x800
xor eax, eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0x154]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0x4a5270
call esi
push str.select__from_Win32_VideoController
mov dword [ebp - 0x164], eax
call esi
lea edx, [ebp - 0x15c]
mov esi, eax
mov eax, dword [ebp - 0x154]
push edx
push 0
push 0x20
mov ecx, dword [eax]
push esi
push dword [ebp - 0x164]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x16c]
and dword [ebp - 0x158], 0
push edx
lea edx, [ebp - 0x158]
mov ecx, dword [eax]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x16c], 0
je 0x431ab9
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x17c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.AdapterRAM
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x431a40
mov eax, dword [ebp - 0x174]
shr eax, 0x14
push eax
lea eax, [ebp - 0x11c]
push 0x4a3a70
push eax
call fcn.0046aed6
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.00411107
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x34]
call fcn.0041131e
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.00411302
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x17c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Name
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x431ab9
xor ecx, ecx
lea eax, [ebp - 0x11c]
push ecx
push ecx
push 0x100
push eax
push 0xffffffffffffffff
push dword [ebp - 0x174]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.00411107
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0041131e
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.00411302
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x164]
call esi
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push ebx
call esi
mov eax, edi
call fcn.0046e660
ret
Function at 0x431aed
Capabilities:
Get system information on windows

Disassembly:
push 0x84
mov eax, 0x48f62b
call fcn.0046e6b1
mov ebx, ecx
mov dword [ebp - 0x64], ebx
and dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], ebx
call fcn.00406dcd
and dword [ebp - 4], 0
lea eax, [ebp - 0x90]
xor esi, esi
inc esi
push eax
mov dword [ebp - 0x68], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x5c]
call fcn.00431c6f
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.0041131e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00411302
call fcn.00431dac
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00405e4d
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.00411030
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 3
call fcn.0041131e
lea ecx, [ebp - 0x5c]
call fcn.00411302
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00403790
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x28]
call fcn.004229e7
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.00411030
push eax
lea ecx, [ebx + 0x34]
mov byte [ebp - 4], 5
call fcn.0041131e
lea ecx, [ebp - 0x5c]
call fcn.00411302
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push esi
mov byte [ebp - 4], bl
call fcn.00403790
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalProcessorInformation]
lea eax, [ebp - 0x60]
push eax
push ebx
mov edi, ebx
mov dword [ebp - 0x60], ebx
call esi
push dword [ebp - 0x60]
call fcn.0046bc61
mov ebx, eax
lea eax, [ebp - 0x60]
pop ecx
push eax
push ebx
call esi
xor esi, esi
mov eax, dword [ebp - 0x60]
xor edx, edx
push 0x18
pop ecx
div ecx
test eax, eax
je 0x431c1a
lea ecx, [ebx + 8]
cmp dword [ecx - 4], 2
jne 0x431c09
cmp byte [ecx], 3
je 0x431c13
inc esi
add ecx, 0x18
cmp esi, eax
jne 0x431bfe
jmp 0x431c1a
imul eax, esi, 0x18
mov edi, dword [eax + ebx + 0xc]
push ebx
call fcn.0046a914
pop ecx
shr edi, 0x14
lea ecx, [ebp - 0x28]
mov edx, edi
call fcn.00405e94
push 1
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 6
call fcn.00411030
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x64]
push eax
lea ecx, [esi + 0x9c]
call fcn.0041131e
lea ecx, [ebp - 0x5c]
call fcn.00411302
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403790
mov eax, esi
call fcn.0046e660
ret
Function at 0x431dac
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x431e64
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
adc dword [ebp - 4], eax
rdtsc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 4]
jb 0x431dfe
ja 0x431e1a
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jb 0x431dfe
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004880af
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.004880af
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm1
call fcn.00487d1f
push 0
push 0xf4240
push edx
push eax
call fcn.00475730
mov esp, ebp
pop ebp
ret