joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011d70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080cf0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 0xc]
and ecx, eax
shl ecx, 3
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + ecx]
cmp eax, dword [ebx]
jne 0x10011df8
mov esi, dword [ebx]
jmp 0x10011dfe
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10011e10
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10011e42
cmp esi, eax
jne 0x10011e04
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [eax]
push dword [edi + 4]
push edi
call fcn.10011d50
mov ecx, 0x15555554
mov edx, eax
sub ecx, dword [ebx + 4]
cmp ecx, 1
jae 0x10011e5f
push str.list_T__too_long
call fcn.10060a62
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc dword [ebx + 4]
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10011e98
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, dword [edx + 0xc]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10011eb5
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + ecx + 4], edi
jmp 0x10011ed8
cmp eax, esi
jne 0x10011ebd
mov dword [ecx], edi
jmp 0x10011ed8
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10011ed8
mov ecx, dword [ebp - 0x14]
add ecx, dword [edx + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.10013330
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10011f20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080d10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x10011fab
mov esi, dword [ebx + 4]
jmp 0x10011fb1
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10011fc3
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1001200a
cmp esi, eax
jne 0x10011fb7
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10011ff3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x10012045
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x10012067
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1006219e
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x1001204d
mov dword [ecx], edi
jmp 0x10012067
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10012067
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10013330
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x102
push edi
mov edi, dword [ebp + 0x24]
mov dword [edi], 1
je 0x100131ef
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
mov esi, dword [ebp + 0x14]
push 0x10
mov dword [ebp + 0x24], esi
call ebx
test ax, ax
jns 0x1001318a
or esi, 0x10000
mov dword [ebp + 0x24], esi
push 0x11
call ebx
test ax, ax
jns 0x1001319c
or esi, 0x20000
mov dword [ebp + 0x24], esi
push 0x12
call ebx
test ax, ax
jns 0x100131ae
or esi, 0x40000
mov dword [ebp + 0x24], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100bfaf4]
pop esi
pop ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100bf5a4]
cmp eax, dword [ecx + 4]
jg 0x100131f6
lea eax, [ebp + 0x24]
mov ecx, 0x100bf584
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.100138d0
mov eax, dword [ebp + 0x10]
cmp eax, dword [0x100bf588]
je 0x100131ef
mov dword [edi], 0
xor eax, eax
pop edi
pop ebp
ret 0x20
push 0x100bf5a4
call fcn.1006270a
add esp, 4
cmp dword [0x100bf5a4], 0xffffffff
jne 0x100131cc
push 0x100bf584
call fcn.100123e0
push 0x10088410
call fcn.100625c1
push 0x100bf5a4
call fcn.100626cb
add esp, 0xc
jmp 0x100131cc

