joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45abd2
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x24
mov eax, 0x52f748
call fcn.004e4550
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov ebx, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
push ecx
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0x30], ecx
push edi
mov dword [ebp - 0x2c], ecx
call ebx
test eax, eax
jne 0x45ac18
push 0x550335
mov ecx, esi
call fcn.00414449
jmp 0x45ac9c
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
push eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.0041680d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push SysReAllocString
push dword [ebp + 8]
push edi
call ebx
test eax, eax
jne 0x45ac67
push 0x550335
mov ecx, esi
call fcn.00414449
xor ebx, ebx
jmp 0x45ac91
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x28]
xor ebx, ebx
mov byte [ecx + eax], bl
lea eax, [ebp - 0x28]
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.00416b38
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00416721
mov eax, esi
call fcn.004e44fa
ret

Function at 0x45aca4
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x28
mov eax, 0x531aef
call fcn.004e4550
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x30], esi
xor edx, edx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
jb 0x45acc9
mov eax, dword [edi]
jmp 0x45accb
mov eax, edi
mov ebx, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
lea ecx, [ebp - 0x30]
push edx
push edx
push ecx
push edx
push 1
push dword [edi + 0x10]
push eax
call ebx
test eax, eax
jne 0x45acf2
push 0x550335
mov ecx, esi
call fcn.00414449
jmp 0x45ad6b
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0041680d
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x10]
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 0x10
jb 0x45ad26
mov edi, dword [edi]
push 0
push 0
lea edx, [ebp - 0x30]
push edx
push eax
push 1
push ecx
push edi
call ebx
mov ecx, esi
test eax, eax
jne 0x45ad49
push 0x550335
call fcn.00414449
push 0
jmp 0x45ad61
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x2c]
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.00416b38
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416721
mov eax, esi
call fcn.004e44fa
ret
Function at 0x45c26f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x531ed4
call fcn.004e451c
mov esi, edx
push dword [0x5e97b0]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x45c2b1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_OpenClipboard_failed:__d
push 1
push 0
call fcn.00439ccd
add esp, 0x14
xor al, al
jmp 0x45c3ac
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x45c2d6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_EmptyClipboard_failed:__d
jmp 0x45c395
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x45c30a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_GlobalAlloc_failed:__d
jmp 0x45c395
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x45c32d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_GlobalLock_failed:__d
jmp 0x45c395
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
jb 0x45c33a
mov esi, dword [esi]
add eax, eax
push eax
push esi
push ecx
call fcn.004fced0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [eax]
push edi
mov word [ecx + eax*2], dx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x45c37b
call esi
test eax, eax
je 0x45c37b
call esi
push eax
push str.CopyToClipboard
push str._s:_GlobalUnlock_failed:__d
jmp 0x45c395
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x45c3a2
call esi
push eax
push str.CopyToClipboard
push str._s:_SetClipboardData_failed:__d
push 1
push ebx
call fcn.00439ccd
add esp, 0x14
jmp 0x45c3a4
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
call fcn.004e44e5
ret

