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

Disassembly:
push 0x40
mov eax, 0x48d760
call fcn.0046d6fe
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.004282a7
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.00427d5e
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x427c0a
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 0x427abc
mov eax, dword [edi]
jmp 0x427abe
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 0x427bf7
cmp dword [ebp - 0x14], eax
je 0x427bf7
push dword [ebp - 0x14]
call fcn.0043c33c
mov edx, dword [ebp - 0x2c]
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [edx + 0x10]
call fcn.00427228
cmp eax, 3
je 0x427b0f
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 8]
jmp 0x427bf7
cmp dword [edi + 0x14], 8
jb 0x427b19
mov eax, dword [edi]
jmp 0x427b1b
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 0x427beb
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 0x427bb1
cmp ebx, ecx
jae 0x427b82
cmp edi, ebx
ja 0x427b82
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x30], eax
cmp ecx, edx
jne 0x427b79
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428134
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
test ecx, ecx
je 0x427ba0
mov al, byte [edi + eax]
jmp 0x427b9e
cmp ecx, edx
jne 0x427b98
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428134
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
test ecx, ecx
je 0x427ba0
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 0x427b51
movzx eax, byte [0x4c3717]
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.004284c8
mov byte [ebp - 4], 1
test edi, edi
je 0x427be6
push edi
call fcn.0043c337
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 0x427bee
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 0x427aa8
lea ecx, [ebp - 0x38]
call fcn.004280b7
mov eax, ebx
call fcn.0046d6cc
ret 4
Function at 0x42aafd
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 0x42ac9b
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42ac9b
cmp eax, 0x29
jne 0x42ab38
cmp dword [esi + 0x10], 0
jne 0x42ac9b
test dword [esi + 0x50], edx
je 0x42aca1
cmp eax, 0x2e
jne 0x42ab53
push 5
lea ecx, [esi + 0x24]
call fcn.0042ad9c
mov ecx, esi
call fcn.0042aad4
jmp 0x42ac83
cmp eax, 0x5c
jne 0x42abae
mov ecx, esi
call fcn.0042aad4
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42ab85
cmp byte [esi + 0x48], 0x62
jne 0x42ab85
push 4
lea ecx, [esi + 0x24]
call fcn.0042ad9c
mov ecx, esi
call fcn.0042aad4
jmp 0x42ac8a
test eax, eax
je 0x42aba2
cmp byte [esi + 0x48], 0x42
jne 0x42aba2
push 4
lea ecx, [esi + 0x24]
call fcn.0042ad9c
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42ab79
mov ecx, esi
call fcn.0042b6d9
jmp 0x42ac83
cmp eax, 0x5b
jne 0x42ac0e
mov ecx, esi
call fcn.0042aad4
lea ecx, [esi + 0x24]
call fcn.0042bef4
cmp dword [esi + 0x4c], 0x5e
jne 0x42abd6
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042aad4
test dword [esi + 0x50], 0x20000000
je 0x42abf6
cmp dword [esi + 0x4c], 0x5d
jne 0x42abf6
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042bf3e
mov ecx, esi
call fcn.0042aad4
mov ecx, esi
call fcn.0042bcc1
cmp dword [esi + 0x4c], 0x5d
je 0x42ab47
push 4
jmp 0x42aca3
cmp eax, 0x28
jne 0x42ac2b
mov ecx, esi
call fcn.0042aad4
mov ecx, esi
call fcn.0042b7b5
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42ac78
jmp 0x42aca1
cmp eax, 0x5e
jne 0x42ac37
push 2
jmp 0x42ab71
cmp eax, 0x24
jne 0x42ac43
push 3
jmp 0x42ab71
cmp eax, 0x2a
je 0x42ac97
cmp eax, 0x2b
je 0x42ac97
cmp eax, 0x3f
je 0x42ac97
cmp eax, 0x7b
je 0x42ac97
cmp eax, 0x7d
jne 0x42ac61
test dword [esi + 0x50], edx
je 0x42ac93
cmp eax, 0x5d
jne 0x42ac6b
test dword [esi + 0x50], edx
je 0x42ac07
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042b929
mov ecx, esi
call fcn.0042aad4
test bl, bl
je 0x42ac8a
mov ecx, esi
call fcn.0042b865
mov cl, 1
mov bl, cl
jmp 0x42ab06
push 6
jmp 0x42aca3
push 0xa
jmp 0x42aca3
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00485e49
int3
Function at 0x42d79c
Capabilities:
Enumerate processes