Function at 0x10013750
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, ecx
jne 0x100137af
mov edx, ecx
jmp 0x100137b4
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x10013802
mov edx, dword [eax + 8]
cmp edx, dword [esi]
je 0x100137c3
mov eax, dword [eax]
jmp 0x100137a7
mov esi, dword [esi]
mov edx, eax
mov dword [ebp + 0xc], esi
nop word [eax + eax]
cmp ebx, ecx
jne 0x100137d8
mov esi, ecx
jmp 0x100137dd
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x100137ed
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x100137ed
mov eax, dword [eax]
jmp 0x100137d0
cmp edx, eax
je 0x10013802
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8
Function at 0x10013820
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x10013891
cmp dword [ecx], edi
jne 0x10013889
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10013899
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10013899
cmp dword [ecx], edi
jne 0x1001389c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1006219e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100138d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x1001392b
mov ecx, esi
jmp 0x10013930
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10013955
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1001393f
mov eax, dword [eax]
jmp 0x10013923
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10013990
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push esi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100139d6
mov eax, dword [ebp + 0x14]
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
pop esi
test eax, eax
jne 0x100139d0
push str.CryptHashData_is_failed
jmp 0x100139db
mov esp, ebp
pop ebp
ret 0x10
push str.CryptCreateHash_is_failed
push dword [ebp + 8]
call fcn.10033a50
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0xc]
push eax
call fcn.10063e94
int3
Function at 0x10013e10
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082988
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov ecx, 0x10000000
cmp byte [ebp + 8], al
cmovne eax, ecx
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x10013e87
push 0x10089fac
lea ecx, [ebp + 8]
call fcn.10007930
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x20]
call fcn.100216b0
push 0x100adb08
lea eax, [ebp - 0x20]
push eax
call fcn.10063e94
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100168e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100813b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10008530
mov ecx, eax
test ecx, ecx
jne 0x1001691d
push 0x80004005
call fcn.10008310
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
call fcn.10008530
mov ecx, eax
test ecx, ecx
jne 0x10016944
push 0x80004005
call fcn.10008310
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x10016977
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10008cd0
mov edi, dword [ebp - 0x14]
cmp dword [edi - 8], 0x104
jge 0x1001698a
push 0x80070057
call fcn.10008310
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
push 0x104
mov dword [edi - 0xc], 0x104
push edi
mov word [edi + 0x208], ax
call esi
test eax, eax
jne 0x100169e7
push dword [edi - 8]
push edi
call fcn.1006887d
add esp, 8
test eax, eax
js 0x10016980
cmp eax, dword [edi - 8]
jg 0x10016980
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x28]
push eax
call fcn.10063e94
cmp eax, 0x103
jbe 0x100169fe
push eax
push eax
lea ecx, [ebp - 0x14]
call fcn.10016ad0
push eax
call esi
mov edi, dword [ebp - 0x14]
push dword [edi - 8]
push edi
call fcn.1006887d
add esp, 8
test eax, eax
js 0x10016980
cmp eax, dword [edi - 8]
jg 0x10016980
push dword [ebp + 8]
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000ecd0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10007eb0
mov edx, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016a65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov eax, ebx
setne byte [ebp - 0xd]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10016a90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10016aac
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017c10
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0
push 0x100bb01c
push dword [0x100bf5b4]
lea eax, [ebp - 0x10]
push eax
call sub.CRYPT32.dll_CryptProtectData
test eax, eax
je 0x10017c88
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov byte [ebp + 8], 0
push dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
add eax, edx
push eax
push edx
call fcn.10016ed0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x1c]
push eax
call fcn.10063e94
int3

Function at 0x10017cb0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push 0
push 0x100bb01c
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x10017d6b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
add eax, edx
push eax
push edx
call fcn.10016ed0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x10017d3e
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10017d30
mov eax, dword [ebp - 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10017d88
push eax
push 0x100bf5b4
call fcn.1000ec70
add esp, 8
push dword [ebp + 8]
test al, al
jne 0x10017da3
call esi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x20]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x20]
push eax
call fcn.10063e94
push 0xcaa40001
lea ecx, [ebp - 0x2c]
call fcn.10051630
push 0x100ad9f4
lea eax, [ebp - 0x2c]
push eax
call fcn.10063e94
call esi
push 0xcaa40001
lea ecx, [ebp - 0x38]
call fcn.10051630
push 0x100ad9f4
lea eax, [ebp - 0x38]
push eax
call fcn.10063e94
int3
Function at 0x10017ee0
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081488
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf0000000
push dword [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10017f50
call fcn.100174f0
test eax, eax
jns 0x10017f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x24]
push eax
call fcn.10063e94
mov edi, dword [ebp + 0x10]
push edi
push 0
push 0
push 0x8004
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10017f90
call fcn.100174f0
test eax, eax
jns 0x10017f90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x24]
push eax
call fcn.10063e94
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
push 4
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x10017fdc
call fcn.100174f0
test eax, eax
jns 0x10017fdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x24]
push eax
call fcn.10063e94
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push dword [0x100bb01c]
push dword [0x100bb020]
push dword [edi]
call esi
test eax, eax
jne 0x1001801e
call fcn.100174f0
test eax, eax
jns 0x1001801e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x24]
push eax
call fcn.10063e94
mov ebx, dword [ebp + 0x18]
push 0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
push eax
push ecx
push dword [edi]
call esi
test eax, eax
jne 0x1001805a
call fcn.100174f0
test eax, eax
jns 0x1001805a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x24]
push eax
call fcn.10063e94
mov esi, dword [ebp + 0x1c]
mov ecx, esi
push ebx
call fcn.10017300
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 4]
push eax
call fcn.10018b30
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x14]
sub eax, dword [ebp - 0x14]
push ecx
push eax
mov ecx, edi
call fcn.10017eb0
test eax, eax
jns 0x100180b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.10049360
push 0x100adf48
lea eax, [ebp - 0x24]
push eax
call fcn.10063e94
lea ecx, [ebp + 0xc]
call fcn.100170e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c190
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x1001c361
push ebx
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x1001c360
cmp eax, 0x29
jne 0x1001c1c8
cmp dword [esi + 0x10], 0
jne 0x1001c360
test dword [esi + 0x50], 0x10000000
je 0x1001c365
cmp eax, 0x2e
jne 0x1001c225
push 5
lea ecx, [esi + 0x24]
call fcn.1001ee20
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1001c219
cmp word [eax], 0x5c
jne 0x1001c216
add eax, 2
cmp eax, ecx
je 0x1001c216
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001c202
movzx edx, word [eax]
cmp edx, 0x28
je 0x1001c214
cmp edx, 0x29
je 0x1001c214
test cl, 0x10
jne 0x1001c216
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x1001c214
cmp ecx, 0x7d
jne 0x1001c216
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.1001f430
jmp 0x1001c34d
cmp eax, 0x5c
jne 0x1001c28c
mov ecx, esi
call fcn.1001ee90
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x1001c258
cmp word [esi + 0x48], 0x62
jne 0x1001c258
push 4
lea ecx, [esi + 0x24]
call fcn.1001ee20
mov ecx, esi
call fcn.1001ee90
jmp 0x1001c354
test eax, eax
je 0x1001c280
cmp word [esi + 0x48], 0x42
jne 0x1001c280
push 4
lea ecx, [esi + 0x24]
call fcn.1001ee20
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.1001ee90
jmp 0x1001c354
mov ecx, esi
call fcn.1001c470
jmp 0x1001c34d
cmp eax, 0x5b
jne 0x1001c2af
mov ecx, esi
call fcn.1001ee90
mov ecx, esi
call fcn.1001ca90
push 4
push 0x5d
mov ecx, esi
call fcn.1001e3c0
jmp 0x1001c34d
cmp eax, 0x28
jne 0x1001c2d9
mov ecx, esi
call fcn.1001ee90
mov ecx, esi
call fcn.1001f670
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1001e3c0
test bl, bl
je 0x1001c354
jmp 0x1001c34d
cmp eax, 0x5e
jne 0x1001c2f1
push 2
lea ecx, [esi + 0x24]
call fcn.1001ee20
mov ecx, esi
call fcn.1001ee90
jmp 0x1001c354
cmp eax, 0x24
jne 0x1001c309
push 3
lea ecx, [esi + 0x24]
call fcn.1001ee20
mov ecx, esi
call fcn.1001ee90
jmp 0x1001c354
cmp eax, 0x2a
je 0x1001c37a
cmp eax, 0x2b
je 0x1001c37a
cmp eax, 0x3f
je 0x1001c37a
cmp eax, 0x7b
je 0x1001c37a
cmp eax, 0x7d
jne 0x1001c32b
test dword [esi + 0x50], 0x10000000
je 0x1001c36c
cmp eax, 0x5d
jne 0x1001c339
test dword [esi + 0x50], 0x10000000
je 0x1001c373
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1001b720
mov ecx, esi
call fcn.1001ee90
mov ecx, esi
call fcn.1001eee0
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x1001c1a0
pop ebx
mov al, cl
pop esi
ret
push 5
call fcn.10060aa2
push 6
call fcn.10060aa2
push 4
call fcn.10060aa2
push 0xa
call fcn.10060aa2
int3

Function at 0x1001fcb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1001fce1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1001fcd0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8