joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401240
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x54
mov eax, dword [0x42b00c]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
xor bl, bl
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x7c]
push 0xf0000000
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
push 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40141e
mov ecx, 0x20
mov dword [esp + 0x34], 0x208
cmp dword [ebp], ecx
lea eax, [esp + 0x40]
xorps xmm0, xmm0
mov dword [esp + 0x38], 0x6610
cmovb ecx, dword [ebp]
push ecx
push esi
push eax
mov dword [esp + 0x48], 0x20
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x5c], xmm0
call fcn.00418b90
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x2c
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x40140d
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea eax, [esp + 0x20]
push 0
push eax
push 4
push dword [esp + 0x1c]
mov dword [esp + 0x30], 1
call ebp
test eax, eax
je 0x4013fe
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 4
push eax
push 8
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x4013fe
mov eax, dword [esp + 0x14]
shr eax, 3
push eax
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4013fe
push dword [esp + 0x14]
push 0
push esi
call fcn.0040aab0
add esp, 0xc
push 0
push esi
push 1
push dword [esp + 0x1c]
call ebp
push esi
test eax, eax
jne 0x4013a5
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4013fe
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x28]
mov ecx, esi
mov eax, dword [edi]
mov ebp, dword [esp + 0x30]
cmp eax, dword [esi]
cmovb ecx, edi
mov eax, dword [ecx]
push eax
push dword [esp + 0x30]
push ebp
call fcn.00418b90
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push dword [edi]
push eax
push ebp
push 0
push 0
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x4013f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4013fe
mov eax, dword [esp + 0x1c]
mov bl, 1
mov dword [edi], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40140d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40141e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408182
add esp, 0x54
ret 0x18
Function at 0x4020b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4020c5
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4020fd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4020f9
cmp esi, edx
jae 0x4020fd
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4020e7
cmp esi, edx
jb 0x402103
pop esi
pop edi
xor eax, eax
pop ebx
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402290
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [edi], 0
push eax
push 0
push dword [esp + 0x1c]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4022f5
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4022d1
cmp eax, 2
jne 0x4022e4
mov eax, dword [esp + 0x14]
test esi, esi
je 0x4022f1
test eax, eax
je 0x4022ee
cmp byte [eax + esi - 1], 0
je 0x4022f1
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x403040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419630
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x42b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call section..bhpa2
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
lea eax, [ebp + 8]
mov dword [ebp - 0x14], ecx
push eax
call fcn.00404b60
push ecx
mov byte [ebp - 4], 1
lea eax, [esi + 0x34]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 0x18], ecx
call fcn.00404b60
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
lea eax, [esi + 0x30]
mov dword [ebp - 0x18], ecx
push eax
call fcn.00404b60
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.004040e0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [esi + 0x48]
mov dword [ebp - 0x14], ecx
push eax
call fcn.00404b60
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
lea eax, [esi + 0x44]
mov dword [ebp - 0x14], ecx
push eax
call fcn.00404b60
mov ecx, esi
mov byte [ebp - 4], 0
call section..scny2
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40310e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x164
mov eax, dword [0x42b00c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
push 0x105
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0040aab0
add esp, 8
mov dword [esp + 0x14], 0x104
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push ecx
lea ecx, [esp + 0x20]
mov word [esp + 0x38], 0x4d5c
mov dword [esp + 0x4b], 0x70784520
mov dword [esp + 0x3b], 0x736f7263
mov dword [esp + 0x30], 0x54464f53
mov dword [esp + 0x50], 0x7265726f
mov dword [esp + 0x41], 0x6e495c74
mov byte [esp + 0x54], 0
mov dword [esp + 0x47], 0x74656e72
mov word [esp + 0x35], 0x5241
mov word [esp + 0x45], 0x6574
mov byte [esp + 0x34], 0x57
mov word [esp + 0x3f], 0x666f
mov byte [esp + 0x3a], 0x69
mov byte [esp + 0x37], 0x45
mov byte [esp + 0x4f], 0x6c
call fcn.00402220
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x403e08
lea eax, [esp + 0x10]
mov dword [esp + 0x53], 0x6e6f69
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x50], 0x56637673
push eax
lea eax, [esp + 0x54]
mov word [esp + 0x58], 0x7265
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x5e], 0x73
call fcn.00402290
test eax, eax
je 0x403df9
lea eax, [esp + 0x10]
mov word [esp + 0x5c], 0x6556
push eax
lea eax, [esp + 0x6c]
mov word [esp + 0x63], 0x6973
push eax
lea eax, [esp + 0x64]
mov word [esp + 0x6a], 0x6e
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6a], 0x72
mov byte [esp + 0x6d], 0x6f
call fcn.00402290
mov esi, dword [esp + 0x14]
test esi, esi
je 0x403e0c
push esi
call ebp
xor esi, esi
jmp 0x403e0c
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrA]
lea eax, [esp + 0x68]
push 0x424f78
push eax
call ebx
mov edi, eax
test edi, edi
je 0x403e9e
xor eax, eax
mov byte [esp + 0x10], 0
mov word [esp + 0x11], ax
mov ecx, edi
mov byte [esp + 0x13], al
lea eax, [esp + 0x68]
sub ecx, eax
push ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418b90
lea eax, [esp + 0x1c]
push eax
call fcn.0040d6dd
add esp, 0x10
mov dword [esp + 0x20], eax
inc edi
mov dword [esp + 0x10], 0
push 0x424f7c
push edi
call ebx
test eax, eax
je 0x403e89
sub eax, edi
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00418b90
lea eax, [esp + 0x1c]
push eax
call fcn.0040d6dd
add esp, 0x10
xor ebx, ebx
cmp dword [esp + 0x20], 0xb
setl bl
test esi, esi
je 0x403e9a
push esi
call ebp
mov eax, ebx
jmp 0x403eaa
test esi, esi
je 0x403ea5
push esi
call ebp
mov eax, 1
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408182
add esp, 0x164
ret
Function at 0x403ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41983d
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x42b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x160], edi
mov dword [ebp - 4], 0
push 0x424f80
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x170], 0
call fcn.004048b0
push 0x105
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x170], 1
push 0
push eax
call fcn.0040aab0
mov dword [ebp - 0x160], 0x104
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x38]
add esp, 8
mov word [ebp - 0x21], 0x6e72
mov word [ebp - 0x2d], 0x7263
mov word [ebp - 0x38], 0x4f53
mov dword [ebp - 0x35], 0x52415754
push eax
push ecx
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x26], 0x746e495c
mov dword [ebp - 0x1e], 0x78452074
mov word [ebp - 0x30], 0x4d5c
mov dword [ebp - 0x17], 0x726572
mov word [ebp - 0x28], 0x7466
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x2e], 0x69
mov word [ebp - 0x2b], 0x736f
mov word [ebp - 0x1a], 0x6c70
mov byte [ebp - 0x31], 0x45
mov byte [ebp - 0x36], 0x46
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x1f], 0x65
call fcn.00402220
test eax, eax
jne 0x404085
mov byte [ebp - 0x3e], al
lea ecx, [ebp - 0x16c]
lea eax, [ebp - 0x160]
mov word [ebp - 0x47], 0x6376
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x44], 0x69737265
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 0x45], 0x56
push eax
mov byte [ebp - 0x48], 0x73
mov word [ebp - 0x40], 0x6e6f
call fcn.00402290
test eax, eax
je 0x404060
lea eax, [ebp - 0x160]
mov dword [ebp - 0x53], 0x69737265
push eax
lea eax, [ebp - 0x15c]
mov word [ebp - 0x4e], 0x6e
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 0x54], 0x56
push eax
lea ecx, [ebp - 0x16c]
mov byte [ebp - 0x4f], 0x6f
call fcn.00402290
mov esi, dword [ebp - 0x16c]
test esi, esi
je 0x404079
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], 0
jmp 0x40408b
mov esi, dword [ebp - 0x16c]
push 0x424f84
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x4040b6
lea eax, [ebp - 0x15c]
push eax
push 0x424f88
push edi
call fcn.00404f20
add esp, 0xc
test esi, esi
je 0x4040c1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408182
mov esp, ebp
pop ebp
ret
Function at 0x404210
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4198bb
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x42b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xd4]
lea esi, [ecx + 0xd4]
mov dword [ebp - 0x418], esi
cmp dword [eax - 0xc], 0
je 0x4043ca
push 0x44
lea eax, [ebp - 0x46c]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x428], xmm0
call fcn.0040aab0
xor eax, eax
mov dword [ebp - 0x46c], 0x44
push 0x400
push eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 0x440], 1
call fcn.0040aab0
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x400
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call fcn.004023e0
mov ecx, eax
test ecx, ecx
jne 0x4042d0
push 0x80004005
call fcn.00401fc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x414]
push dword [esi]
push str._d__c__s
push eax
call fcn.00404f20
mov esi, dword [ebp - 0x414]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x40431d
push dword [esi - 0xc]
lea ecx, [ebp - 0x414]
call fcn.00404990
mov esi, dword [ebp - 0x414]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40438f
push 0xbb8
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x418]
push 0
push 0x42378f
call fcn.00404cc0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi - 8]
push esi
call fcn.0040ba31
add esp, 8
test eax, eax
js 0x4043e6
cmp eax, dword [esi - 8]
jg 0x4043e6
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4043ca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408182
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401fc0
int3
Function at 0x405190
Capabilities:
Check if file exists
Check mutex on windows
Contain obfuscated stackstrings
Set registry value