Disassembly:
push 0x31c
mov eax, 0x48ddb6
call fcn.0046d731
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
call fcn.004110e8
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 0x42d98b
lea eax, [ebp - 0x314]
mov dword [ebp - 0x314], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42d984
mov edi, 0x2736
lea ecx, [ebp - 0x48]
mov edx, edi
call fcn.00410941
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00410f00
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
sete bl
call fcn.00410d9a
test bl, bl
je 0x42d88a
xor ebx, ebx
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00410c0a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.004110e8
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00410d9a
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.00411d0f
lea ecx, [ebp - 0x48]
test al, al
jne 0x42d87e
call fcn.00410d9a
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42d820
jmp 0x42d984
mov bl, 1
call fcn.00410d9a
jmp 0x42d984
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.00410941
lea ecx, [ebp - 0xb0]
mov edi, dword [eax + 0x10]
call fcn.00410d9a
push ecx
push 0x5c
lea ecx, [ebp - 0x48]
call fcn.00410c80
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.00411a13
mov esi, eax
lea ecx, [ebp - 0x48]
sub esi, edi
call fcn.00410d9a
push esi
push edi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00410f3c
push ecx
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 2
call fcn.0042838d
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00410d9a
mov esi, dword [ebp - 0x318]
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00410c0a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.004110e8
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.00410d9a
push ecx
lea edx, [ebp - 0x328]
lea ecx, [ebp - 0x48]
call fcn.004282fd
pop ecx
lea ecx, [ebp - 0x48]
test al, al
jne 0x42d972
mov byte [ebp - 4], 4
call fcn.00410d9a
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42d90d
jmp 0x42d979
mov bl, 1
call fcn.00410d9a
lea ecx, [ebp - 0x328]
call fcn.004280e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.00410d9a
mov al, bl
call fcn.0046d6e0
ret
Function at 0x42e015
Capabilities:
Encode data using base64

Disassembly:
push 0x70
mov eax, 0x48df63
call fcn.0046d731
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.00410941
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00404e5d
push 3
pop ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00410d9a
mov eax, dword [ebp + 8]
test eax, eax
je 0x42e1b6
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 0x42e101
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.0041b8bb
inc esi
cmp esi, 4
jl 0x42e0d2
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 0x42e077
mov dword [ebp - 0x70], esi
test esi, esi
je 0x42e1b6
mov eax, esi
cmp esi, ebx
jge 0x42e138
cmp eax, ebx
jae 0x42e1ca
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, ebx
jl 0x42e11f
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 0x42e1a2
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.0041b8bb
inc ebx
cmp ebx, esi
jl 0x42e179
mov esi, dword [ebp - 0x70]
push 3
pop ebx
cmp esi, ebx
jge 0x42e1b6
sub ebx, esi
push 0x3d
push 1
mov ecx, edi
call fcn.0041b8bb
dec ebx
jne 0x42e1a8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
mov eax, edi
call fcn.0046d6e0
ret
call fcn.0046ac05
int3
Function at 0x42fab0
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x48e15b
call fcn.0046d731
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x42facf
mov ecx, esi
call fcn.0040f8e4
add esi, 0x48
cmp esi, ebx
jne 0x42fac5
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 0x42fc42
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.0042fd64
push 0x4a4010
call fcn.00403def
pop ecx
push eax
push 0x4a4010
lea ecx, [ebp - 0x58]
call fcn.0040531a
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 0x42fc33
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 0x42fbf6
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.0046ee40
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0042f703
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404f01
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00405131
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x80]
push edx
push eax
call fcn.0046ee40
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0042f703
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404f01
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00405131
jmp 0x42fc28
push 0x4a4040
call fcn.00403def
pop ecx
push eax
push 0x4a4040
lea ecx, [ebp - 0x28]
call fcn.004053bd
push 0x4a4040
call fcn.00403def
pop ecx
push eax
push 0x4a4040
lea ecx, [ebp - 0x40]
call fcn.004053bd
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042fcdb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040f8e4
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x42fae5
call fcn.0046d6e0
ret
Function at 0x4300d3
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x790
mov eax, dword [0x4ba760]
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.0046b9e0
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.0046b9e0
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 0x43016e
cmp dword [0x4c2f30], 8
mov eax, 0x4c2f1c
cmovae eax, dword [0x4c2f1c]
jmp 0x430181
cmp dword [0x4c2f64], 8
mov eax, 0x4c2f50
cmovae eax, dword [0x4c2f50]
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.0046933f
mov esp, ebp
pop ebp
ret

