joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d2440
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x244
mov dword [0x101599d8], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x101599dc], esi
push edi
test esi, esi
je 0x100d2489
mov esi, dword [esi]
test esi, esi
je 0x100d2489
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599dc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d4b90
mov esi, eax
call fcn.100d4b90
mov edi, eax
call fcn.100d4b90
mov ebx, eax
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x44], 7
lea ecx, [esp + 0x48]
mov word [esp + 0x30], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d24c0
sub ecx, edx
lea eax, [esp + 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.1001a860
push dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x24], 0
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x14]
mov word [esp + 0x14], ax
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x2c], 7
call fcn.1001a860
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
push eax
push 0x100ed050
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100d260f
push edi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100d25fb
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100d25a1
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2597
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2694
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x100d25f4
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d25ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2694
push edx
push ecx
call fcn.1007306e
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x820
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x100d2565
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100d2647
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d263d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2694
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x100d25f4
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d25ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d25ea
call fcn.10080da8
int3
Function at 0x100d2a60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [0x101599d8], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [0x101599dc], eax
call fcn.100d4b90
mov esi, eax
call fcn.100d4b90
mov ebx, eax
call fcn.100d4b90
mov dword [esp + 0x10], eax
call fcn.100d4b90
mov dword [esp + 0x14], 0
mov edi, eax
test esi, esi
je 0x100d2af7
lea eax, [esp + 0x14]
push eax
push edi
push 0
push dword [esp + 0x1c]
push ebx
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x100d2af7
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100d2b3c
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100d2b3c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100d2b3c
push eax
push 0
push 0x100011
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100d2b3c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100d2b3c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100df660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101215b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov dword [ebp - 0x14], 0
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x14], 1
push eax
call fcn.10077450
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x10], 0x208
mov dword [ebp - 0x18], 1
cmp dword [eax + 0x14], 8
jb 0x100df6d4
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100df73e
mov eax, dword [ebp - 0x10]
cmp eax, 0x104
ja 0x100df709
xor ecx, ecx
mov word [ebp + eax*2 - 0x224], cx
jmp 0x100df70f
xor eax, eax
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100df720
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001a860
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e1ff0
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x100e2104
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x100e2104
cmp edi, 3
jl 0x100e2095
mov eax, 0xaaaaaaab
mul edi
push ebx
mov ebx, edx
shr ebx, 1
lea eax, [ebx*4]
sub eax, ebx
neg eax
add edi, eax
nop dword [eax]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x1013daf0]
mov byte [ecx], al
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
shl edx, 4
or edx, eax
movzx eax, byte [edx + 0x1013daf0]
mov byte [ecx + 1], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or edx, eax
movzx eax, byte [edx + 0x1013daf0]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x1013daf0]
mov byte [ecx + 3], al
add ecx, 4
sub ebx, 1
jne 0x100e2030
pop ebx
test edi, edi
jle 0x100e20fa
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x1013daf0]
mov byte [ecx], al
mov dl, byte [esi]
and dl, 3
shl dl, 4
cmp edi, 1
jle 0x100e20bc
mov al, byte [esi + 1]
shr al, 4
or dl, al
movzx eax, dl
mov al, byte [eax + 0x1013daf0]
mov byte [ecx + 1], al
cmp edi, 2
jge 0x100e20e2
mov al, 0x3d
mov byte [ecx + 2], al
mov byte [ecx + 3], al
add ecx, 4
pop edi
mov al, 1
pop esi
mov byte [ecx], 0
ret 8
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x1013daf0]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
add ecx, 4
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8
Function at 0x100e4a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101218c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov esi, ecx
mov dword [ebp - 0x10], 0
push 0
push edi
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100e4af1
mov dword [esi + 0x1c], eax
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.1001b730
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
mov dword [ebx + 0x18], eax
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e4b26
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.1001a860
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
cmp ecx, eax
je 0x100e4b5e
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.1001a860
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x100e4b98
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4b8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e4c08
push edx
push ecx
call fcn.1007306e
add esp, 8
cmp ebx, esi
je 0x100e4bb1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e4ba6
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.1001a860
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100e4bd6
mov dword [esi + 0x1c], eax
xor bl, bl
jmp 0x100e4be6
push dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.10105ea0
test al, al
setne bl
test edi, edi
je 0x100e4bf3
push edi
call fcn.1007307c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.10080da8
int3
Function at 0x100e5310
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x400
mov edi, ecx
mov dword [esp + 0x14], 1
xor bl, bl
call fcn.100997d2
push 0x400
mov esi, eax
push 0
push esi
call fcn.10077450
add esp, 0x10
mov dword [esp + 0xc], 0x400
lea eax, [esp + 0xc]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x28]
push dword [edi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100e5395
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100e5375
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
xor eax, eax
push esi
mov word [ecx], ax
call fcn.10080f14
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov ecx, esi
mov bl, 1
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e53a0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x20]
push esi
call fcn.1001a860
push esi
call fcn.10080f14
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x100e7950
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121afe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ecx
lea ecx, [ebp - 0x24]
call fcn.1001cdf0
mov edx, 0x24
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100ea2b0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100e79a8
test al, 0x10
je 0x100e79a8
mov bl, 1
jmp 0x100e79aa
xor bl, bl
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e79e0
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e79d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e79f1
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3

