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

Disassembly:
push 0x18
mov eax, 0x1010b5b2
call fcn.10062848
mov esi, edx
mov edi, ecx
xor ebx, ebx
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
jb 0x100806ae
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008072c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10080727
cmp dword [ebp - 0x14], 1
je 0x100806d7
cmp dword [ebp - 0x14], 2
jne 0x10080727
push ecx
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push ecx
add eax, 2
lea ecx, [ebp - 0x24]
push eax
call fcn.1004abd7
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 8
jb 0x100806f6
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x1008071b
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
call fcn.1004abd7
lea ecx, [ebp - 0x24]
call fcn.10074a9b
mov eax, esi
jmp 0x1008072c
mov eax, 0x65e
call fcn.100627ff
ret 4

Function at 0x100872c2
Capabilities:
Check if file exists

Disassembly:
push 0x210
mov eax, 0x1010c17f
call fcn.10062882
mov ebx, dword [ebp + 8]
xor edi, edi
push ecx
push ecx
push ecx
mov edx, 0x104
mov dword [ebx], edi
lea ecx, [ebp - 0x218]
mov dword [ebx + 4], edi
call fcn.1004abd7
push 0x10030a88
lea ecx, [ebp - 0x218]
call fcn.1004abd7
lea eax, [ebp - 0x218]
push eax
push edi
push 0x1f0003
call dword [sym.imp.kernel32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x10087336
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x10087326
xor eax, eax
jmp 0x10087384
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.1004abd7
jmp 0x10087384
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], edi
mov ecx, esi
call fcn.1004abd7
mov edi, eax
test edi, edi
jns 0x10087367
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.1004abd7
mov dword [ebp - 4], 2
jmp 0x1008737c
mov eax, dword [ebp - 0x21c]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 4], 8
xor edi, edi
push esi
call fcn.1004abd7
mov eax, edi
call fcn.1006281a
ret 8
Function at 0x1008d8ff
Capabilities:
Get thread local storage value

Disassembly:
push 0x9c
mov eax, 0x1010ccec
call fcn.10062882
mov dword [ebp - 0x5c], ecx
cmp dword [ecx], 0
mov ebx, dword [ebp + 8]
je 0x1008dad9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1008d66a
test al, al
je 0x1008dad9
mov eax, 0x1001ddfc
lea edi, [ebp - 0x34]
mov esi, eax
lea ecx, [ebp - 0x4c]
mov edx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x50], al
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
call fcn.1007fde7
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x50]
and dword [ebp - 4], 0
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1008e2af
test al, al
je 0x1008dad1
push ecx
lea esi, [edi + 0x10]
push esi
lea ecx, [ebp - 0x68]
call fcn.1004abd7
lea ecx, [edi + 0x90]
lea edx, [ebp - 0x34]
call fcn.1008cd49
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x10002784
mov bl, al
call fcn.1006d409
test bl, bl
jne 0x1008dad1
cmp dword [ebp - 0x58], 3
jne 0x1008d9fb
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.1004abd7
test al, al
jne 0x1008da1e
push ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.1004abd7
push 9
add edi, 0x6c
mov dword [ebp - 0x68], 0x10002784
pop ecx
lea esi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x68]
call fcn.1006d409
mov edi, dword [ebp - 0x5c]
cmp dword [ebp - 0x58], 1
jne 0x1008da1e
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.1004abd7
test al, al
jne 0x1008da1e
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.1004abd7
push dword [ebp - 0x50]
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp - 0x80]
call fcn.1008d762
test al, al
je 0x1008dad1
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.1004abd7
test al, al
jne 0x1008da96
push dword [ebp - 0x80]
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.1004abd7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 0
je 0x1008da78
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.1008df5f
test al, al
jne 0x1008da86
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.1008ec71
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1008dad1
call fcn.10070c16
jmp 0x1008dad1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1008da96
call fcn.10070c16
cmp dword [edi + 0xb8], 0xffffffff
je 0x1008dad1
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 2
push dword [edi + 0xb8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 3
jne 0x1008daca
push 2
pop edx
lea ecx, [ebp - 0x34]
call fcn.10092aad
push esi
call dword [sym.imp.kernel32.dll_SetLastError]
lea ecx, [ebp - 0x4c]
call fcn.1006ab66
call fcn.1006281a
ret 4
Function at 0x1008dc58
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push 0x58
mov eax, 0x1010cd69
call fcn.10062882
mov edi, ecx
xor ebx, ebx
push ebx
call fcn.1008e630
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [edi + 0xb4], eax
cmp eax, 0xffffffff
je 0x1008dc87
push ebx
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [edi + 0xb8], eax
cmp eax, 0xffffffff
je 0x1008dca0
push ebx
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor edx, edx
lea ecx, [ebp - 0x2c]
call fcn.1007e71b
push eax
lea ecx, [ebp - 0x44]
call fcn.1004abd7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.1006ab66
lea ebx, [edi + 0x90]
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov esi, eax
lea ecx, [edi + 0x100]
lea eax, [ebp - 0x64]
push eax
call fcn.1004abd7
mov edx, eax
and dword [ebp - 0x4c], 0
lea eax, [edi + 0xa0]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], 0x1008f120
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], esi
mov ecx, dword [edx]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0x48], eax
and dword [edx], 0
and dword [edx + 4], 0
mov byte [ebp - 4], 2
call fcn.100e128c
fld dword [0x1003f890]
push ecx
lea ecx, [ebp - 0x5c]
mov edx, dword [eax + 4]
fstp dword [esp]
call fcn.1008bd57
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1008dd37
call fcn.10070c16
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x1008dd47
call fcn.10070c16
mov ecx, ebx
call fcn.10072e31
test al, al
jne 0x1008dd59
mov ecx, edi
call fcn.1008dd9d
cmp byte [edi + 0x33], 0
jne 0x1008dd83
call fcn.1006c2af
lea ecx, [edi + 0xa0]
push ecx
push ebx
mov ecx, eax
call fcn.10089f34
xor eax, eax
and edx, 0x80
or eax, edx
je 0x1008dd83
mov byte [edi + 0x33], 1
lea ecx, [ebp - 0x44]
mov byte [edi + 0x31], 1
call fcn.1006ab66
call fcn.1006281a
ret 4

