joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6c8871a5
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42f314
nop
mov ecx, 0x616557cc
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x609e52
Capabilities:
Encode data using xor

Disassembly:
invalid
js 0x609e2b
and byte [edx], al
lcall 0x79e8, 0x6e4efaee
arpl si, dx
mov cs, word [eax - 0x7df4cc12]
loope 0x609dbf
xchg esi, eax
fimul dword [ebp + 0x37e204cd]
insd dword es:[edi], dx
xchg esp, eax
ror dword [eax - 0x70], 1
pop ss
push edx
invalid
push ss
jmp 0x609dd7
mov al, byte [0x1365938a]
sal byte [ecx + 0x46], cl
lds ebp, [eax]
outsb dx, byte [esi]
jecxz 0x609ddb
in eax, 0xbc
push es
mov bl, 0x4f
dec edi
bound edx, qword [eax]
lea esp, [ebp - 0x11db0294]
and al, 0xee
jno 0x609e5f
jp 0x609e3d
jp 0x609df9
sbb esp, ebx
pop esi
fidivr dword [ebp + 0x56]
push esi
push esi
rol byte [edx + 0x615b5730], 0x65
jne 0x609e12
dec ebp
das
xor dl, byte es:[ebp - 0x16]
xor dl, byte [ebp - 0x16]
jge 0x609e44
inc ebx
rol dword [ecx + 0x52df27f3], cl
xchg esi, eax
xor al, 0xb3
sbb dh, byte [eax - 0x629d0c3e]
add al, byte [eax - 0x19ba81f4]
or dl, byte [ebx]
fdivr qword [ebx - 0x7f]
sbb byte [eax - 0x79], bl
adc esp, dword [esi]
add eax, 0xd4a0d4e1
movsd dword es:[edi], dword [esi]
inc ecx
out dx, eax
pop es
and byte [edx], al
mov ah, 4
aas
loop 0x609e5f
mov dh, bl
adc dword [ebx - 0x293fcb12], 0xf5104030
pushfd
dec ecx
sub al, 0x3a
add bl, byte [eax + 0x7b]
cmp al, 0x84
mov ch, 0x3c
fxch st(5)
dec esp
rdtsc
invalid
Function at 0x401230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401338
cmp dword [ebp - 0x88], 2
jne 0x4012e8
mov eax, dword [ebp - 0x94]
cmp eax, 3
jne 0x401289
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x4012a1
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x4012c6
xor eax, eax
cmp dword [ebp - 0x90], eax
setne al
lea eax, [eax*2 + 5]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x401338
cmp dword [ebp - 0x90], 2
sbb eax, eax
and eax, 0xfffffffe
add eax, 0xa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x8c]
shr eax, 0x10
sub eax, 0x400
je 0x401328
sub eax, 0xa
je 0x401315
sub eax, 0x50
jne 0x401338
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 7
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret

Function at 0x401350
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00401ac0
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x130]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
pop esi
test eax, eax
jne 0x40140f
cmp dword [ebp - 0x114], eax
jne 0x40140f
cmp dword [ebp - 0x10c], eax
jne 0x40140f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00401aae
mov esp, ebp
pop ebp
ret
Function at 0x401420
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x401438
call fcn.00401230
cmp ax, 0xa
jae 0x401438
xor eax, eax
pop ebp
ret
push esi
push edi
lea eax, [ebp + 8]
xor esi, esi
push eax
push 0x2011f
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x4014e9
push 0x410
call fcn.00401905
mov esi, eax
add esp, 4
test esi, esi
je 0x4014dc
push 0x410
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push esi
call fcn.00401a08
add esp, 8
test eax, eax
je 0x4014d3
mov byte [eax + 1], 0
lea ecx, [esi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x401496
mov eax, dword [str.WL10MMonitor.exe]
mov dword [ecx], eax
mov eax, dword [0x40c200]
mov dword [ecx + 4], eax
mov eax, dword [0x40c204]
mov dword [ecx + 8], eax
mov eax, dword [0x40c208]
mov dword [ecx + 0xc], eax
mov al, byte [0x40c20c]
push esi
mov byte [ecx + 0x10], al
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
push esi
call fcn.0040197b
add esp, 4
push dword [ebp + 8]
call fcn.00401350
add esp, 4
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jne 0x40155c
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.RegDeleteKeyExA
push str.Advapi32
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
jne 0x401540
push str.RegDeleteKeyExW
push str.Advapi32
call esi
push eax
call edi
test eax, eax
jne 0x401540
push str.RegDeleteKeyEx
push str.Advapi32
call esi
push eax
call edi
test eax, eax
jne 0x401540
pop edi
pop esi
pop ebp
ret
push 0
push 0x100
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call eax
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
pop ebp
ret
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
pop ebp
ret
Function at 0x401780
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xa18]
call fcn.00401000
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x413170
push 0x67
push edi
call esi
push 0x64
push 0x413108
push 0x6d
push edi
call esi
push edi
call fcn.004015d0
push 0
push edi
call fcn.00401570
add esp, 0xc
test eax, eax
je 0x4018be
push str.Process_Handle
lea ecx, [ebp - 0xa18]
call fcn.00401140
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x401802
cmp eax, 0xffffffff
je 0x401802
push 0
push 0
push 0x10
push eax
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Monitor_Handle
lea ecx, [ebp - 0xa18]
call fcn.00401140
test eax, eax
je 0x40182c
cmp eax, 0xffffffff
je 0x40182c
push 0
push 0
push 0x10
push eax
call esi
mov ecx, 0x16
lea edi, [ebp - 0xa04]
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall766BD494_B1C8_4491_BBA7_1AABF9BF0660
lea eax, [ebp - 0xa08]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf003f
push 0
movsw word es:[edi], word [esi]
lea eax, [ebp - 0xa04]
push eax
push 0x80000002
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4018be
lea eax, [ebp - 0xa0c]
mov dword [ebp - 0xa0c], 0x200
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push str.UninstallString
push dword [ebp - 0xa08]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xa08]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
call fcn.00401420
add esp, 4
lea eax, [ebp - 0x204]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, 1
jmp 0x4018c0
xor esi, esi
lea ecx, [ebp - 0xa18]
call fcn.00401010
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00401aae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405ee1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004042ad
mov dword [ebp - 0x14], eax
cmp dword [0x413f30], esi
jne 0x405fd4
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x405f61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4060b4
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4060b4
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4060b4
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x413f30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x413f34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x413f38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x413f40], eax
test eax, eax
je 0x405fd1
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x413f3c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x405ff9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405fec
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40600e
push 4
pop eax
jmp 0x4060b6
cmp dword [ebp - 0x14], esi
je 0x40600e
push dword [0x413f30]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x405ff3
mov eax, dword [0x413f3c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40606c
cmp dword [0x413f40], edi
je 0x40606c
push eax
call ebx
push dword [0x413f40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40606c
test eax, eax
je 0x40606c
call ecx
test eax, eax
je 0x406061
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x406061
test byte [ebp - 8], 1
jne 0x40606c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40609c
mov eax, dword [0x413f34]
cmp eax, edi
je 0x406099
push eax
call ebx
test eax, eax
je 0x406099
call eax
mov esi, eax
test esi, esi
je 0x406099
mov eax, dword [0x413f38]
cmp eax, edi
je 0x406099
push eax
call ebx
test eax, eax
je 0x406099
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x413f30]
call ebx
test eax, eax
je 0x4060b4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4060b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401aae
mov esp, ebp
pop ebp
ret
Function at 0x403334
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x4bd034]
xor eax, esp
mov dword [esp + 0x408], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
jne 0x4033be
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0x110
jne 0x4033d7
push ecx
push ecx
mov ecx, edi
mov dword [edi + 0x98], esi
call fcn.004034ac
mov dword [ebx], eax
cmp dword [edi + 0x98], 0
jne 0x4033fd
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004027a2
add esp, 0xc
test eax, eax
jne 0x4033fd
push eax
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x20]
call fcn.004022cf
test eax, eax
jne 0x4033fd
xor eax, eax
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004272e5
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0xc], 0x111
mov ecx, dword [ebp + 0x10]
jne 0x40338c
push 2
movzx eax, cx
pop edx
cmp dx, ax
jne 0x403401
push edx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor esi, esi
inc esi
mov dword [ebx], esi
mov eax, esi
jmp 0x4033c0
cmp si, ax
jne 0x403449
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00429240
add esp, 0xc
lea eax, [esp + 0x10]
push 0x200
push eax
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x80]
call fcn.00402048
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4033fb
push 0x4d
pop edx
cmp dx, ax
jne 0x40338c
sub esp, 0x10
mov ecx, edi
call fcn.00403925
mov dword [ebx], eax
jmp 0x4033fd