Function at 0x430a25
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48c25c
call fcn.0046d6fe
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a2528
mov dword [ebp - 0x14], ebx
call fcn.00404eab
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 0x430aea
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c33c
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.0040531a
push esi
call fcn.0043c337
pop ecx
jmp 0x430aed
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046d6cc
ret
Function at 0x430f31
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x174
mov eax, 0x48e4db
call fcn.0046d731
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x168], edx
call fcn.00410aa2
lea ecx, [edi + 0x34]
call fcn.00410aa2
lea eax, [ebp - 0x160]
mov dword [ebp - 4], edx
push eax
xor ecx, ecx
mov dword [ebp - 0x160], edx
push 0x4a432c
inc ecx
push ecx
push edx
push 0x4a431c
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 0x4a41bc
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 0x431124
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 0x4310ab
mov eax, dword [ebp - 0x174]
shr eax, 0x14
push eax
lea eax, [ebp - 0x11c]
push 0x4a2a58
push eax
call fcn.00469f56
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.00410b9f
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x34]
call fcn.00410db6
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.00410d9a
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 0x431124
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.00410b9f
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00410db6
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.00410d9a
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.0046d6e0
ret
Function at 0x431158
Capabilities:
Get system information on windows

Disassembly:
push 0x84
mov eax, 0x48e554
call fcn.0046d731
mov ebx, ecx
mov dword [ebp - 0x64], ebx
and dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], ebx
call fcn.00406cc9
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.004312da
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.00410db6
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00410d9a
call fcn.00431417
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00405dcc
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.00410ac8
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 3
call fcn.00410db6
lea ecx, [ebp - 0x5c]
call fcn.00410d9a
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.004220c0
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.00410ac8
push eax
lea ecx, [ebx + 0x34]
mov byte [ebp - 4], 5
call fcn.00410db6
lea ecx, [ebp - 0x5c]
call fcn.00410d9a
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.0046ace1
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 0x431285
lea ecx, [ebx + 8]
cmp dword [ecx - 4], 2
jne 0x431274
cmp byte [ecx], 3
je 0x43127e
inc esi
add ecx, 0x18
cmp esi, eax
jne 0x431269
jmp 0x431285
imul eax, esi, 0x18
mov edi, dword [eax + ebx + 0xc]
push ebx
call fcn.00469994
pop ecx
shr edi, 0x14
lea ecx, [ebp - 0x28]
mov edx, edi
call fcn.00405e13
push 1
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 6
call fcn.00410ac8
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x64]
push eax
lea ecx, [esi + 0x9c]
call fcn.00410db6
lea ecx, [ebp - 0x5c]
call fcn.00410d9a
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403790
mov eax, esi
call fcn.0046d6e0
ret
Function at 0x431417
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 0x4314cf
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 0x431469
ja 0x431485
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jb 0x431469
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0048711f
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.0048711f
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm1
call fcn.00486d8f
push 0
push 0xf4240
push edx
push eax
call fcn.004746c0
mov esp, ebp
pop ebp
ret