joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ce9e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011c9a0
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
mov dword fs:[0], esp
call fcn.100711a0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2028]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [ebp - 0x10], edi
call fcn.10074090
xor eax, eax
mov dword [ebp - 0x18], 0
add esp, 0xc
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x100cea40
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100cea4b
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x100cea56
mov ecx, dword [ecx]
push esi
push 0xfff
lea edx, [ebp - 0x2028]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x2028]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cea90
sub ecx, edx
lea eax, [ebp - 0x2028]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1001a860
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100ceae4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ceada
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ceaf6
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
int3
Function at 0x100cf070
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 [0x10154920], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x10154924], esi
push edi
test esi, esi
je 0x100cf0b9
mov esi, dword [esi]
test esi, esi
je 0x100cf0b9
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x10154924]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d17c0
mov esi, eax
call fcn.100d17c0
mov edi, eax
call fcn.100d17c0
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 0x100cf0f0
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 0x100e98e0
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100cf23f
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 0x100cf22b
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100cf1d1
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf1c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf2c4
push edx
push ecx
call fcn.1006fca3
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 0x100cf224
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf21a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf2c4
push edx
push ecx
call fcn.1006fca3
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 0x100cf195
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100cf277
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf26d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf2c4
push edx
push ecx
call fcn.1006fca3
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 0x100cf224
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf21a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cf21a
call fcn.1007d9e8
int3
Function at 0x100cf690
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 [0x10154920], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [0x10154924], eax
call fcn.100d17c0
mov esi, eax
call fcn.100d17c0
mov ebx, eax
call fcn.100d17c0
mov dword [esp + 0x10], eax
call fcn.100d17c0
mov dword [esp + 0x14], 0
mov edi, eax
test esi, esi
je 0x100cf727
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 0x100cf727
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 0x100cf76c
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100cf76c
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 0x100cf76c
push eax
push 0
push 0x100011
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100cf76c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100cf76c
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 0x100dc190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d082
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.10074090
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x10], 0x208
mov dword [ebp - 0x18], 1
cmp dword [eax + 0x14], 8
jb 0x100dc204
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 0x100dc26e
mov eax, dword [ebp - 0x10]
cmp eax, 0x104
ja 0x100dc239
xor ecx, ecx
mov word [ebp + eax*2 - 0x224], cx
jmp 0x100dc23f
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 0x100dc250
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 0x100deb20
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x100dec34
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x100dec34
cmp edi, 3
jl 0x100debc5
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 + 0x10139aa0]
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 + 0x10139aa0]
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 + 0x10139aa0]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x10139aa0]
mov byte [ecx + 3], al
add ecx, 4
sub ebx, 1
jne 0x100deb60
pop ebx
test edi, edi
jle 0x100dec2a
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x10139aa0]
mov byte [ecx], al
mov dl, byte [esi]
and dl, 3
shl dl, 4
cmp edi, 1
jle 0x100debec
mov al, byte [esi + 1]
shr al, 4
or dl, al
movzx eax, dl
mov al, byte [eax + 0x10139aa0]
mov byte [ecx + 1], al
cmp edi, 2
jge 0x100dec12
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 + 0x10139aa0]
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 0x100e15c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d392
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 0x100e1621
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 0x100e1656
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 0x100e168e
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 0x100e16c8
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e16be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e1738
push edx
push ecx
call fcn.1006fca3
add esp, 8
cmp ebx, esi
je 0x100e16e1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e16d6
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 0x100e1706
mov dword [esi + 0x1c], eax
xor bl, bl
jmp 0x100e1716
push dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.101023b0
test al, al
setne bl
test edi, edi
je 0x100e1723
push edi
call fcn.1006fcb1
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.1007d9e8
int3
Function at 0x100e1e40
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.10096412
push 0x400
mov esi, eax
push 0
push esi
call fcn.10074090
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 0x100e1ec5
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100e1ea5
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
xor eax, eax
push esi
mov word [ecx], ax
call fcn.1007db54
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 0x100e1ed0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x20]
push esi
call fcn.1001a860
push esi
call fcn.1007db54
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x100e4480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d5ce
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.100e6b40
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 0x100e44d8
test al, 0x10
je 0x100e44d8
mov bl, 1
jmp 0x100e44da
xor bl, bl
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e4510
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4506
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e4521
push edx
push ecx
call fcn.1006fca3
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.1007d9e8
int3

Function at 0x100e4780
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1011d603
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 0x100e4892
nop dword [eax]
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x100e47bc
mov eax, dword [esi]
mov edx, 0x2f
cmp dx, word [eax + edi*2]
mov edx, 0x5c
je 0x100e47df
mov eax, esi
cmp ecx, 8
jb 0x100e47d5
mov eax, dword [esi]
cmp dx, word [eax + edi*2]
jne 0x100e4889
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 0x100e4805
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 0x100e483c
lea ecx, [ebp - 0x24]
call fcn.100e4ee0
test al, al
jne 0x100e483c
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 0x100e4879
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e486f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e48df
push edx
push ecx
call fcn.1006fca3
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 0x100e47b0
mov ecx, esi
call fcn.100e4ee0
test al, al
jne 0x100e48c7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e48a7
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100e48c7
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.100e4480
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
int3
Function at 0x100e48f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d615
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.100e69e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100e4ee0
test al, al
jne 0x100e4935
lea ecx, [ebp - 0x28]
call fcn.100e4780
cmp dword [esi + 0x14], 8
jb 0x100e493d
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100e4945
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 0x100e4990
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e49a3
push edx
push ecx
call fcn.1006fca3
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.1007d9e8
int3
Function at 0x100e4e90
Capabilities:
Delete file
Get file attributes
Set file attributes

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d65f
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.100e6b40
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 0x100e4f67
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4f5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e4f78
push edx
push ecx
call fcn.1006fca3
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.1007d9e8
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d671
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.100e6b40
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 0x100e4fd8
test al, 0x10
jne 0x100e4fd8
mov bl, 1
jmp 0x100e4fda
xor bl, bl
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e5010
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e5006
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e5021
push edx
push ecx
call fcn.1006fca3
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.1007d9e8
int3
Function at 0x100e5750
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 0x100e5764
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 0x100e57ea
push eax
call fcn.1006fce6
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x100e578b
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 0x100e57ea
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x10139e48
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.100d3ca0
push edi
call fcn.1006fcb1
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 0x100e7750
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 0x100e77c3
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 0x100e77a6
test esi, esi
je 0x100e77a6
mov al, byte [edi]
cmp al, 0x30
jl 0x100e77a6
cmp al, 0x39
jle 0x100e7773
cmp ecx, dword [esp + 0x1c]
jl 0x100e77c3
cmp ecx, ebp
jg 0x100e77c3
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 0x100e9b90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014a5f0
push 0x10117248
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 0x100e9c29
push 0x22c
push ebx
lea eax, [ebp - 0x24c]
push eax
call fcn.10074090
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 0x100e9c29
cmp dword [ebp - 0x244], esi
je 0x100e9c20
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100e9c04
jmp 0x100e9c29
mov ebx, dword [ebp - 0x234]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.100e9c4e
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