Function at 0x4079d8
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x48e4ea
call fcn.00427dfe
mov esi, ecx
push 4
call fcn.00427324
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [eax], edx
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push eax
push 0x40809d
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00437722
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x407a1f
mov eax, esi
call fcn.00427dcc
ret 4
push 6
mov dword [edi], ebx
call fcn.00425c44
int3

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

Disassembly:
push ebx
xor ebx, ebx
test ecx, ecx
je 0x40894a
cmp word [ecx], bx
je 0x40894a
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40894a
push 1
test al, 0x10
movzx ebx, bl
pop ecx
cmove ebx, ecx
mov al, bl
pop ebx
ret
Function at 0x408ab8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bd034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
push 0xa
pop ecx
push dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov esi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push 0x4ab914
push eax
call fcn.004070f6
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x408b66
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408b66
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x408b66
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x408b66
lea eax, [esi + 1]
cmp eax, dword [ebx + 0x10]
ja 0x408b46
mov dword [ebx + 0x10], eax
mov edx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x408b3f
mov edx, dword [ebx]
xor ecx, ecx
mov byte [edx + eax], cl
jmp 0x408b52
sub eax, dword [ebx + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.004093aa
push ecx
mov ecx, ebx
call fcn.00406f61
push esi
push edi
call fcn.00407017
xor ecx, ecx
inc ecx
jmp 0x408b68
xor ecx, ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004272e5
leave
ret

Function at 0x408b79
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x48e688
call fcn.00427e67
mov esi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push eax
mov dword [ebp - 0x1c], eax
call fcn.004275aa
pop ecx
mov edi, eax
xor eax, eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push eax
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x408bfd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4ab830
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x408bfd
mov ax, word [ecx + 0xa]
mov word [esi], ax
mov ax, word [ecx + 8]
mov word [esi + 2], ax
mov ax, word [ecx + 0xe]
mov word [esi + 4], ax
mov ax, word [ecx + 0xc]
mov word [esi + 6], ax
xor esi, esi
inc esi
test edi, edi
je 0x408c16
push edi
call fcn.004275a5
pop ecx
jmp 0x408c16
mov eax, esi
call fcn.00427dcc
ret
Function at 0x408c23
Capabilities:
Get common file path

Disassembly:
push 0x854
mov eax, 0x48e6c0
call fcn.00427e31
mov edi, ecx
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00429240
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x840], esi
push 7
pop ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x830], esi
push eax
mov dword [ebp - 0x82c], ebx
call fcn.00402048
mov dword [ebp - 4], esi
mov ecx, ebx
xor eax, eax
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x814], ecx
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 1
mov ebx, SysReAllocString
cmp ecx, 8
mov dword [ebp - 0x818], esi
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
lea edx, [ebp - 0x828]
xor ecx, ecx
push 0xa
mov word [eax], cx
pop ecx
call fcn.0040a638
mov eax, ebx
sub eax, dword [ebp - 0x830]
cmp eax, dword [ebp - 0x818]
jb 0x408eb2
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x840]
push dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebp - 0x830]
push ecx
push ecx
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x858]
call fcn.00401c6e
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
push esi
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00436f23
pop ecx
pop ecx
lea ecx, [ebp - 0x858]
mov esi, eax
call fcn.0040172c
test esi, esi
jne 0x408d6e
mov ecx, dword [ebp - 0x814]
jmp 0x408cb0
sub ebx, dword [ebp - 0x830]
cmp ebx, dword [ebp - 0x818]
jb 0x408eb2
push 8
pop ebx
cmp dword [ebp - 0x82c], ebx
lea ecx, [ebp - 0x840]
push dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], ebx
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebp - 0x830]
push ecx
push ecx
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x858]
call fcn.00401c6e
lea eax, [ebp - 0x858]
mov ecx, edi
push eax
call fcn.00401a02
lea ecx, [ebp - 0x858]
call fcn.0040172c
cmp dword [edi + 0x14], ebx
jb 0x408de9
mov edi, dword [edi]
mov eax, dword [ebp - 0x814]
mov esi, 0x1000
cmp eax, ebx
jb 0x408e3f
mov ecx, dword [ebp - 0x828]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x85c], ecx
cmp eax, esi
jb 0x408e36
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.004016dc
mov eax, dword [ebp - 0x860]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x85c]
push eax
push ecx
call fcn.004272f3
pop ecx
pop ecx
and dword [ebp - 0x818], 0
xor eax, eax
mov word [ebp - 0x828], ax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], 7
cmp eax, ebx
jb 0x408eaa
mov ecx, dword [ebp - 0x840]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x860], ecx
cmp eax, esi
jb 0x408ea1
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.004016dc
mov eax, dword [ebp - 0x85c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x860]
push eax
push ecx
call fcn.004272f3
pop ecx
pop ecx
mov eax, edi
call fcn.00427de0
ret
call fcn.0040206f
int3
Function at 0x408eb8
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x844
mov eax, 0x48e72e
call fcn.00427e31
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x844], ebx
call fcn.00405c50
mov edx, str.JaqKKLKJSDKTn9NPjHsGku6Tny6RJL6TSDpRjHcSkm6NJLrSoarRj1IJXuMOcLbSSL_RrabSkuMRau6T
lea ecx, [ebp - 0x840]
call fcn.0040c7ae
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x828]
call fcn.0040a523
cmp dword [eax + 0x14], 8
jb 0x408f05
mov eax, dword [eax]
lea ecx, [ebp - 0x844]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x828]
call fcn.0040172c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00405c7c
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00429240
add esp, 0xc
mov dword [ebp - 0x848], 0x400
cmp dword [ebp - 0x844], 0
je 0x40900f
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x850]
push eax
push ebx
push str.TEMP
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409003
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402048
push ebx
push dword [0x4e7be4]
mov ecx, esi
call fcn.00407905
mov edi, eax
cmp edi, 0xffffffff
je 0x409003
push 0x400
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x409003
push dword [0x4e7be4]
call fcn.004399a4
pop ecx
lea edx, [ebp - 0x810]
mov ecx, eax
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x84c]
jne 0x408fdf
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00409404
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00427de0
ret
Function at 0x40a59b
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
xor bl, bl
push 0xb1
mov ecx, esi
call fcn.0040acbf
jmp 0x40a626
call fcn.0043359b
cdq
push 0x24
pop ecx
idiv ecx
push 9
pop eax
cmp eax, edx
sbb al, al
add dl, 0x30
and al, 0x27
add al, dl
lea edx, [eax - 0x30]
test edi, edi
jne 0x40a5dd
cmp dl, 9
jbe 0x40a626
test edi, edi
je 0x40a5ed
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40a5e7
mov ecx, dword [esi]
cmp byte [edi + ecx - 1], al
je 0x40a626
mov byte [ebp - 4], al
test bl, bl
jne 0x40a61a
mov byte [ebp - 4], al
cmp dl, 9
ja 0x40a600
inc bl
jmp 0x40a61a
cmp dword [esi + 0x10], 0xb0
jne 0x40a61a
call fcn.0043359b
push 0xa
cdq
pop ecx
idiv ecx
add dl, 0x30
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, esi
push 1
call fcn.0040ad20
mov edi, dword [esi + 0x10]
cmp edi, 0xb1
jb 0x40a5b4
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40c36a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x40c37e
mov eax, dword [eax]
push esi
push 0x4ab888
push eax
call fcn.00437e2b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40c3fd
push ebx
push edi
mov ecx, esi
call fcn.00408a6e
mov ebx, eax
push ebx
call fcn.004275aa
push ebx
mov edi, eax
push 0
push edi
call fcn.00429240
push esi
push 1
push ebx
push edi
call fcn.00438514
push esi
call fcn.0043751a
mov ecx, dword [ebp - 4]
add esp, 0x24
cmp dword [ecx + 0x2c], 0
je 0x40c3e5
add ecx, 0x1c
cmp dword [ecx + 0x14], 0x10
jb 0x40c3d5
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push ebx
call fcn.0040cc2f
pop ecx
pop ecx
jmp 0x40c3f1
mov esi, dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call fcn.00407017
push edi
call fcn.004275a5
mov eax, dword [esi + 0x10]
pop ecx
pop edi
pop ebx
pop esi
leave
ret 4