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

Disassembly:
push 0x40
mov eax, 0x48c3f6
call fcn.0046c5de
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.0042789d
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.00427354
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x427200
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 0x4270b2
mov eax, dword [edi]
jmp 0x4270b4
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 0x4271ed
cmp dword [ebp - 0x14], eax
je 0x4271ed
push dword [ebp - 0x14]
call fcn.0043b218
mov edx, dword [ebp - 0x2c]
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [edx + 0x10]
call fcn.0042681e
cmp eax, 3
je 0x427105
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 8]
jmp 0x4271ed
cmp dword [edi + 0x14], 8
jb 0x42710f
mov eax, dword [edi]
jmp 0x427111
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 0x4271e1
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 0x4271a7
cmp ebx, ecx
jae 0x427178
cmp edi, ebx
ja 0x427178
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x30], eax
cmp ecx, edx
jne 0x42716f
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0042772a
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
test ecx, ecx
je 0x427196
mov al, byte [edi + eax]
jmp 0x427194
cmp ecx, edx
jne 0x42718e
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0042772a
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
test ecx, ecx
je 0x427196
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 0x427147
movzx eax, byte [0x4c2717]
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.00427abe
mov byte [ebp - 4], 1
test edi, edi
je 0x4271dc
push edi
call fcn.0043b213
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 0x4271e4
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 0x42709e
lea ecx, [ebp - 0x38]
call fcn.004276ad
mov eax, ebx
call fcn.0046c5ac
ret 4
Function at 0x42a0f3
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 0x42a291
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42a291
cmp eax, 0x29
jne 0x42a12e
cmp dword [esi + 0x10], 0
jne 0x42a291
test dword [esi + 0x50], edx
je 0x42a297
cmp eax, 0x2e
jne 0x42a149
push 5
lea ecx, [esi + 0x24]
call fcn.0042a392
mov ecx, esi
call fcn.0042a0ca
jmp 0x42a279
cmp eax, 0x5c
jne 0x42a1a4
mov ecx, esi
call fcn.0042a0ca
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42a17b
cmp byte [esi + 0x48], 0x62
jne 0x42a17b
push 4
lea ecx, [esi + 0x24]
call fcn.0042a392
mov ecx, esi
call fcn.0042a0ca
jmp 0x42a280
test eax, eax
je 0x42a198
cmp byte [esi + 0x48], 0x42
jne 0x42a198
push 4
lea ecx, [esi + 0x24]
call fcn.0042a392
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42a16f
mov ecx, esi
call fcn.0042accf
jmp 0x42a279
cmp eax, 0x5b
jne 0x42a204
mov ecx, esi
call fcn.0042a0ca
lea ecx, [esi + 0x24]
call fcn.0042b4ea
cmp dword [esi + 0x4c], 0x5e
jne 0x42a1cc
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042a0ca
test dword [esi + 0x50], 0x20000000
je 0x42a1ec
cmp dword [esi + 0x4c], 0x5d
jne 0x42a1ec
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042b534
mov ecx, esi
call fcn.0042a0ca
mov ecx, esi
call fcn.0042b2b7
cmp dword [esi + 0x4c], 0x5d
je 0x42a13d
push 4
jmp 0x42a299
cmp eax, 0x28
jne 0x42a221
mov ecx, esi
call fcn.0042a0ca
mov ecx, esi
call fcn.0042adab
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42a26e
jmp 0x42a297
cmp eax, 0x5e
jne 0x42a22d
push 2
jmp 0x42a167
cmp eax, 0x24
jne 0x42a239
push 3
jmp 0x42a167
cmp eax, 0x2a
je 0x42a28d
cmp eax, 0x2b
je 0x42a28d
cmp eax, 0x3f
je 0x42a28d
cmp eax, 0x7b
je 0x42a28d
cmp eax, 0x7d
jne 0x42a257
test dword [esi + 0x50], edx
je 0x42a289
cmp eax, 0x5d
jne 0x42a261
test dword [esi + 0x50], edx
je 0x42a1fd
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042af1f
mov ecx, esi
call fcn.0042a0ca
test bl, bl
je 0x42a280
mov ecx, esi
call fcn.0042ae5b
mov cl, 1
mov bl, cl
jmp 0x42a0fc
push 6
jmp 0x42a299
push 0xa
jmp 0x42a299
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00484d39
int3
Function at 0x42cd50
Capabilities:
Enumerate processes

Disassembly:
push 0x31c
mov eax, 0x48ca4c
call fcn.0046c611
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
call fcn.00410860
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 0x42cf3f
lea eax, [ebp - 0x314]
mov dword [ebp - 0x314], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42cf38
mov edi, 0x2736
lea ecx, [ebp - 0x48]
mov edx, edi
call fcn.004100b9
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00410678
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
sete bl
call fcn.00410512
test bl, bl
je 0x42ce3e
xor ebx, ebx
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00410382
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00410860
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00410512
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.004114f8
lea ecx, [ebp - 0x48]
test al, al
jne 0x42ce32
call fcn.00410512
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42cdd4
jmp 0x42cf38
mov bl, 1
call fcn.00410512
jmp 0x42cf38
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.004100b9
lea ecx, [ebp - 0xb0]
mov edi, dword [eax + 0x10]
call fcn.00410512
push ecx
push 0x5c
lea ecx, [ebp - 0x48]
call fcn.004103f8
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.004111fc
mov esi, eax
lea ecx, [ebp - 0x48]
sub esi, edi
call fcn.00410512
push esi
push edi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004106b4
push ecx
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 2
call fcn.00427983
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00410512
mov esi, dword [ebp - 0x318]
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00410382
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.00410860
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.00410512
push ecx
lea edx, [ebp - 0x328]
lea ecx, [ebp - 0x48]
call fcn.004278f3
pop ecx
lea ecx, [ebp - 0x48]
test al, al
jne 0x42cf26
mov byte [ebp - 4], 4
call fcn.00410512
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42cec1
jmp 0x42cf2d
mov bl, 1
call fcn.00410512
lea ecx, [ebp - 0x328]
call fcn.004276d6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.00410512
mov al, bl
call fcn.0046c5c0
ret
Function at 0x42d5c9
Capabilities:
Encode data using base64

Disassembly:
push 0x70
mov eax, 0x48cbf9
call fcn.0046c611
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.004100b9
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.00410512
mov eax, dword [ebp + 8]
test eax, eax
je 0x42d76a
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 0x42d6b5
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.0041aead
inc esi
cmp esi, 4
jl 0x42d686
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 0x42d62b
mov dword [ebp - 0x70], esi
test esi, esi
je 0x42d76a
mov eax, esi
cmp esi, ebx
jge 0x42d6ec
cmp eax, ebx
jae 0x42d77e
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, ebx
jl 0x42d6d3
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 0x42d756
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.0041aead
inc ebx
cmp ebx, esi
jl 0x42d72d
mov esi, dword [ebp - 0x70]
push 3
pop ebx
cmp esi, ebx
jge 0x42d76a
sub ebx, esi
push 0x3d
push 1
mov ecx, edi
call fcn.0041aead
dec ebx
jne 0x42d75c
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
mov eax, edi
call fcn.0046c5c0
ret
call fcn.00469ae5
int3
Function at 0x42f064
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x48cdf1
call fcn.0046c611
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x42f083
mov ecx, esi
call fcn.0040f095
add esi, 0x48
cmp esi, ebx
jne 0x42f079
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 0x42f1f6
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.0042f318
push 0x4a2f60
call fcn.00403def
pop ecx
push eax
push 0x4a2f60
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 0x42f1e7
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 0x42f1aa
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.0046dd20
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0042ecb7
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.0046dd20
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0042ecb7
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 0x42f1dc
push 0x4a2f90
call fcn.00403def
pop ecx
push eax
push 0x4a2f90
lea ecx, [ebp - 0x28]
call fcn.004053bd
push 0x4a2f90
call fcn.00403def
pop ecx
push eax
push 0x4a2f90
lea ecx, [ebp - 0x40]
call fcn.004053bd
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042f28f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040f095
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x42f099
call fcn.0046c5c0
ret
Function at 0x42f687
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x790
mov eax, dword [0x4b9760]
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.0046a8c0
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.0046a8c0
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 0x42f722
cmp dword [0x4c1f30], 8
mov eax, 0x4c1f1c
cmovae eax, dword [0x4c1f1c]
jmp 0x42f735
cmp dword [0x4c1f64], 8
mov eax, 0x4c1f50
cmovae eax, dword [0x4c1f50]
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.0046821b
mov esp, ebp
pop ebp
ret

Function at 0x42ffd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48aef2
call fcn.0046c5de
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a1528
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 0x43009e
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b218
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.0043b213
pop ecx
jmp 0x4300a1
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046c5ac
ret
Function at 0x4304e5
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x174
mov eax, 0x48d171
call fcn.0046c611
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x168], edx
call fcn.0041021a
lea ecx, [edi + 0x34]
call fcn.0041021a
lea eax, [ebp - 0x160]
mov dword [ebp - 4], edx
push eax
xor ecx, ecx
mov dword [ebp - 0x160], edx
push 0x4a31ac
inc ecx
push ecx
push edx
push 0x4a319c
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 0x4a3170
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 0x4306d8
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 0x43065f
mov eax, dword [ebp - 0x174]
shr eax, 0x14
push eax
lea eax, [ebp - 0x11c]
push 0x4a1a70
push eax
call fcn.00468e36
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.00410317
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x34]
call fcn.0041052e
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.00410512
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 0x4306d8
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.00410317
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0041052e
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.00410512
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.0046c5c0
ret
Function at 0x43070c
Capabilities:
Get system information on windows

Disassembly:
push 0x84
mov eax, 0x48d1ea
call fcn.0046c611
mov ebx, ecx
mov dword [ebp - 0x64], ebx
and dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], ebx
call fcn.00406be9
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.0043088e
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.0041052e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00410512
call fcn.004309cb
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.00410240
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 3
call fcn.0041052e
lea ecx, [ebp - 0x5c]
call fcn.00410512
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.004216b2
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.00410240
push eax
lea ecx, [ebx + 0x34]
mov byte [ebp - 4], 5
call fcn.0041052e
lea ecx, [ebp - 0x5c]
call fcn.00410512
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.00469bc1
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 0x430839
lea ecx, [ebx + 8]
cmp dword [ecx - 4], 2
jne 0x430828
cmp byte [ecx], 3
je 0x430832
inc esi
add ecx, 0x18
cmp esi, eax
jne 0x43081d
jmp 0x430839
imul eax, esi, 0x18
mov edi, dword [eax + ebx + 0xc]
push ebx
call fcn.00468874
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.00410240
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x64]
push eax
lea ecx, [esi + 0x9c]
call fcn.0041052e
lea ecx, [ebp - 0x5c]
call fcn.00410512
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403790
mov eax, esi
call fcn.0046c5c0
ret
Function at 0x4309cb
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 0x430a83
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 0x430a1d
ja 0x430a39
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jb 0x430a1d
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0048600f
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.0048600f
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm1
call fcn.00485c7f
push 0
push 0xf4240
push edx
push eax
call fcn.00473680
mov esp, ebp
pop ebp
ret