Function at 0x100e7c50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10121b33
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100e7d62
nop dword [eax]
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x100e7c8c
mov eax, dword [esi]
mov edx, 0x2f
cmp dx, word [eax + edi*2]
mov edx, 0x5c
je 0x100e7caf
mov eax, esi
cmp ecx, 8
jb 0x100e7ca5
mov eax, dword [esi]
cmp dx, word [eax + edi*2]
jne 0x100e7d59
xor eax, eax
mov dword [ebp - 0x14], 0
cmp dword [esi + 0x10], edi
mov edx, edi
mov word [ebp - 0x24], ax
mov eax, esi
cmovb edx, dword [esi + 0x10]
mov dword [ebp - 0x10], 7
cmp ecx, 8
jb 0x100e7cd5
mov eax, dword [esi]
push edx
push eax
lea ecx, [ebp - 0x24]
call fcn.1001a860
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x100e7d0c
lea ecx, [ebp - 0x24]
call fcn.100e83b0
test al, al
jne 0x100e7d0c
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e7d49
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e7d3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7daf
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], eax
mov word [ebp - 0x24], ax
inc edi
cmp edi, ebx
jb 0x100e7c80
mov ecx, esi
call fcn.100e83b0
test al, al
jne 0x100e7d97
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e7d77
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100e7d97
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.100e7950
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3
Function at 0x100e7dc0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121b45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 0x28]
call fcn.100ea150
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100e83b0
test al, al
jne 0x100e7e05
lea ecx, [ebp - 0x28]
call fcn.100e7c50
cmp dword [esi + 0x14], 8
jb 0x100e7e0d
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100e7e15
mov edi, dword [edi]
movzx eax, byte [ebp + 8]
xor eax, 1
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x14]
test eax, eax
setne bl
cmp edx, 8
jb 0x100e7e60
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e7e56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e7e73
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3
Function at 0x100e8360
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100e836d
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x100e838d
and eax, 0xfffffffe
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x100e8385
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x100e8395
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
pop esi
sete al
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121b8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ecx
lea ecx, [ebp - 0x24]
call fcn.1001cdf0
mov edx, 0x24
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100ea2b0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x10]
cmp eax, 0xffffffff
setne bl
cmp edx, 8
jb 0x100e8437
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e842d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e8448
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121ba1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ecx
lea ecx, [ebp - 0x24]
call fcn.1001cdf0
mov edx, 0x24
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100ea2b0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100e84a8
test al, 0x10
jne 0x100e84a8
mov bl, 1
jmp 0x100e84aa
xor bl, bl
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e84e0
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e84d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e84f1
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3
Function at 0x100e8c20
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100e8c34
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100e8cba
push eax
call fcn.100730b1
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x100e8c5b
mov esi, dword [esi]
push edi
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100e8cba
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x1013de98
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push ebx
call fcn.100d7070
push edi
call fcn.1007307c
add esp, 0x1c
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x10
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret

Function at 0x100eaec0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, ecx
push esi
push edi
mov dword [esp + 0x14], edx
mov esi, ebp
mov edi, dword [eax]
mov al, byte [edi]
lea ebx, [eax - 0x30]
cmp bl, 9
ja 0x100eaf33
xor edx, edx
mov ebx, ecx
lea ecx, [edx - 0x30]
movsx eax, al
add ecx, eax
inc edi
mov eax, 0x66666667
mov dword [ebx], edi
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [ecx + ecx*4]
add edx, edx
cmp edx, ebp
jg 0x100eaf16
test esi, esi
je 0x100eaf16
mov al, byte [edi]
cmp al, 0x30
jl 0x100eaf16
cmp al, 0x39
jle 0x100eaee3
cmp ecx, dword [esp + 0x1c]
jl 0x100eaf33
cmp ecx, ebp
jg 0x100eaf33
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x100ed4f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e998
push 0x1011b728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], ebx
cmp edi, 0xffffffff
je 0x100ed589
push 0x22c
push ebx
lea eax, [ebp - 0x24c]
push eax
call fcn.10077450
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100ed589
cmp dword [ebp - 0x244], esi
je 0x100ed580
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100ed564
jmp 0x100ed589
mov ebx, dword [ebp - 0x234]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.100ed5ae
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100eed10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x40
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
cdq
lea ecx, [esp + 0xc]
push edx
push eax
call fcn.100d6ca0
mov esi, dword [esp + 0x5c]
add esp, 8
cmp esi, edi
je 0x100eed49
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x100eed40
mov edi, dword [edi]
push eax
push edi
mov ecx, esi
call fcn.1001a860
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
push ebp
cmp eax, 1
jb 0x100eed83
lea ebp, [ecx + 1]
mov edi, esi
mov dword [esi + 0x10], ebp
cmp edx, 8
jb 0x100eed68
mov edi, dword [esi]
push 2
lea eax, [edi + ecx*2]
push str._____
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [edi + ebp*2], ax
jmp 0x100eed9c
push 1
push str._____
mov byte [esp + 0x5c], 0
mov ecx, esi
push dword [esp + 0x5c]
push 1
call fcn.1001f850
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100eeda3
mov eax, dword [esi + 0x14]
sub ecx, edx
mov edx, dword [esi + 0x10]
sub eax, edx
sar ecx, 1
cmp ecx, eax
ja 0x100eedeb
cmp dword [esi + 0x14], 8
lea ebp, [edx + ecx]
mov dword [esi + 0x10], ebp
mov edi, esi
jb 0x100eedce
mov edi, dword [esi]
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [edi + edx*2]
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [edi + ebp*2], ax
jmp 0x100eee02
push ecx
lea eax, [esp + 0x14]
mov byte [esp + 0x58], 0
push eax
push dword [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.1001f850
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100eee3b
lea ebp, [ecx + 1]
mov edi, esi
mov dword [esi + 0x10], ebp
cmp edx, 8
jb 0x100eee20
mov edi, dword [esi]
push 2
lea eax, [edi + ecx*2]
push 0x101375c4
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [edi + ebp*2], ax
jmp 0x100eee54
push 1
push 0x101375c4
mov byte [esp + 0x5c], 0
mov ecx, esi
push dword [esp + 0x5c]
push 1
call fcn.1001f850
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
pop ebp
jb 0x100eee60
mov ebx, dword [ebx]
push eax
push ebx
mov ecx, esi
call fcn.1001e7b0
cmp dword [esi + 0x14], 8
jb 0x100eee71
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
pop esi
setne al
pop ebx
add esp, 0x40
ret

Function at 0x100ef420
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push esi
push edi
push 0x20c
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.10077450
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100ef447
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x100ef44f
mov esi, dword [esi]
lea eax, [esp + 8]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
pop edi
pop esi
test eax, eax
je 0x100ef49d
xor eax, eax
lea ecx, [esp]
mov word [esp + 0x20a], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ef474
sub ecx, edx
lea eax, [esp]
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x214]
push eax
call fcn.1001a860
mov al, 1
add esp, 0x20c
ret
xor al, al
add esp, 0x20c
ret