joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d3ee
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0x230
mov eax, 0x4d4f7d
call fcn.004b6799
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x22c], ebx
xor esi, esi
push 0x530c50
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.00411c99
test eax, eax
jne 0x47d431
xor edi, edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, edi
call fcn.004b681c
ret
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea edi, [ebp - 0x224]
push ebx
call fcn.0041236b
mov edi, eax
cmp edi, esi
je 0x47d466
lea ecx, [ebp - 0x224]
call fcn.004123a7
jmp 0x47d41e
xor eax, eax
lea edi, [ebp - 0x234]
push 0x206
mov dword [ebp - 0x238], esi
stosd dword es:[edi], eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x228], 0x100
call fcn.004b62d0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
call edi
test eax, eax
jne 0x47d56d
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040254f
push 0x530c50
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00411c99
mov ebx, eax
neg ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402845
test bl, bl
jne 0x47d567
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.0040254f
push dword [ebp - 0x224]
call fcn.0047d3ee
add esp, 0xc
cmp eax, esi
jne 0x47d567
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
mov dword [ebp - 0x228], 0x100
call edi
test eax, eax
je 0x47d4ca
mov ebx, dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.004123a7
call fcn.0045d184
test al, al
je 0x47d5d3
test byte [0x57c47c], 1
jne 0x47d5ad
or dword [0x57c47c], 1
push str.RegDeleteKeyExW
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57c478], eax
mov eax, dword [0x57c478]
cmp eax, esi
je 0x47d5c2
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call eax
jmp 0x47d5cc
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x47d459
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp edi, esi
je 0x47d459
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x47d5cc
Function at 0x47d9f3
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x4d4f37
call fcn.004b6799
and dword [ebp - 4], 0
and dword [ebp - 0x278], 0
mov edi, ecx
mov dword [ebp - 0x274], edi
call fcn.0049219b
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402802
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00402827
mov dword [ebp - 0x278], esi
call fcn.0049219b
push eax
lea ecx, [ebp - 0x264]
call fcn.00402802
and dword [ebp - 0x268], 0
mov byte [ebp - 4], 2
call fcn.004077f5
push dword [ebx + 0x24]
lea eax, [ebp - 0x26c]
push 0x54a2e8
push eax
call fcn.00402a07
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x47db8f
mov ecx, 0x52d4c4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47dac4
test dx, dx
je 0x47dac0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47dac4
add eax, 4
add ecx, 4
test dx, dx
jne 0x47da9e
xor eax, eax
jmp 0x47dac9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47db63
mov ecx, 0x53a7d0
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47db02
test dx, dx
je 0x47dafe
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47db02
add eax, 4
add ecx, 4
test dx, dx
jne 0x47dadc
xor eax, eax
jmp 0x47db07
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47db63
test byte [ebp - 0x260], 0x10
jne 0x47db63
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040272d
mov eax, dword [ebp - 0x264]
mov edi, dword [eax - 0xc]
push 0x54a2f4
xor ecx, ecx
lea esi, [ebp - 0x264]
call fcn.00407898
add edi, 0xfffffffd
cmp eax, edi
jne 0x47db63
lea eax, [ebp - 0x234]
push eax
call fcn.004b329f
cmp dword [ebp - 0x268], eax
pop ecx
jg 0x47db63
mov dword [ebp - 0x268], eax
call fcn.004077f5
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47da93
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
inc eax
push eax
push dword [ebx + 0x24]
push str._s_.8d
push dword [ebp - 0x274]
call fcn.00402a07
mov ecx, dword [ebp - 0x264]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [ebp - 0x274]
call fcn.004b681c
ret
Function at 0x47f79c
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x270
mov eax, 0x4d4ed7
call fcn.004b6799
xor ebx, ebx
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], ebx
call fcn.0049ce85
mov byte [ebp - 4], 1
call fcn.0049219b
push eax
lea ecx, [ebp - 0x268]
call fcn.00402802
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 0xc], ebx
jle 0x47f85d
mov ecx, esi
lea eax, [ebp + 8]
call fcn.00402bbf
cmp ax, 0x5c
je 0x47f809
mov ecx, esi
lea eax, [ebp + 8]
call fcn.00402bbf
movzx eax, ax
push eax
lea ecx, [ebp - 0x268]
call fcn.0043516e
jmp 0x47f831
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0049d2c3
push 0x530c3c
lea ecx, [ebp - 0x268]
call fcn.00411f5d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x47f854
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0049d2c3
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x47f7de
xor esi, esi
inc esi
cmp dword [ebp - 0x274], esi
jle 0x47f8ab
push esi
lea ecx, [ebp - 0x27c]
call fcn.0040cb47
push eax
lea ecx, [ebp - 0x268]
call fcn.004025ee
push ebx
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x47f8a2
push 0x80
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
cmp esi, dword [ebp - 0x274]
jl 0x47f868
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x27c]
mov esi, eax
call fcn.0049cf06
cmp dword [ebp - 0x264], 0x10
push esi
jne 0x47f90f
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402845
xor esi, esi
inc esi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], bl
call fcn.0049d161
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, esi
call fcn.004b681c
ret 4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402845
xor esi, esi
jmp 0x47f8ec
Function at 0x47f927
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x4d4a3b
call fcn.004b6730
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0049219b
push eax
lea ecx, [ebp - 0x10]
call fcn.00402802
push 0x44
pop esi
push esi
lea eax, [ebp - 0x70]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004b62d0
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x70], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 0xc], bl
je 0x47f97c
lea eax, [ebp - 0x18]
push eax
call fcn.0044788a
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.regedit.exe__s___s_
push eax
call fcn.00402a07
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.00407348
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.004123c7
cmp edi, ebx
je 0x47f9dd
push 0x2328
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x14], ebx
je 0x47f9eb
push dword [ebp - 0x18]
call fcn.004478c0
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, edi
call fcn.004b6808
ret 8

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47faed
xor esi, esi
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, esi
pop esi
ret 4
test al, 0x10
je 0x47faf6
push 2
pop esi
jmp 0x47fadb
xor esi, esi
inc esi
jmp 0x47fadb

Function at 0x47fc09
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x47fea2
Capabilities:
Access peb ldr_data
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8690
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56f710]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004051e4
call fcn.00492c24
fld qword [0x54cc40]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1b1
push dword [esi + 0x20]
lea ecx, [esi + 0x258]
mov edx, eax
call fcn.0040b93f
push 0x52dc10
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.RESOURCESTRING
call fcn.0040254f
and dword [esp + 0x30], 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x54ae48
call fcn.0040254f
or dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.00406eff
mov dword [esp + 0x28], 1
push dword [eax]
lea ecx, [esi + 0x26c]
call fcn.00492e36
or dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402845
push 0x1f
mov edi, 0x1db
push edi
push 0x22
push 0xc
pop ebx
push ebx
push 0x169
mov ecx, esi
call fcn.00447243
push 0xd
push edi
push 0x44
push ebx
push 0x17b
mov ecx, esi
call fcn.00447243
push 0xd
push edi
push 0x55
push ebx
push 0x15d
mov ecx, esi
call fcn.00447243
push 0xd
push edi
push 0x67
push ebx
push 0x17f
mov ecx, esi
call fcn.00447243
push 0x14
push 0x14
push 0xb6
push 0x1d2
push 0x1d4
mov ecx, esi
call fcn.00447243
call fcn.00492c24
mov eax, dword [eax + 0xc]
push 0xd9
lea edi, [esi + 0x2e0]
push eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x467
push dword [edi]
call ebx
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [edi]
call ebx
lea edi, [esi + 0x170]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.00492f1a
push ebx
mov ecx, edi
call fcn.00492ed8
add esi, 0x74
push ebx
mov ecx, esi
call fcn.00492ed8
push ebx
mov ecx, esi
call fcn.00492f1a
xor eax, eax
inc eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482b13
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push 0x480
mov eax, 0x4d827a
call fcn.004b6799
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48c], eax
call fcn.0049219b
push eax
lea ecx, [ebp - 0x47c]
call fcn.00402802
and dword [ebp - 4], 0
call fcn.0049219b
push eax
lea ecx, [ebp - 0x488]
call fcn.00402802
mov byte [ebp - 4], 1
call fcn.0049219b
push eax
lea ecx, [ebp - 0x470]
call fcn.00402802
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.004b62d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.0045d1ed
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x478]
call fcn.0040254f
mov byte [ebp - 4], 3
push dword [ebp - 0x478]
lea eax, [ebp - 0x47c]
push str._s.
push eax
call fcn.00402a07
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x480], eax
cmp eax, 0xffffffff
je 0x482d5b
mov ecx, 0x52d4c4
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482c0f
test dx, dx
je 0x482c0b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482c0f
add eax, 4
add ecx, 4
test dx, dx
jne 0x482be9
xor eax, eax
jmp 0x482c14
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x482d34
mov ecx, 0x53a7d0
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482c4d
test dx, dx
je 0x482c49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482c4d
add eax, 4
add ecx, 4
test dx, dx
jne 0x482c27
xor eax, eax
jmp 0x482c52
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x482d34
test byte [ebp - 0x46c], 0x10
jne 0x482d34
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x470]
call fcn.0040272d
mov eax, dword [ebp - 0x470]
mov edi, dword [eax - 0xc]
push 0x54a614
xor ecx, ecx
lea esi, [ebp - 0x470]
call fcn.00407898
add edi, 0xfffffffd
cmp eax, edi
jne 0x482d34
call fcn.0049219b
push eax
lea ecx, [ebp - 0x474]
call fcn.00402802
lea eax, [ebp - 0x440]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x478]
lea eax, [ebp - 0x474]
push 0x532878
push eax
call fcn.00402a07
add esp, 0x10
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x484]
call fcn.004022fa
mov esi, dword [ebp - 0x484]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
jne 0x482d03
call fcn.00402845
jmp 0x482d22
test al, 0x10
jne 0x482cfc
call fcn.00402845
mov ecx, dword [ebp - 0x48c]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x474]
push edx
push eax
call fcn.0049d2c3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402845
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x482bde
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x488]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
call fcn.00402845
call fcn.004b681c
ret 4
Function at 0x484069
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dfc13
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56f710]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004051e4
call fcn.00492c24
fld qword [0x54cc40]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1ab
push dword [esi + 0x20]
lea ecx, [esi + 0x344]
mov edx, eax
call fcn.0040b93f
push 1
push 0
push 0x21
push 0x18
lea edi, [esi + 0x3ac]
push 0x18
mov ecx, edi
call fcn.0049f8e3
call fcn.00492c24
push 0x1b2
call fcn.00435076
push eax
mov eax, edi
call fcn.00435152
push 0xffffffffffffffff
push 0x269
push 0
mov ebx, 0x52dc10
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov edi, str.RESOURCESTRING
push edi
call fcn.0040254f
and dword [esp + 0x44], 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x54bdd0
call fcn.0040254f
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406eff
mov dword [esp + 0x3c], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x358]
push 0
call fcn.0049f46c
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402845
push 0xffffffffffffffff
push 0
push 0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040254f
push ecx
mov dword [esp + 0x48], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDS_UNDO_FILE
call fcn.0040254f
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00406eff
mov dword [esp + 0x3c], 3
push dword [eax]
lea ecx, [esi + 0x358]
push 1
call fcn.0049f46c
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402845
push 0
push 0
push 0x1037
push dword [esi + 0x378]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x358]
test ecx, ecx
je 0x4841e7
mov ecx, dword [ecx + 0x20]
or eax, 0x520
push eax
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
mov dword [esp + 0x20], eax
call fcn.0040254f
push ecx
mov dword [esp + 0x40], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDS_BTN_RESTORE
call fcn.0040254f
mov eax, dword [esp + 0x20]
or dword [esp + 0x40], 0xffffffff
push eax
call fcn.00406eff
push ecx
mov ebx, esp
mov dword [esp + 0x38], 5
mov dword [esp + 0x28], esp
push 0x52dc10
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x44], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.IDS_BTN_DELETE
call fcn.0040254f
push ebx
mov byte [esp + 0x48], 5
call fcn.00406eff
or dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0x358]
push eax
lea edi, [esi + 0x1dc]
lea ecx, [esi + 0x74]
call fcn.00481d4b
add esp, 0xc
mov ecx, esi
call fcn.00484b41
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485a30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4d4d12
call fcn.004b6730
mov ebx, ecx
mov esi, edx
xor edi, edi
cmp dword [ebp + 8], edi
je 0x485bdc
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push 0x54c100
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0x400000
call fcn.0040c9b1
push 0x54c0f8
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.0040217c
add esp, 0x18
lea edi, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.0049d2c3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402845
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x485bdc
call fcn.0049219b
push eax
lea ecx, [ebp + 8]
call fcn.00402802
mov dword [ebp - 4], 2
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
lea ecx, [ebp + 8]
jne 0x485af5
push 0x542dc8
call fcn.0040272d
jmp 0x485afb
push ebx
call fcn.004025ee
call fcn.0049219b
push eax
lea ecx, [ebp + 0xc]
call fcn.00402802
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
dec eax
je 0x485b62
sub eax, 3
je 0x485b3e
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004022fa
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call fcn.00485e6c
add esp, 0x14
jmp 0x485b93
mov eax, dword [esi + 4]
movzx esi, byte [eax]
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
lea ebx, [ebp + 0xc]
call fcn.004022fa
push esi
mov ecx, ebx
call fcn.00485be6
pop ecx
pop ecx
jmp 0x485b93
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004022fa
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [esi + 4]
call fcn.0040254f
mov byte [ebp - 4], 3
call fcn.00485d6a
add esp, 0xc
test al, al
mov eax, dword [ebp + 0xc]
je 0x485bc9
cmp dword [eax - 0xc], 0
je 0x485bc9
lea eax, [ebp + 0xc]
push eax
push dword [edi + 8]
mov ecx, edi
call fcn.0049d2c3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402845
xor eax, eax
inc eax
jmp 0x485bde
lea ecx, [eax - 0x10]
call fcn.00402845
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402845
xor eax, eax
call fcn.004b6808
ret 8
Function at 0x486d69
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 4
mov eax, 0x4d40e8
call fcn.004b6730
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.00402827
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x486dc0
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040272d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
call fcn.004b6808
ret

Function at 0x48add5
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0x4c]
push edi
mov edi, 0xffff
xor al, al
mov bl, 1
cmp ecx, edi
je 0x48af71
mov ebp, 0x10000000
cmp ecx, 0x7c
je 0x48af71
cmp ecx, 0x29
jne 0x48ae1f
cmp dword [esi + 0x1c], 0
jne 0x48af71
test dword [esi + 0x50], ebp
jne 0x48ae1f
push 5
call fcn.004d074d
pop ecx
jmp 0x48af5b
cmp ecx, 0x2e
jne 0x48ae3b
push 5
lea eax, [esi + 0x24]
push eax
call fcn.0048b056
mov eax, esi
call fcn.0048ad9a
jmp 0x48af5b
cmp ecx, 0x5c
jne 0x48ae9c
mov eax, esi
call fcn.0048ad9a
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x48ae6f
cmp word [esi + 0x4a], 0x62
jne 0x48ae6f
push 4
lea eax, [esi + 0x24]
push eax
call fcn.0048b056
mov eax, esi
call fcn.0048ad9a
jmp 0x48af62
test eax, eax
je 0x48ae90
cmp word [esi + 0x4a], 0x42
jne 0x48ae90
push 4
lea eax, [esi + 0x24]
push eax
call fcn.0048b056
mov eax, dword [esi + 0x28]
add eax, 8
or dword [eax], 1
jmp 0x48ae63
mov eax, esi
call fcn.0048b3a6
jmp 0x48af5b
cmp ecx, 0x5b
jne 0x48aec6
mov eax, esi
call fcn.0048ad9a
mov eax, esi
call fcn.0048b35b
cmp dword [esi + 0x4c], 0x5d
je 0x48ae2f
push 4
call fcn.004d074d
pop ecx
jmp 0x48ae2f
cmp ecx, 0x28
jne 0x48aef0
mov eax, esi
call fcn.0048ad9a
call fcn.0048b475
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x48aee7
push 5
call fcn.004d074d
pop ecx
mov eax, esi
call fcn.0048ad9a
jmp 0x48af57
cmp ecx, 0x5e
jne 0x48aefc
push 2
jmp 0x48ae5a
cmp ecx, 0x24
jne 0x48af08
push 3
jmp 0x48ae5a
cmp ecx, 0x2a
je 0x48af4f
cmp ecx, 0x2b
je 0x48af4f
cmp ecx, 0x3f
je 0x48af4f
cmp ecx, 0x7b
je 0x48af4f
cmp ecx, 0x7d
jne 0x48af2d
test dword [esi + 0x50], ebp
jne 0x48af2d
push 6
jmp 0x48ae14
cmp ecx, 0x5d
jne 0x48af3e
test dword [esi + 0x50], ebp
jne 0x48af3e
push 4
jmp 0x48ae14
mov ax, word [esi + 0x4a]
lea ecx, [esi + 0x24]
call fcn.0048b60d
jmp 0x48ae2f
push 0xa
call fcn.004d074d
pop ecx
test bl, bl
je 0x48af62
mov eax, esi
call fcn.0048b545
mov ecx, dword [esi + 0x4c]
mov al, 1
mov bl, al
cmp ecx, edi
jne 0x48adf5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret