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

Disassembly:
push 0x40
mov eax, 0x48e9c4
call fcn.0046e79e
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.00428d43
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.004287fa
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x4286a6
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 0x428558
mov eax, dword [edi]
jmp 0x42855a
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 0x428693
cmp dword [ebp - 0x14], eax
je 0x428693
push dword [ebp - 0x14]
call fcn.0043d3da
mov edx, dword [ebp - 0x2c]
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [edx + 0x10]
call fcn.00427cc4
cmp eax, 3
je 0x4285ab
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 8]
jmp 0x428693
cmp dword [edi + 0x14], 8
jb 0x4285b5
mov eax, dword [edi]
jmp 0x4285b7
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 0x428687
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 0x42864d
cmp ebx, ecx
jae 0x42861e
cmp edi, ebx
ja 0x42861e
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x30], eax
cmp ecx, edx
jne 0x428615
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428bd0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
test ecx, ecx
je 0x42863c
mov al, byte [edi + eax]
jmp 0x42863a
cmp ecx, edx
jne 0x428634
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428bd0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
test ecx, ecx
je 0x42863c
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 0x4285ed
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.00428f64
mov byte [ebp - 4], 1
test edi, edi
je 0x428682
push edi
call fcn.0043d3d5
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 0x42868a
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 0x428544
lea ecx, [ebp - 0x38]
call fcn.00428b53
mov eax, ebx
call fcn.0046e76c
ret 4
Function at 0x42b599
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 0x42b737
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42b737
cmp eax, 0x29
jne 0x42b5d4
cmp dword [esi + 0x10], 0
jne 0x42b737
test dword [esi + 0x50], edx
je 0x42b73d
cmp eax, 0x2e
jne 0x42b5ef
push 5
lea ecx, [esi + 0x24]
call fcn.0042b838
mov ecx, esi
call fcn.0042b570
jmp 0x42b71f
cmp eax, 0x5c
jne 0x42b64a
mov ecx, esi
call fcn.0042b570
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42b621
cmp byte [esi + 0x48], 0x62
jne 0x42b621
push 4
lea ecx, [esi + 0x24]
call fcn.0042b838
mov ecx, esi
call fcn.0042b570
jmp 0x42b726
test eax, eax
je 0x42b63e
cmp byte [esi + 0x48], 0x42
jne 0x42b63e
push 4
lea ecx, [esi + 0x24]
call fcn.0042b838
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42b615
mov ecx, esi
call fcn.0042c175
jmp 0x42b71f
cmp eax, 0x5b
jne 0x42b6aa
mov ecx, esi
call fcn.0042b570
lea ecx, [esi + 0x24]
call fcn.0042c990
cmp dword [esi + 0x4c], 0x5e
jne 0x42b672
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042b570
test dword [esi + 0x50], 0x20000000
je 0x42b692
cmp dword [esi + 0x4c], 0x5d
jne 0x42b692
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042c9da
mov ecx, esi
call fcn.0042b570
mov ecx, esi
call fcn.0042c75d
cmp dword [esi + 0x4c], 0x5d
je 0x42b5e3
push 4
jmp 0x42b73f
cmp eax, 0x28
jne 0x42b6c7
mov ecx, esi
call fcn.0042b570
mov ecx, esi
call fcn.0042c251
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42b714
jmp 0x42b73d
cmp eax, 0x5e
jne 0x42b6d3
push 2
jmp 0x42b60d
cmp eax, 0x24
jne 0x42b6df
push 3
jmp 0x42b60d
cmp eax, 0x2a
je 0x42b733
cmp eax, 0x2b
je 0x42b733
cmp eax, 0x3f
je 0x42b733
cmp eax, 0x7b
je 0x42b733
cmp eax, 0x7d
jne 0x42b6fd
test dword [esi + 0x50], edx
je 0x42b72f
cmp eax, 0x5d
jne 0x42b707
test dword [esi + 0x50], edx
je 0x42b6a3
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042c3c5
mov ecx, esi
call fcn.0042b570
test bl, bl
je 0x42b726
mov ecx, esi
call fcn.0042c301
mov cl, 1
mov bl, cl
jmp 0x42b5a2
push 6
jmp 0x42b73f
push 0xa
jmp 0x42b73f
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00486ef9
int3
Function at 0x42e25a
Capabilities:
Enumerate processes

Disassembly:
push 0x31c
mov eax, 0x48f01a
call fcn.0046e7d1
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
call fcn.00411815
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 0x42e449
lea eax, [ebp - 0x314]
mov dword [ebp - 0x314], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42e442
mov edi, 0x2736
lea ecx, [ebp - 0x48]
mov edx, edi
call fcn.0041106e
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041162d
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
sete bl
call fcn.004114c7
test bl, bl
je 0x42e348
xor ebx, ebx
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411337
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00411815
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.004114c7
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.004123ec
lea ecx, [ebp - 0x48]
test al, al
jne 0x42e33c
call fcn.004114c7
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e2de
jmp 0x42e442
mov bl, 1
call fcn.004114c7
jmp 0x42e442
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.0041106e
lea ecx, [ebp - 0xb0]
mov edi, dword [eax + 0x10]
call fcn.004114c7
push ecx
push 0x5c
lea ecx, [ebp - 0x48]
call fcn.004113ad
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.00412140
mov esi, eax
lea ecx, [ebp - 0x48]
sub esi, edi
call fcn.004114c7
push esi
push edi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411669
push ecx
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 2
call fcn.00428e29
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.004114c7
mov esi, dword [ebp - 0x318]
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00411337
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.00411815
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.004114c7
push ecx
lea edx, [ebp - 0x328]
lea ecx, [ebp - 0x48]
call fcn.00428d99
pop ecx
lea ecx, [ebp - 0x48]
test al, al
jne 0x42e430
mov byte [ebp - 4], 4
call fcn.004114c7
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e3cb
jmp 0x42e437
mov bl, 1
call fcn.004114c7
lea ecx, [ebp - 0x328]
call fcn.00428b7c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.004114c7
mov al, bl
call fcn.0046e780
ret
Function at 0x42ead3
Capabilities:
Encode data using base64

Disassembly:
push 0x70
mov eax, 0x48f1c7
call fcn.0046e7d1
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.0041106e
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.004114c7
mov eax, dword [ebp + 8]
test eax, eax
je 0x42ec74
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 0x42ebbf
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.0041c357
inc esi
cmp esi, 4
jl 0x42eb90
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 0x42eb35
mov dword [ebp - 0x70], esi
test esi, esi
je 0x42ec74
mov eax, esi
cmp esi, ebx
jge 0x42ebf6
cmp eax, ebx
jae 0x42ec88
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, ebx
jl 0x42ebdd
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 0x42ec60
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.0041c357
inc ebx
cmp ebx, esi
jl 0x42ec37
mov esi, dword [ebp - 0x70]
push 3
pop ebx
cmp esi, ebx
jge 0x42ec74
sub ebx, esi
push 0x3d
push 1
mov ecx, edi
call fcn.0041c357
dec ebx
jne 0x42ec66
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
mov eax, edi
call fcn.0046e780
ret
call fcn.0046bca5
int3
Function at 0x43056e
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x48f3bf
call fcn.0046e7d1
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x43058d
mov ecx, esi
call fcn.0040fe34
add esi, 0x48
cmp esi, ebx
jne 0x430583
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 0x430700
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.00430822
push 0x4a50ac
call fcn.00403def
pop ecx
push eax
push 0x4a50ac
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 0x4306f1
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 0x4306b4
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.0046fee0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.004301c1
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.0046fee0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.004301c1
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 0x4306e6
push 0x4a50a8
call fcn.00403def
pop ecx
push eax
push 0x4a50a8
lea ecx, [ebp - 0x28]
call fcn.004053cb
push 0x4a50a8
call fcn.00403def
pop ecx
push eax
push 0x4a50a8
lea ecx, [ebp - 0x40]
call fcn.004053cb
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00430799
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040fe34
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x4305a3
call fcn.0046e780
ret
Function at 0x430b91
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.0046ca80
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.0046ca80
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 0x430c2c
cmp dword [0x4c4f50], 8
mov eax, 0x4c4f3c
cmovae eax, dword [0x4c4f3c]
jmp 0x430c3f
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.0046a3dd
mov esp, ebp
pop ebp
ret

Function at 0x4314e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48d4c0
call fcn.0046e79e
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 0x4315a8
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043d3da
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.0043d3d5
pop ecx
jmp 0x4315ab
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046e76c
ret
Function at 0x4319ef
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x174
mov eax, 0x48f73f
call fcn.0046e7d1
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x168], edx
call fcn.004111cf
lea ecx, [edi + 0x34]
call fcn.004111cf
lea eax, [ebp - 0x160]
mov dword [ebp - 4], edx
push eax
xor ecx, ecx
mov dword [ebp - 0x160], edx
push 0x4a5418
inc ecx
push ecx
push edx
push 0x4a5408
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 0x4a522c
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 0x431be2
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 0x431b69
mov eax, dword [ebp - 0x174]
shr eax, 0x14
push eax
lea eax, [ebp - 0x11c]
push 0x4a3a58
push eax
call fcn.0046aff6
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.004112cc
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x34]
call fcn.004114e3
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.004114c7
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 0x431be2
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.004112cc
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.004114e3
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.004114c7
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.0046e780
ret
Function at 0x431c16
Capabilities:
Get system information on windows

Disassembly:
push 0x84
mov eax, 0x48f7b8
call fcn.0046e7d1
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.00431d98
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.004114e3
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004114c7
call fcn.00431ed5
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.004111f5
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 3
call fcn.004114e3
lea ecx, [ebp - 0x5c]
call fcn.004114c7
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.00422b5c
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.004111f5
push eax
lea ecx, [ebx + 0x34]
mov byte [ebp - 4], 5
call fcn.004114e3
lea ecx, [ebp - 0x5c]
call fcn.004114c7
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.0046bd81
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 0x431d43
lea ecx, [ebx + 8]
cmp dword [ecx - 4], 2
jne 0x431d32
cmp byte [ecx], 3
je 0x431d3c
inc esi
add ecx, 0x18
cmp esi, eax
jne 0x431d27
jmp 0x431d43
imul eax, esi, 0x18
mov edi, dword [eax + ebx + 0xc]
push ebx
call fcn.0046aa34
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.004111f5
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x64]
push eax
lea ecx, [esi + 0x9c]
call fcn.004114e3
lea ecx, [ebp - 0x5c]
call fcn.004114c7
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403790
mov eax, esi
call fcn.0046e780
ret
Function at 0x431ed5
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 0x431f8d
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 0x431f27
ja 0x431f43
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jb 0x431f27
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004881cf
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.004881cf
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm1
call fcn.00487e3f
push 0
push 0xf4240
push edx
push eax
call fcn.00475850
mov esp, ebp
pop ebp
ret