Function at 0x45c426
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0xa
push ecx
push dword [0x5e97ac]
and dword [edi], 0
and dword [ebx], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
jne 0x45c469
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetResourceBytes___FindResource_failed___d_
push 0
push 0
call fcn.00439ccd
add esp, 0x10
xor al, al
jmp 0x45c49a
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x45c484
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetResourceBytes___LoadResource_failed___d_
jmp 0x45c459
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov dword [edi], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45c5ad
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x531f4d
call fcn.004e4550
push 0x105
lea eax, [ebp - 0x220]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x45c65e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.004261d3
push 0x5ba324
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x238]
call fcn.00424cf3
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push 1
lea ecx, [ebp - 0x250]
call fcn.004277fa
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push esi
push 1
lea ecx, [ebp - 0x238]
mov edi, eax
call fcn.004277fa
test edi, edi
je 0x45c65e
push str.SetProcessDpiAwareness
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45c657
push 2
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, esi
call fcn.004e44fa
ret
Function at 0x45c79f
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0x50
mov eax, 0x531fb0
call fcn.004e4550
mov dword [ebp - 0x4c], ecx
mov eax, 0x3a98
xor ebx, ebx
mov dword [ebp - 0x44], eax
push 2
pop edi
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x45c8c3
lea eax, [ebp - 0x44]
push eax
push esi
push 0
push 0xe
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
cmp edi, 0x6f
jne 0x45c810
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
xor esi, esi
inc ebx
cmp ebx, 3
jge 0x45c892
mov eax, dword [ebp - 0x44]
jmp 0x45c7b8
test edi, edi
jne 0x45c892
mov eax, esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x45c883
push 2
pop edx
mov ecx, dword [ebx + 0xc]
cmp word [ecx], dx
jne 0x45c879
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 0x16
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ecx + 4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_inet_ntop]
test eax, eax
je 0x45c876
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00426fe0
and dword [ebp - 4], 0
mov ecx, esi
push eax
call fcn.00423ed7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004277fa
push 2
pop edx
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x45c826
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x45c81c
mov esi, dword [ebp - 0x50]
jmp 0x45c8a9
push edi
push str.GetLocalIPv4Addresses
push str._s___GetAdaptersAddresses_failed___d_
push 0
push 0
call fcn.00439ccd
add esp, 0x14
test esi, esi
je 0x45c8bd
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
call fcn.004e44fa
ret
push str.GetLocalIPv4Addresses
push str._s___HeapAlloc_failed
push 0
push 0
call fcn.00439ccd
add esp, 0x10
lea ecx, [ebp - 0x5c]
push str.GetLocalIPv4Addresses:2190:_memory_allocation_failed
call fcn.0040e6bb
push 0x5de0f0
lea eax, [ebp - 0x5c]
push eax
call fcn.004fd5aa
int3
Function at 0x45fdd5
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x531f4d
call fcn.004e4550
push 0x105
lea eax, [ebp - 0x220]
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x45feb5
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.004261d3
push str.DNSAPI.DLL
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x238]
call fcn.00424cf3
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.004277fa
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push ebx
push 1
lea ecx, [ebp - 0x238]
mov esi, eax
call fcn.004277fa
test esi, esi
je 0x45feb5
push str.DnsFlushResolverCache
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45fe9b
call eax
test eax, eax
jne 0x45fe97
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.DnsFlushResolverCache_failed:__d
push ebx
push ebx
call fcn.00439ccd
add esp, 0x10
jmp 0x45feaa
mov bl, 1
jmp 0x45feaa
push str.GetProcAddress_DnsFlushResolverCache_failed
push ebx
push ebx
call fcn.00439ccd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov al, bl
jmp 0x45fec6
push str.LoadLibrary_DNSAPI_failed
push ebx
push ebx
call fcn.00439ccd
add esp, 0xc
xor al, al
call fcn.004e44fa
ret

Function at 0x45fee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
mov ebx, ecx
call fcn.004fd450
add esp, 0xc
mov esi, ebx
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
push 2
lea ecx, [esi + 2]
pop edx
mov ax, word [esi]
add esi, edx
cmp ax, di
jne 0x45ff0b
sub esi, ecx
xor ecx, ecx
sar esi, 1
inc esi
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4198
push esi
push ebx
mov edi, eax
push esi
push edi
call fcn.0050dcca
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push edi
test eax, eax
je 0x45ff62
call fcn.004e399c
mov eax, dword [ebp - 0x10]
jmp 0x45ff69
call fcn.004e399c
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5286a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5e1390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.004fc4ab
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x474caf
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x474cc0
push 0x44
push esi
call fcn.004e418a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47c9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533cf9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e1390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
cmp dword [0x5e9884], 0
jne 0x47c9fd
call fcn.0046e670
mov dword [0x5e9884], 0x463dc0
mov esi, dword [ebp + 8]
mov ecx, 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.004739e0
mov ecx, 8
call fcn.0047e8f0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edi]
push esi
mov dword [ebp - 0x10], 1
call dword [edx + 0x30]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47e680
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
mov ecx, esi
mov dword [esp + 0xc], edx
push edi
shr ecx, 2
xor ebx, ebx
xor edi, edi
test ecx, ecx
je 0x47e749
cmp ecx, 8
jb 0x47e720
mov ebx, ecx
lea eax, [edx + 0x10]
mov esi, ebp
and ebx, 0xfffffff8
sub esi, edx
xorps xmm3, xmm3
mov dword [esp + 0x14], esi
movaps xmm2, xmm3
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebp + edi*4]
add edi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [edx + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ebx
jb 0x47e6d0
mov edx, dword [esp + 0x10]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edi, ecx
jae 0x47e749
mov esi, ebp
lea edx, [edx + edi*4]
sub esi, dword [esp + 0x10]
sub ecx, edi
add edi, ecx
mov eax, dword [edx + esi]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
or ebx, eax
sub ecx, 1
jne 0x47e731
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
shl edi, 2
sub esi, edi
jne 0x47e75f
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
add esp, 0xc
ret
add edx, edi
mov eax, ebx
mov dword [esp + 0x10], edx
add ebp, edi
shr eax, 0x10
mov edx, ebx
shr edx, 0x18
xor edi, edi
or dl, al
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
mov dword [esp + 0x14], edx
test esi, esi
je 0x47e836
cmp esi, 0x20
jb 0x47e817
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, ebp
and ecx, 0xffffffe0
sub edx, eax
xorps xmm3, xmm3
mov dword [esp + 0x18], edx
movaps xmm2, xmm3
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebx - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [edi + ebp + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ecx
jb 0x47e7b2
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov ebx, dword [esp + 0x10]
cmp edi, esi
jae 0x47e836
sub ebp, ebx
lea ecx, [edi + ebx]
sub esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x47e826
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 0xc
ret
Function at 0x4877e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movaps xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movaps xmmword [eax], xmm0
cmp edx, 1
jbe 0x48782d
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
nop dword [eax]
movaps xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movaps xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movaps xmmword [eax], xmm0
sub edx, 1
jne 0x487810
movaps xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movaps xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movaps xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x487850
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movaps xmm1, xmmword [eax]
movaps xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movaps xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movaps xmm0, xmmword [esi]
pxor xmm0, xmm1
movaps xmmword [esi], xmm0
movaps xmm0, xmmword [eax]
pxor xmm0, xmm1
movaps xmmword [eax], xmm0
cmp edi, 1
jbe 0x4878ed
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
nop
sub dword [esp + 0xc], 1
lea edi, [edi + 0x10]
movaps xmm1, xmmword [edi - 0x10]
movaps xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [edx]
aesenc xmm0, xmm1
movaps xmmword [edx], xmm0
movaps xmm0, xmmword [esi]
aesenc xmm0, xmm1
movaps xmmword [esi], xmm0
movaps xmm0, xmmword [eax]
aesenc xmm0, xmm1
movaps xmmword [eax], xmm0
jne 0x4878b0
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movaps xmm0, xmmword [ecx]
movaps xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movaps xmmword [edx], xmm0
movaps xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movaps xmmword [esi], xmm0
movaps xmm0, xmmword [eax]
aesenclast xmm0, xmm1
pop edi
movaps xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x489c2e
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x489d94
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x489d93
cmp eax, 0x29
jne 0x489c66
cmp dword [esi + 0x10], 0
jne 0x489d93
test dword [esi + 0x50], edx
je 0x489da0
cmp eax, 0x2e
jne 0x489c81
push 5
lea ecx, [esi + 0x24]
call fcn.0048b3cc
mov ecx, esi
call fcn.0048b40c
jmp 0x489d7e
cmp eax, 0x5c
jne 0x489cdc
mov ecx, esi
call fcn.0048b40c
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x489cb3
cmp byte [esi + 0x48], 0x62
jne 0x489cb3
push 4
lea ecx, [esi + 0x24]
call fcn.0048b3cc
mov ecx, esi
call fcn.0048b40c
jmp 0x489d85
test eax, eax
je 0x489cd0
cmp byte [esi + 0x48], 0x42
jne 0x489cd0
push 4
lea ecx, [esi + 0x24]
call fcn.0048b3cc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x489ca7
mov ecx, esi
call fcn.00489da8
jmp 0x489d7e
cmp eax, 0x5b
jne 0x489cfc
mov ecx, esi
call fcn.0048b40c
mov ecx, esi
call fcn.0048a160
cmp dword [esi + 0x4c], 0x5d
je 0x489c75
push 4
jmp 0x489da2
cmp eax, 0x28
jne 0x489d24
mov ecx, esi
call fcn.0048b40c
mov ecx, esi
call fcn.0048b7be
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x489da0
mov ecx, esi
call fcn.0048b40c
jmp 0x489d7a
cmp eax, 0x5e
jne 0x489d30
push 2
jmp 0x489c9f
cmp eax, 0x24
jne 0x489d3c
push 3
jmp 0x489c9f
cmp eax, 0x2a
je 0x489d9c
cmp eax, 0x2b
je 0x489d9c
cmp eax, 0x3f
je 0x489d9c
cmp eax, 0x7b
je 0x489d9c
cmp eax, 0x7d
jne 0x489d5a
test dword [esi + 0x50], edx
je 0x489d98
cmp eax, 0x5d
jne 0x489d64
test dword [esi + 0x50], edx
je 0x489cf5
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004895e5
mov ecx, esi
call fcn.0048b40c
mov bl, 1
test bl, bl
je 0x489d85
mov ecx, esi
call fcn.0048b435
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x489c40
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x489da2
push 0xa
jmp 0x489da2
push 5
call fcn.004d25a2
int3
Function at 0x4a8b19
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5358df
call fcn.004e4550
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4a8c19
cmp byte [ebx + 0x3d], 0
je 0x4a8c19
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4a8b53
xor al, al
jmp 0x4a8c1b
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00416839
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4a8bb1
sub eax, 1
je 0x4a8bb5
dec eax
sub eax, 1
je 0x4a8c07
xor bl, bl
jmp 0x4a8c09
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4a8bed
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050f911
add esp, 0x10
cmp esi, eax
jne 0x4a8bad
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x4a8c07
test esi, esi
jne 0x4a8b77
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00416996
jmp 0x4a8b71
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00416721
mov al, bl
jmp 0x4a8c1b
mov al, 1
call fcn.004e44fa
ret
Function at 0x4b0bfa
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x53953e
call fcn.004e451c
mov ecx, dword [ebp + 0x10]
xor edx, edx
push 3
mov eax, ecx
xor ebx, ebx
pop esi
div esi
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov dword [ebp - 0x1c], ebx
test edx, edx
je 0x4b0c2f
inc ecx
xor edx, edx
mov eax, ecx
inc edi
div esi
test edx, edx
jne 0x4b0c20
mov dword [ebp - 0x1c], edi
mov eax, ecx
xor edx, edx
shl eax, 2
div esi
mov esi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x4b0c54
mov eax, dword [esi]
jmp 0x4b0c56
mov eax, esi
mov byte [eax], bl
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 1
call fcn.00414394
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 2
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4b0d48
mov edi, ebx
mov ecx, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x10]
jae 0x4b0c90
movzx eax, byte [ecx + edi]
mov dword [ebp - 0x10], eax
jmp 0x4b0c93
mov dword [ebp - 0x10], ebx
lea eax, [edi + 1]
cmp eax, dword [ebp + 0x10]
jae 0x4b0ca2
movzx edx, byte [edi + ecx + 1]
jmp 0x4b0ca4
mov edx, ebx
inc eax
cmp eax, dword [ebp + 0x10]
jae 0x4b0cb4
movzx eax, byte [edi + ecx + 2]
mov dword [ebp - 0x14], eax
jmp 0x4b0cb7
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov cl, al
and al, 3
shr cl, 2
shl al, 4
mov dword [ebp - 0x10], eax
mov al, dl
shr al, 4
and dl, 0xf
add byte [ebp - 0x10], al
mov al, byte [ebp - 0x14]
and byte [ebp - 0x14], 0x3f
shr al, 6
shl dl, 2
add dl, al
movzx eax, cl
mov ecx, esi
mov dword [ebp - 0x28], edx
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.0043051f
mov ecx, dword [ebp - 0x10]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.0043051f
mov ecx, dword [ebp - 0x28]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.0043051f
mov ecx, dword [ebp - 0x14]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.0043051f
add edi, 3
sub dword [ebp - 0x18], 1
jne 0x4b0c7f
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test edi, edi
je 0x4b0d64
cmp dword [esi + 0x14], 0x10
jb 0x4b0d56
mov eax, dword [esi]
jmp 0x4b0d58
mov eax, esi
sub eax, ebx
inc ebx
mov byte [eax + ecx - 1], 0x3d
cmp ebx, edi
jb 0x4b0d4c
mov eax, esi
call fcn.004e44e5
ret