Function at 0x1009c0bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x28
push 0x10120a98
call fcn.10061f30
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009c151
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1009c151
cmp dword [esi], ebx
jne 0x1009c0e9
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1009c15a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
and dword [ebp - 0x1c], eax
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualQuery]
test byte [ebp - 0x24], 0x33
je 0x1009c11c
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1009c151
push ebx
push esi
call fcn.1009c172
test byte [ebp - 0x1c], 0x33
je 0x1009c0de
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push 4
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
jmp 0x1009c0de
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1009fec6
Capabilities:
Print debug messages

Disassembly:
push 0x98
mov eax, 0x1010e160
call fcn.10062882
mov edi, edx
mov eax, ecx
mov dword [ebp - 0xa4], eax
mov ebx, dword [ebp + 8]
call fcn.10072e31
test al, al
je 0x100a00df
test ebx, ebx
je 0x100a00df
cmp dword [ebx], 0
je 0x100a00df
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.1004abd7
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0xd], 0
jne 0x1009ff21
lea eax, [esi + 0x10]
push eax
push edi
call fcn.1004abd7
test al, al
je 0x1009ff27
mov esi, dword [0x1013c80c]
cmp esi, dword [0x1013c80c]
je 0x1009ff4b
push dword [ebx]
mov esi, dword [esi + 0x20]
mov ecx, esi
push dword [ebp - 0xa4]
call dword [0x1013e49c]
call esi
mov dword [ebx], eax
jmp 0x100a00df
xor esi, esi
mov ecx, 0x1001de0c
mov edx, esi
mov eax, dword [edi + edx*4]
cmp eax, dword [ecx + edx*4]
jne 0x1009ff6e
inc edx
cmp edx, 4
jne 0x1009ff54
mov ecx, dword [ebx]
call fcn.1009fc10
jmp 0x100a00df
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x28], ax
push 1
mov edx, edi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x70]
call fcn.10088339
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x30], esi
push 0x1002e188
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x40], ax
call fcn.1004abd7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x48], esi
push 0x10031580
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x58], ax
call fcn.1004abd7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
jb 0x1009ffd6
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
push eax
call fcn.1004abd7
push eax
lea ecx, [ebp - 0x88]
call fcn.1004abd7
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x88]
call fcn.1008060c
lea ecx, [ebp - 0x88]
call fcn.1006ab66
lea ecx, [ebp - 0x58]
call fcn.1006ab66
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1006ab66
lea eax, [ebp - 0x70]
mov edx, 0x100315c8
push eax
lea ecx, [ebp - 0xa0]
call fcn.1004abd7
push 0x100315b8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1004abd7
push eax
lea ecx, [ebp - 0x58]
call fcn.1004abd7
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x100a0062
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
call fcn.1004abd7
push eax
lea ecx, [ebp - 0x88]
call fcn.1004abd7
push 0x100315bc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.1004abd7
push eax
lea ecx, [ebp - 0x40]
call fcn.1004abd7
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x100a00a2
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
call fcn.1006ab66
lea ecx, [ebp - 0x88]
call fcn.1006ab66
lea ecx, [ebp - 0x58]
call fcn.1006ab66
lea ecx, [ebp - 0xa0]
call fcn.1006ab66
lea ecx, [ebp - 0x70]
call fcn.1006ab66
lea ecx, [ebp - 0x28]
call fcn.1006ab66
call fcn.1006281a
ret 4
Function at 0x100aaa4d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x890
mov eax, 0x1010f0e5
call fcn.10062882
mov edi, edx
mov dword [ebp - 0x88c], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x890], eax
mov eax, edi
mov dword [ebp - 0x888], 7
mov dword [ebp - 0x884], 1
jb 0x100aaa8b
mov eax, dword [edi]
lea edx, [ebp - 0x884]
xor esi, esi
push edx
push esi
lea edx, [ebp - 0x888]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 2
je 0x100aaba0
cmp dword [ebp - 0x888], 7
jne 0x100aaba0
test ebx, ebx
jne 0x100aabaa
mov eax, dword [ebp - 0x884]
lea ecx, [ebp - 0x89c]
add eax, 2
push eax
mov dword [ebp - 0x884], eax
call fcn.100aae4d
mov dword [ebp - 4], 3
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100aaaf1
mov eax, dword [edi]
lea ecx, [ebp - 0x884]
push ecx
push dword [ebp - 0x89c]
lea ecx, [ebp - 0x888]
push ecx
push esi
push eax
push dword [ebp - 0x88c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x100aab4d
push 0x10032be8
lea ecx, [ebp - 0x58]
call fcn.1004abd7
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.1004abd7
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.1006a8f0
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x40]
jmp 0x100aabd8
mov eax, dword [ebp - 0x89c]
mov edi, dword [ebp - 0x890]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004abd7
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.1004abd7
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc eax
mov byte [ebp - 4], 3
add esi, eax
call fcn.1006ab66
mov ecx, dword [ebp - 0x89c]
lea eax, [ecx + esi*2]
cmp byte [eax], 0
jne 0x100aab59
lea ecx, [ebp - 0x89c]
call fcn.10074a9b
mov al, 1
jmp 0x100aaba2
xor al, al
call fcn.1006281a
ret 4
push 0x10032b20
lea ecx, [ebp - 0x40]
call fcn.1004abd7
push edi
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x58]
call fcn.1004abd7
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1006a8f0
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x58]
push eax
push esi
push ebx
push 0x21
lea ecx, [ebp - 0x880]
call fcn.1004abd7
push 0x1011c248
lea eax, [ebp - 0x880]
push eax
call fcn.1004abd7
int3
Function at 0x100aac4c
Capabilities:
Set registry value

Disassembly:
push 0x878
mov eax, 0x1010f160
call fcn.10062882
mov dword [ebp - 0x874], edx
mov dword [ebp - 0x878], ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x86c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x86c]
cmp esi, edi
setne al
test al, al
je 0x100aaca4
push esi
lea ecx, [ebp - 0x28]
call fcn.1004abd7
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc eax
add ebx, eax
call fcn.1006ab66
add esi, 0x18
jmp 0x100aac7f
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x884]
mov dword [ebp - 0x870], eax
call fcn.100aae4d
mov ebx, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x86c], 0
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x86c]
cmp esi, edi
setne al
test al, al
je 0x100aad18
push esi
lea ecx, [ebp - 0x28]
call fcn.1004abd7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x884]
inc ecx
push ecx
lea ecx, [ebp - 0x28]
lea edx, [edx + ebx]
call fcn.100ab044
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
lea ebx, [ebx + eax*2]
add ebx, 2
call fcn.1006ab66
add esi, 0x18
jmp 0x100aacd2
mov edx, dword [ebp - 0x884]
mov ecx, 0x1013b714
push 2
lea edx, [edx + ebx]
call fcn.100ab044
push dword [ebp - 0x870]
mov edi, dword [ebp - 0x874]
xor ebx, ebx
push dword [ebp - 0x884]
push 7
push ebx
push edi
push dword [ebp - 0x878]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x100aad6a
lea ecx, [ebp - 0x884]
call fcn.10074a9b
call fcn.1006281a
ret 8
push 0x10032aa0
lea ecx, [ebp - 0x28]
call fcn.1004abd7
push edi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1004abd7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1006a8f0
push ecx
push ecx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push esi
push 0x22
lea ecx, [ebp - 0x868]
call fcn.1004abd7
push 0x1011c248
lea eax, [ebp - 0x868]
push eax
call fcn.1004abd7
int3

Function at 0x100aadc1
Capabilities:
Set registry value

Disassembly:
push 0x85c
mov eax, 0x1010f1a5
call fcn.10062882
mov esi, edx
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push eax
push dword [ebp + 8]
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jne 0x100aadf5
call fcn.1006281a
ret 0xc
push 0x10032a30
lea ecx, [ebp - 0x28]
call fcn.1004abd7
push esi
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
call fcn.1004abd7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1006a8f0
push ecx
push ecx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push ebx
push edi
push 0x22
lea ecx, [ebp - 0x868]
call fcn.1004abd7
push 0x1011c248
lea eax, [ebp - 0x868]
push eax
call fcn.1004abd7
int3
Function at 0x100adc8b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100adde0
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100adde0
cmp eax, 0x29
jne 0x100adcc6
cmp dword [esi + 0x10], 0
jne 0x100adde0
test dword [esi + 0x50], edx
je 0x100adde6
cmp eax, 0x2e
jne 0x100adce1
push 5
lea ecx, [esi + 0x24]
call fcn.1004abd7
mov ecx, esi
call fcn.100af8da
jmp 0x100addca
cmp eax, 0x5c
jne 0x100add36
mov ecx, esi
call fcn.100af8da
test byte [esi + 0x50], 0x80
je 0x100add2a
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100add12
push 4
lea ecx, [esi + 0x24]
call fcn.1004abd7
mov ecx, esi
call fcn.100af8da
jmp 0x100addd1
cmp eax, 0x42
jne 0x100add2a
push 4
lea ecx, [esi + 0x24]
call fcn.1004abd7
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100add06
mov ecx, esi
call fcn.1004abd7
jmp 0x100addca
cmp eax, 0x5b
jne 0x100add56
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100ae2a3
cmp dword [esi + 0x4c], 0x5d
je 0x100adcd5
push 4
jmp 0x100adde8
cmp eax, 0x28
jne 0x100add73
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100afc2e
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100adde6
jmp 0x100addbf
cmp eax, 0x5e
jne 0x100add7c
push 2
jmp 0x100adcfe
cmp eax, 0x24
jne 0x100add88
push 3
jmp 0x100adcfe
cmp eax, 0x2a
je 0x100adddc
cmp eax, 0x2b
je 0x100adddc
cmp eax, 0x3f
je 0x100adddc
cmp eax, 0x7b
je 0x100adddc
cmp eax, 0x7d
jne 0x100adda6
test dword [esi + 0x50], edx
je 0x100addd8
cmp eax, 0x5d
jne 0x100addb0
test dword [esi + 0x50], edx
je 0x100add4f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1004abd7
mov bl, 1
mov ecx, esi
call fcn.100af8da
test bl, bl
je 0x100addd1
mov ecx, esi
call fcn.1004abd7
mov cl, 1
jmp 0x100adc94
push 6
jmp 0x100adde8
push 0xa
jmp 0x100adde8
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1004abd7
int3
Function at 0x100adc8f
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100adde0
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100adde0
cmp eax, 0x29
jne 0x100adcc6
cmp dword [esi + 0x10], 0
jne 0x100adde0
test dword [esi + 0x50], edx
je 0x100adde6
cmp eax, 0x2e
jne 0x100adce1
push 5
lea ecx, [esi + 0x24]
call fcn.1004abd7
mov ecx, esi
call fcn.100af8da
jmp 0x100addca
cmp eax, 0x5c
jne 0x100add36
mov ecx, esi
call fcn.100af8da
test byte [esi + 0x50], 0x80
je 0x100add2a
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100add12
push 4
lea ecx, [esi + 0x24]
call fcn.1004abd7
mov ecx, esi
call fcn.100af8da
jmp 0x100addd1
cmp eax, 0x42
jne 0x100add2a
push 4
lea ecx, [esi + 0x24]
call fcn.1004abd7
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100add06
mov ecx, esi
call fcn.1004abd7
jmp 0x100addca
cmp eax, 0x5b
jne 0x100add56
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100ae2a3
cmp dword [esi + 0x4c], 0x5d
je 0x100adcd5
push 4
jmp 0x100adde8
cmp eax, 0x28
jne 0x100add73
mov ecx, esi
call fcn.100af8da
mov ecx, esi
call fcn.100afc2e
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100adde6
jmp 0x100addbf
cmp eax, 0x5e
jne 0x100add7c
push 2
jmp 0x100adcfe
cmp eax, 0x24
jne 0x100add88
push 3
jmp 0x100adcfe
cmp eax, 0x2a
je 0x100adddc
cmp eax, 0x2b
je 0x100adddc
cmp eax, 0x3f
je 0x100adddc
cmp eax, 0x7b
je 0x100adddc
cmp eax, 0x7d
jne 0x100adda6
test dword [esi + 0x50], edx
je 0x100addd8
cmp eax, 0x5d
jne 0x100addb0
test dword [esi + 0x50], edx
je 0x100add4f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1004abd7
mov bl, 1
mov ecx, esi
call fcn.100af8da
test bl, bl
je 0x100addd1
mov ecx, esi
call fcn.1004abd7
mov cl, 1
jmp 0x100adc94
push 6
jmp 0x100adde8
push 0xa
jmp 0x100adde8
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1004abd7
int3

Function at 0x100b02fd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x100b0305
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100b0318
test al, 0x10
je 0x100b0318
mov al, 1
ret
xor al, al
ret
Function at 0x100b03a8
Capabilities:
Enumerate files on windows

Disassembly:
push 0xafc
mov eax, 0x1010f911
call fcn.10062882
mov ebx, edx
mov dword [ebp - 0xb04], ebx
mov esi, ecx
mov dword [ebp - 0xb08], esi
mov ecx, ebx
call fcn.100b02fd
test al, al
je 0x100b058d
mov ecx, esi
call fcn.10075cd8
xor esi, esi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], esi
mov word [ebp - 0x40], ax
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
call fcn.1004abd7
xor eax, eax
mov dword [ebp - 0x18], esi
mov edi, 0x1002e210
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.1004abd7
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.100ab0c6
mov bl, al
mov byte [ebp - 4], 3
neg bl
lea ecx, [ebp - 0x28]
sbb bl, bl
call fcn.1006ab66
add bl, 1
je 0x100b044c
push edi
lea ecx, [ebp - 0x40]
call fcn.1004abd7
cmp dword [0x1013b3d0], 8
mov eax, 0x1013b3bc
jb 0x100b045f
mov eax, dword [0x1013b3bc]
push dword [0x1013b3cc]
lea ecx, [ebp - 0x40]
push eax
call fcn.1004abd7
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x100b047a
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b04c7
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 3
je 0x100b057d
cmp eax, 2
je 0x100b057d
push 0x100332b8
lea ecx, [ebp - 0x70]
call fcn.1004abd7
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
push 0x11
jmp 0x100b05c6
push dword [ebp - 0xb04]
lea ecx, [ebp - 0x28]
call fcn.1004abd7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x48], esi
push 0x1002e210
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.1004abd7
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.100ab0c6
mov bl, al
mov byte [ebp - 4], 6
neg bl
lea ecx, [ebp - 0x58]
sbb bl, bl
call fcn.1006ab66
add bl, 1
je 0x100b052a
push 0x1002e210
lea ecx, [ebp - 0x28]
call fcn.1004abd7
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004abd7
lea ecx, [ebp - 0x28]
call fcn.1004abd7
test al, al
je 0x100b0554
mov ecx, dword [ebp - 0xb08]
lea eax, [ebp - 0x28]
push eax
call fcn.1004abd7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1006ab66
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x100b04c7
push edi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.1006ab66
call fcn.1006281a
ret 4
push 0x10033300
lea ecx, [ebp - 0x88]
call fcn.1004abd7
xor esi, esi
lea ecx, [ebp - 0x70]
push ebx
mov edx, eax
mov dword [ebp - 4], esi
call fcn.1004abd7
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.1006a8f0
push ecx
push ecx
push esi
push esi
lea eax, [ebp - 0x70]
push eax
push 0x32
lea ecx, [ebp - 0xb00]
call fcn.1004abd7
push 0x1011c248
lea eax, [ebp - 0xb00]
push eax
call fcn.1004abd7
int3