Disassembly:
sub esp, 0x4c
mov eax, dword [0x42b00c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x1e], 0x495c6572
push eax
push 4
lea eax, [esp + 0x54]
mov word [esp + 0x2b], 0x41
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x26], 0x61777466
push eax
push 0x80000002
mov word [esp + 0x2c], 0x6f53
mov byte [esp + 0x36], 0x54
mov dword [esp + 0x67], 0x45496465
mov dword [esp + 0x61], 0x6174736e
mov word [esp + 0x65], 0x6c6c
mov byte [esp + 0x6b], 0
mov byte [esp + 0x60], 0x49
mov word [esp + 0x58], 0x376f
mov word [esp + 0x5b], 0x38
mov byte [esp + 0x5a], 0x34
mov dword [esp + 0x52], 0x69727064
mov word [esp + 0x56], 0x7247
mov word [esp + 0x50], 0x7075
mov word [esp + 0x44], 0x726f
mov dword [esp + 0x46], 0x6e7572
mov word [esp + 0x41], 0x7070
mov dword [esp + 0x3c], 0x656b696c
mov byte [esp + 0x43], 0x66
mov byte [esp + 0x40], 0x61
mov dword [esp + 0x28], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x38]
push eax
push 0
push 0x100000
call ebx
test eax, eax
jne 0x4052c7
call esi
cmp eax, 2
jne 0x4052ca
lea eax, [esp + 0x24]
push eax
push 0
push 0x100000
call ebx
test eax, eax
jne 0x4052c7
call esi
cmp eax, 2
jne 0x4052ca
lea ecx, [esp + 0x14]
call fcn.004060f0
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408182
add esp, 0x4c
ret 0x10
push eax
call edi
push 0x3e8
call ebp
jmp 0x405275
Function at 0x406d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419c28
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x42b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x2b], 0x6c6c64
mov dword [ebp - 0x2f], 0x2e32336c
mov dword [ebp - 0x33], 0x656e7265
mov byte [ebp - 0x34], 0x4b
mov dword [ebp - 0x1a], 0x747865
mov word [ebp - 0x1d], 0x3233
mov dword [ebp - 0x22], 0x7365636f
mov byte [ebp - 0x1e], 0x73
mov byte [ebp - 0x1b], 0x4e
mov word [ebp - 0x24], 0x7250
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x406db8
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x406de1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406dda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x406e87
push 0
push 2
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x406e58
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x406e51
nop dword [eax]
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 8]
call fcn.0040d901
add esp, 8
test eax, eax
je 0x406e47
lea eax, [ebp - 0x15c]
push eax
push esi
call edi
cmp eax, 1
je 0x406e20
jmp 0x406e51
mov dword [ebp - 0x160], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x406e81
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408182
mov esp, ebp
pop ebp
ret
Function at 0x407df0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov edi, edx
mov al, byte [ebx]
test al, al
je 0x407ed8
push esi
cmp al, 0x24
je 0x407e3c
cmp al, 0x26
je 0x407e3c
cmp al, 0x2b
je 0x407e3c
cmp al, 0x2c
je 0x407e3c
cmp al, 0x2f
je 0x407e3c
cmp al, 0x3a
je 0x407e3c
cmp al, 0x3b
je 0x407e3c
cmp al, 0x3d
je 0x407e3c
cmp al, 0x3f
je 0x407e3c
cmp al, 0x40
je 0x407e3c
cmp al, 0x23
je 0x407e3c
cmp al, 0x20
je 0x407e3c
mov byte [edi], al
inc edi
jmp 0x407ecb
movsx eax, al
push eax
lea eax, [esp + 0x10]
push str.___02x
push eax
call fcn.00407dc0
lea ecx, [esp + 0x18]
add esp, 0xc
xor esi, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407e60
sub ecx, edx
je 0x407e9d
nop dword [eax + eax]
movsx eax, byte [esp + esi + 0xc]
push eax
call fcn.0040decb
mov byte [esp + esi + 0x10], al
add esp, 4
lea eax, [esp + 0xc]
inc esi
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407e90
sub eax, edx
cmp esi, eax
jb 0x407e70
lea ecx, [esp + 0xc]
mov edx, edi
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x407ea7
lea ecx, [esp + 0xc]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407ec0
sub ecx, edx
add edi, ecx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x407e04
pop esi
mov byte [edi], 0
pop edi
pop ebx
add esp, 8
ret

Function at 0x407ef0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
mov ebp, eax
push ebx
mov dword [esp + 0x1c], ebp
call esi
cmp edi, ebp
mov ebx, eax
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
je 0x407f36
push 1
push dword [esp + 0x18]
push edi
call ebp
cmp ebx, edi
je 0x407f40
push 1
push edi
push ebx
call ebp
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0x2000
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x2001
call esi
push 2
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x2001
call esi
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x407fae
push 0
push eax
push edi
call ebp
cmp ebx, edi
je 0x407fb8
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
Function at 0x41d000
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d1b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
call section..bhpa2
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea eax, [ebp + 8]
mov dword [ebp - 0x24], 0x776f6853
push eax
mov dword [ebp - 0x19], 0x656d6f63
mov byte [ebp - 0x15], 0
mov word [ebp - 0x1e], 0x7362
mov word [ebp - 0x1b], 0x6c65
mov word [ebp - 0x20], 0x6154
mov byte [ebp - 0x1c], 0x57
mov dword [ebp - 0x28], ecx
call fcn.00404b60
push ecx
mov byte [ebp - 4], 1
lea eax, [edi + 0x34]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x2c], ecx
call fcn.00404b60
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
lea eax, [edi + 0x30]
mov dword [ebp - 0x2c], ecx
push eax
call fcn.00404b60
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004040e0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [edi + 0x3c]
mov dword [ebp - 0x28], ecx
push eax
call fcn.00404b60
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
lea esi, [edi + 0x38]
mov dword [ebp - 0x28], ecx
push esi
call fcn.00404b60
mov ecx, edi
mov byte [ebp - 4], 0
call section..scny2
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [edi + 0x40]
mov dword [ebp - 0x28], ecx
push eax
call fcn.00404b60
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
push esi
mov dword [ebp - 0x28], ecx
call fcn.00404b60
mov ecx, edi
mov byte [ebp - 4], 0
call section..scny2
push 0
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.004048b0
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push esi
mov dword [ebp - 0x28], ecx
call fcn.00404b60
mov ecx, edi
mov byte [ebp - 4], 0
call section..scny2
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d155
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408182
mov esp, ebp
pop ebp
ret 4
Function at 0xa6f370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xa6f38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa98074
push ecx
mov edi, eax
call fcn.00a83198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa6f3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a8302e
push esi
call fcn.00a82fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret