joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004ebf6
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebx + 0x4c]
mov edi, edx
mov dword [ebp - 0xc], edi
mov esi, ecx
test ebx, ebx
je 0x1004edf6
mov dword [ebp - 8], ecx
xor edx, edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.10030a2b
test dword [ebp - 8], 0x40000
je 0x1004edf6
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebx, ebx
je 0x1004ede3
mov eax, dword [ebx]
xor ecx, ecx
mov edi, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
cmp word [eax], cx
je 0x1004ece9
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push 0x1000803c
push eax
call fcn.1007ff3f
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x1004ec8e
push esi
push 0x4f2
mov ecx, 0x1000aa40
call fcn.1003a254
xor eax, eax
mov dword [ebp + 0xc], eax
mov edi, dword [ebp - 4]
test esi, esi
js 0x1004edad
test edi, edi
je 0x1004ed45
push 0
xor edx, edx
mov ecx, edi
call fcn.1003670e
mov dword [ebp - 8], eax
test eax, eax
jne 0x1004ed48
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1004ecd0
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1004ed2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1004ed33
movzx esi, si
or esi, 0x80070000
jmp 0x1004ed31
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1004ec96
cmp dword [eax], 0xffffffff
je 0x1004ec96
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push 0x1000806c
push eax
call fcn.1007ff3f
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x1004ed24
push esi
push 0x4fb
mov ecx, 0x1000aa40
call fcn.1003a254
jmp 0x1004ec93
mov edi, dword [ebp - 4]
jmp 0x1004ec9e
mov esi, 0x80004005
test esi, esi
jns 0x1004edad
push esi
push 0x508
mov ecx, 0x1000aa40
call fcn.1003a254
mov eax, dword [ebp - 8]
test esi, esi
js 0x1004edad
test eax, eax
je 0x1004edad
mov ecx, dword [ebp - 0x10]
lea edx, [ebx + 0x10]
push 0
push dword [ebp + 0xc]
push 0
push eax
call fcn.1004d0c3
test eax, eax
jne 0x1004edad
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1004ed7b
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1004ed94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1004ed9b
movzx esi, si
or esi, 0x80070000
jmp 0x1004ed99
mov esi, 0x80004005
test esi, esi
jns 0x1004edad
push esi
push 0x519
mov ecx, 0x1000aa40
call fcn.1003a254
test edi, edi
je 0x1004edc1
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
test eax, eax
je 0x1004edd8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebx + 0x24]
test esi, esi
jns 0x1004ec46
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
jmp 0x1004edf8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10051459
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edx
xor edx, edx
add eax, esi
mov dword [ebp - 0x2c], esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
adc edx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 8]
sbb eax, 0
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0xc], eax
ja 0x1005158b
jb 0x100514c0
cmp esi, ecx
ja 0x1005158b
cmp edx, eax
ja 0x1005158b
jb 0x100514d3
cmp dword [ebp - 0x10], ecx
ja 0x1005158b
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.100512fc
test eax, eax
je 0x1005150e
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov esi, dword [ebp - 0x14]
sub eax, dword [ebp + 8]
sub esi, ecx
add eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
push esi
push eax
lea eax, [ecx + 0x10]
add eax, edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
sub ebx, esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x10051586
xor eax, eax
push 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [0x100866bc]
push dword [0x100866b8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10051593
push 0
push 0
push dword [ebp + 0xc]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10051593
xor esi, esi
lea eax, [ebp - 8]
push esi
push eax
push ebx
push dword [ebp - 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10051593
push esi
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10051593
cmp dword [ebp - 8], ebx
je 0x10051586
push 0xea
jmp 0x1005158d
xor eax, eax
inc eax
jmp 0x10051595
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005a7f0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10086dd0], 0
jne 0x1005a890
push ebx
push esi
mov esi, 0x100867b8
mov edx, 0x13579bdf
push edi
mov edi, 0x87654321
mov dword [ebp - 0xc], esi
mov esi, edi
mov dword [ebp - 4], 0x20
mov eax, edx
xor ebx, ebx
sub ebx, 0x61c88647
mov ecx, edi
add eax, ebx
sar ecx, 5
add ecx, eax
mov dword [ebp - 8], eax
add esi, ebx
lea eax, [esi + edi*8]
xor ecx, eax
lea eax, [ebx + edi]
xor ecx, eax
mov eax, dword [ebp - 8]
add edx, ecx
lea ecx, [eax + edx*8]
mov eax, edx
sar eax, 5
add eax, esi
xor ecx, eax
lea eax, [ebx + edx]
xor ecx, eax
mov eax, dword [ebp - 8]
add edi, ecx
sub dword [ebp - 4], 1
jne 0x1005a827
mov esi, dword [ebp - 0xc]
add edx, edi
mov eax, edx
and eax, 0x7fff
mov word [esi], ax
add esi, 2
mov dword [ebp - 0xc], esi
cmp esi, 0x10086db8
jb 0x1005a81a
pop edi
pop esi
mov dword [0x10086dd0], 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005a894
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov ebx, dword [edi - 0x10]
mov esi, dword [edi - 0x14]
mov dword [ebp - 8], ebx
lea ecx, [ebx - 2]
mov dword [ebp - 4], ecx
cmp esi, ecx
jae 0x1005a902
xor ebx, ebx
movzx eax, byte [esi + 2]
movzx ecx, word [eax*2 + 0x10086bb8]
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x100867b8]
xor ecx, eax
movzx eax, byte [esi + 1]
inc esi
movzx eax, word [eax*2 + 0x100869b8]
xor ecx, eax
mov ax, word [edi + ecx*2 - 0x15a5c]
mov word [edi + ebx*2], ax
mov word [edi + ecx*2 - 0x15a5c], bx
inc ebx
cmp esi, dword [ebp - 4]
jb 0x1005a8b7
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp esi, ebx
jae 0x1005a918
sub ebx, esi
lea edi, [edi + eax*2]
xor eax, eax
mov ecx, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10061328
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x208
push 0
mov ebx, ecx
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10061388
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10061378
push 0
push 0x2020000
push 3
push 0
push 7
push 0x100080
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x1006141d
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x10086084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 9
push 0x210
push eax
lea eax, [ebp - 0x224]
mov ebx, edx
push eax
push ecx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x10061478
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov esi, eax
test esi, esi
jle 0x100614e9
movzx esi, si
or esi, 0x80070000
jmp 0x100614e9
mov ecx, ebx
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1006147f
sub ecx, edx
sar ecx, 1
cmp word [ebx + ecx*2 - 2], 0x5c
jne 0x10061497
dec ecx
mov eax, dword [ebp - 0x218]
lea ebx, [ecx + ecx]
add eax, 2
add eax, ebx
and eax, 0xfffffffe
cmp eax, 0x208
jbe 0x100614b6
mov esi, 0x8007007a
jmp 0x100614e9
push ebx
push dword [ebp - 0x21c]
push edi
call sub.msvcrt.dll_memcpy
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
add edi, ebx
push eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x218]
add esp, 0x18
shr ecx, 1
xor eax, eax
mov word [edi + ecx*2], ax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083b20
mov esp, ebp
pop ebp
ret 8
Function at 0x10061a1e
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
mov byte [ebp - 1], dl
push 0x208
push eax
mov dword [ebp - 8], ecx
or ebx, 0xffffffff
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10061b00
push 0x104
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x10061adc
push 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10061adc
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10061adc
mov ecx, esi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10061a96
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x10061ab4
xor eax, eax
mov word [esi + ecx*2 - 2], ax
xor eax, eax
cmp byte [ebp - 1], al
push ebx
push 0x80
sete al
push 3
dec eax
push ebx
and eax, 0xc0000000
push 7
add eax, 0x80000000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x10061b00
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10061b4b
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x10086084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x484], edx
xor edi, edi
mov dword [ebp - 0x47c], eax
push 0x5c
mov ebx, eax
mov esi, edi
pop eax
push eax
lea eax, [ebx + 2]
push eax
call sub.msvcrt.dll_wcschr
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10061ccd
inc esi
push 0x5c
pop eax
cmp esi, 2
jb 0x10061b7a
mov esi, 0x104
lea ecx, [ebp - 0x270]
push 0x1000c894
mov edx, esi
add ebx, 2
call fcn.10015ac7
mov ecx, dword [ebp - 0x47c]
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x270]
call fcn.1001a509
push 0x32
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10061c16
lea eax, [ebp - 0x488]
push eax
push esi
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x10061c11
cmp word [ebp - 0x478], di
je 0x10061c11
lea esi, [ebp - 0x478]
jmp 0x10061c1c
lea esi, [ebp - 0x68]
jmp 0x10061c1c
lea esi, [ebp - 0x270]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10061c21
sub ecx, edx
sar ecx, 1
je 0x10061c43
push 0x5c
pop eax
cmp word [esi + ecx*2 - 2], ax
jne 0x10061c43
xor eax, eax
mov word [esi + ecx*2 - 2], ax
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10061c48
sub ecx, edx
mov edx, ebx
sar ecx, 1
lea eax, [edx + 2]
mov dword [ebp - 0x47c], eax
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x10061c62
sub edx, dword [ebp - 0x47c]
sar edx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 4]
push eax
push edi
mov dword [ebp - 0x47c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x480], eax
test eax, eax
jne 0x10061ca5
mov edi, 0x8007000e
jmp 0x10061cc9
push ebx
push esi
push 0x1000c8b4
push dword [ebp - 0x47c]
push eax
call fcn.1006181d
mov ecx, dword [ebp - 0x484]
add esp, 0x14
mov eax, dword [ebp - 0x480]
mov dword [ecx], eax
mov eax, edi
jmp 0x10061cd2
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083b20
mov esp, ebp
pop ebp
ret
Function at 0x10061ebd
Capabilities:
Get file attributes

Disassembly:
push 0x48
push 0x100850e8
call fcn.1008405c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], 0xc000000d
or dword [ebp - 0x24], 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov esi, 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
push 8
pop eax
mov word [ebp - 0x36], ax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x58], 0x18
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], 0x40
lea eax, [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push ebx
push ebx
push 0x2020
push 1
push ebx
push 0x80
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x100080
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
js 0x10061fa9
mov edi, dword [ebp - 0x2c]
cmp dword [edi], 0
je 0x10061f62
push dword [edi]
push ebx
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [ebp - 0x28]
push esi
push ebx
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [edi], eax
test eax, eax
je 0x10061fa1
push 9
mov esi, dword [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov edi, eax
mov dword [ebp - 0x20], edi
add esi, esi
mov dword [ebp - 0x28], esi
cmp edi, 0x80000005
je 0x10061f45
jmp 0x10061fa9
mov edi, 0xc000009a
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.10061fc4
mov eax, edi
call fcn.100840a1
ret 8
Function at 0x10061fef
Capabilities:
Get file attributes

Disassembly:
push 0x48
push 0x10085108
call fcn.1008405c
xor edi, edi
mov dword [ebp - 0x20], edi
mov ebx, edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0x60
or dword [ebp - 0x2c], 0xffffffff
mov esi, edi
mov dword [ebp - 0x28], esi
push edi
push edi
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x10062036
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
jmp 0x100621a7
mov dword [ebp - 0x58], 0x18
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], 0x40
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], edi
push edi
push edi
push 0x200020
push 1
push 7
push 0x80
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x100080
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x10062199
mov ecx, dword [ebp - 0x2c]
call fcn.10061dd6
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x100620a9
mov ecx, 0xc000009a
mov dword [ebp - 0x20], ecx
jmp 0x10062199
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x30]
test ebx, ebx
je 0x100620c7
push ebx
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x30]
push eax
push edi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x1006218e
push 0x2e
push dword [ebp - 0x30]
push ebx
lea eax, [ebp - 0x38]
push eax
mov esi, dword [ebp - 0x28]
push dword [esi]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000005
je 0x100620af
test ecx, ecx
jne 0x10062199
cmp dword [ebp - 0x34], ecx
jne 0x10062120
mov ecx, 0xc0000011
jmp 0x100620a1
mov dword [esi + 4], ebx
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x24], edi
mov ebx, dword [esi + 4]
mov dword [ebp - 0x30], ebx
push dword [ebx + 0x14]
push dword [ebx + 0x10]
lea edx, [ebp - 0x24]
mov ecx, dword [esi]
call fcn.10061ebd
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x10062189
lea edx, [ebx + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10061e2a
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x10062199
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 8]
mov eax, dword [esi + 4]
test edx, edx
je 0x10062184
add eax, 8
add eax, edx
mov dword [esi + 8], eax
jmp 0x10062199
add eax, dword [ebp - 0x34]
jmp 0x1006217f
mov ebx, dword [ebp - 0x24]
jmp 0x10062199
mov ecx, 0xc000009a
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0xfffffffe
call fcn.100621ba
mov eax, esi
call fcn.100840a1
ret 8
Function at 0x1007366b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10086084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x100736bf
mov dword [edi + 4], eax
mov dword [edi], 3
xor eax, eax
jmp 0x10073789
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x10087410]
mov ecx, dword [ebp - 8]
jmp 0x10073774
cmp ecx, 0x61
jb 0x100736dc
cmp ecx, 0x7a
jbe 0x1007375a
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x1007375a
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x1007375a
cmp ecx, 0x2f
ja 0x10073722
cmp ecx, 0x28
jae 0x10073760
cmp ecx, 0xa
je 0x10073760
cmp ecx, 0xd
je 0x10073760
cmp ecx, 0x1f
jbe 0x10073740
cmp ecx, 0x21
jbe 0x10073760
cmp ecx, 0x22
jbe 0x10073740
cmp ecx, 0x25
jbe 0x10073760
cmp ecx, 0x27
jne 0x10073740
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x1007375c
cmp ecx, 0x3a
jb 0x10073740
cmp ecx, 0x3b
jbe 0x10073760
cmp ecx, 0x3d
je 0x10073760
cmp ecx, 0x3e
jbe 0x10073740
cmp ecx, 0x40
jbe 0x10073760
cmp ecx, 0x5f
je 0x10073760
mov eax, dword [ebp - 8]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x10], eax
jmp 0x100736b8
mov al, 1
test al, al
je 0x10073740
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 0xc]
mov dword [ebp - 8], edx
call dword [0x10087410]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call esi
mov ecx, eax
mov dword [ebp - 0x14], edx
cmp ecx, 0xffffffff
jne 0x100736d2
mov eax, edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083b20
mov esp, ebp
pop ebp
ret

Function at 0x1007935a
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, edi
cmp dword [esi + 4], edi
jbe 0x1007937f
mov edx, edi
mov eax, dword [esi + 8]
lea edx, [edx + 0x5c]
inc ecx
mov dword [eax + edx - 0x48], edi
mov dword [eax + edx - 0x54], edi
cmp ecx, dword [esi + 4]
jb 0x1007936b
push dword [esi + 8]
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
test ecx, ecx
je 0x100793a3
push 1
call fcn.1007935a
push esi
mov dword [esi + 0xc], edi
call fcn.10084b58
pop ecx
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x1007fb5c
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ebx
shr edi, 2
lea edx, [ecx + edi*4]
neg edi
je 0x1007fb98
imul eax, dword [edx + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
imul esi, eax, 5
sub esi, 0x19ab949c
add edi, 1
jne 0x1007fb75
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x1007fbbe
sub eax, 1
je 0x1007fbb5
sub eax, 1
jne 0x1007fbd4
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret 4

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
xor esi, esi
mov ebx, edx
test ecx, ecx
je 0x10080398
test ebx, ebx
je 0x10080398
push edi
xor edx, edx
call fcn.1008119d
mov edi, eax
test edi, edi
je 0x10080356
xor edx, edx
mov ecx, ebx
call fcn.1008119d
mov esi, eax
test esi, esi
je 0x10080356
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008033f
xor edx, edx
mov ecx, esi
call fcn.10080a0c
push dword [ebp + 8]
mov edx, esi
push ecx
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.100803aa
mov ebx, eax
jmp 0x10080359
mov ebx, dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test edi, edi
je 0x10080376
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
test esi, esi
je 0x1008038b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x100803a2
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc