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

Disassembly:
push 0x24
mov eax, 0x52fa3e
call fcn.004e4832
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 0x45af53
push 0x550335
mov ecx, esi
call fcn.004147d9
jmp 0x45afd7
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.00416b9d
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 0x45afa2
push 0x550335
mov ecx, esi
call fcn.004147d9
xor ebx, ebx
jmp 0x45afcc
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.00416ec8
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00416ab1
mov eax, esi
call fcn.004e47dc
ret

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

Disassembly:
push 0x28
mov eax, 0x531de5
call fcn.004e4832
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 0x45b004
mov eax, dword [edi]
jmp 0x45b006
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 0x45b02d
push 0x550335
mov ecx, esi
call fcn.004147d9
jmp 0x45b0a6
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.00416b9d
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 0x45b061
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 0x45b084
push 0x550335
call fcn.004147d9
push 0
jmp 0x45b09c
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.00416ec8
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
mov eax, esi
call fcn.004e47dc
ret
Function at 0x45c536
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x5321b4
call fcn.004e47fe
mov esi, edx
push dword [0x5e57b0]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x45c578
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_OpenClipboard_failed:__d
push 1
push 0
call fcn.0043a05d
add esp, 0x14
xor al, al
jmp 0x45c673
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x45c59d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_EmptyClipboard_failed:__d
jmp 0x45c65c
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 0x45c5d1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_GlobalAlloc_failed:__d
jmp 0x45c65c
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x45c5f4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_GlobalLock_failed:__d
jmp 0x45c65c
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
jb 0x45c601
mov esi, dword [esi]
add eax, eax
push eax
push esi
push ecx
call fcn.004fd1c0
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 0x45c642
call esi
test eax, eax
je 0x45c642
call esi
push eax
push str.CopyToClipboard
push str._s:_GlobalUnlock_failed:__d
jmp 0x45c65c
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x45c669
call esi
push eax
push str.CopyToClipboard
push str._s:_SetClipboardData_failed:__d
push 1
push ebx
call fcn.0043a05d
add esp, 0x14
jmp 0x45c66b
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
call fcn.004e47c7
ret

Function at 0x45c6ed
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 [0x5e57ac]
and dword [edi], 0
and dword [ebx], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
jne 0x45c730
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetResourceBytes___FindResource_failed___d_
push 0
push 0
call fcn.0043a05d
add esp, 0x10
xor al, al
jmp 0x45c761
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x45c74b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetResourceBytes___LoadResource_failed___d_
jmp 0x45c720
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 0x45c874
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x53222d
call fcn.004e4832
push 0x105
lea eax, [ebp - 0x220]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x45c925
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.00426565
push 0x5b5ff4
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x238]
call fcn.00425085
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push 1
lea ecx, [ebp - 0x250]
call fcn.00427b8c
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.00427b8c
test edi, edi
je 0x45c925
push str.SetProcessDpiAwareness
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45c91e
push 2
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, esi
call fcn.004e47dc
ret
Function at 0x45ca66
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0x50
mov eax, 0x532290
call fcn.004e4832
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 0x45cb8a
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 0x45cad7
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 0x45cb59
mov eax, dword [ebp - 0x44]
jmp 0x45ca7f
test edi, edi
jne 0x45cb59
mov eax, esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x45cb4a
push 2
pop edx
mov ecx, dword [ebx + 0xc]
cmp word [ecx], dx
jne 0x45cb40
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 0x45cb3d
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00427372
and dword [ebp - 4], 0
mov ecx, esi
push eax
call fcn.00424269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.00427b8c
push 2
pop edx
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x45caed
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x45cae3
mov esi, dword [ebp - 0x50]
jmp 0x45cb70
push edi
push str.GetLocalIPv4Addresses
push str._s___GetAdaptersAddresses_failed___d_
push 0
push 0
call fcn.0043a05d
add esp, 0x14
test esi, esi
je 0x45cb84
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
call fcn.004e47dc
ret
push str.GetLocalIPv4Addresses
push str._s___HeapAlloc_failed
push 0
push 0
call fcn.0043a05d
add esp, 0x10
lea ecx, [ebp - 0x5c]
push str.GetLocalIPv4Addresses:2164:_memory_allocation_failed
call fcn.0040ea4b
push 0x5d9d90
lea eax, [ebp - 0x5c]
push eax
call fcn.004fd89a
int3
Function at 0x46009c
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x53222d
call fcn.004e4832
push 0x105
lea eax, [ebp - 0x220]
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x46017c
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.00426565
push str.DNSAPI.DLL
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x238]
call fcn.00425085
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.00427b8c
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.00427b8c
test esi, esi
je 0x46017c
push str.DnsFlushResolverCache
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x460162
call eax
test eax, eax
jne 0x46015e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.DnsFlushResolverCache_failed:__d
push ebx
push ebx
call fcn.0043a05d
add esp, 0x10
jmp 0x460171
mov bl, 1
jmp 0x460171
push str.GetProcAddress_DnsFlushResolverCache_failed
push ebx
push ebx
call fcn.0043a05d
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov al, bl
jmp 0x46018d
push str.LoadLibrary_DNSAPI_failed
push ebx
push ebx
call fcn.0043a05d
add esp, 0xc
xor al, al
call fcn.004e47dc
ret

Function at 0x4601a7
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.004fd740
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 0x4601d2
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.004e447a
push esi
push ebx
mov edi, eax
push esi
push edi
call fcn.0050df79
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 0x460229
call fcn.004e3c7e
mov eax, dword [ebp - 0x10]
jmp 0x460230
call fcn.004e3c7e
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474f30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528986
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5dd390]
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.004fc79b
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x474f7f
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x474f90
push 0x44
push esi
call fcn.004e446c
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 0x47cc80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533fd9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5dd390]
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 [0x5e5884], 0
jne 0x47cccd
call fcn.0046e940
mov dword [0x5e5884], 0x464090
mov esi, dword [ebp + 8]
mov ecx, 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.00473cb0
mov ecx, 8
call fcn.0047ebc0
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 0x47e950
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 0x47ea19
cmp ecx, 8
jb 0x47e9f0
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 0x47e9a0
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 0x47ea19
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 0x47ea01
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
shl edi, 2
sub esi, edi
jne 0x47ea2f
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 0x47eb06
cmp esi, 0x20
jb 0x47eae7
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 0x47ea82
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 0x47eb06
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 0x47eaf6
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 0xc
ret
Function at 0x487ab0
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 0x487afd
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 0x487ae0
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 0x487b20
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 0x487bbd
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 0x487b80
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 0x489efe
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x48a064
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x48a063
cmp eax, 0x29
jne 0x489f36
cmp dword [esi + 0x10], 0
jne 0x48a063
test dword [esi + 0x50], edx
je 0x48a070
cmp eax, 0x2e
jne 0x489f51
push 5
lea ecx, [esi + 0x24]
call fcn.0048b699
mov ecx, esi
call fcn.0048b6d9
jmp 0x48a04e
cmp eax, 0x5c
jne 0x489fac
mov ecx, esi
call fcn.0048b6d9
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x489f83
cmp byte [esi + 0x48], 0x62
jne 0x489f83
push 4
lea ecx, [esi + 0x24]
call fcn.0048b699
mov ecx, esi
call fcn.0048b6d9
jmp 0x48a055
test eax, eax
je 0x489fa0
cmp byte [esi + 0x48], 0x42
jne 0x489fa0
push 4
lea ecx, [esi + 0x24]
call fcn.0048b699
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x489f77
mov ecx, esi
call fcn.0048a078
jmp 0x48a04e
cmp eax, 0x5b
jne 0x489fcc
mov ecx, esi
call fcn.0048b6d9
mov ecx, esi
call fcn.0048a42d
cmp dword [esi + 0x4c], 0x5d
je 0x489f45
push 4
jmp 0x48a072
cmp eax, 0x28
jne 0x489ff4
mov ecx, esi
call fcn.0048b6d9
mov ecx, esi
call fcn.0048ba8b
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x48a070
mov ecx, esi
call fcn.0048b6d9
jmp 0x48a04a
cmp eax, 0x5e
jne 0x48a000
push 2
jmp 0x489f6f
cmp eax, 0x24
jne 0x48a00c
push 3
jmp 0x489f6f
cmp eax, 0x2a
je 0x48a06c
cmp eax, 0x2b
je 0x48a06c
cmp eax, 0x3f
je 0x48a06c
cmp eax, 0x7b
je 0x48a06c
cmp eax, 0x7d
jne 0x48a02a
test dword [esi + 0x50], edx
je 0x48a068
cmp eax, 0x5d
jne 0x48a034
test dword [esi + 0x50], edx
je 0x489fc5
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004898b5
mov ecx, esi
call fcn.0048b6d9
mov bl, 1
test bl, bl
je 0x48a055
mov ecx, esi
call fcn.0048b702
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x489f10
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x48a072
push 0xa
jmp 0x48a072
push 5
call fcn.004d28a5
int3
Function at 0x4a8ec5
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5382ff
call fcn.004e4832
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4a8fc5
cmp byte [ebx + 0x3d], 0
je 0x4a8fc5
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4a8eff
xor al, al
jmp 0x4a8fc7
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.00416bc9
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 0x4a8f5d
sub eax, 1
je 0x4a8f61
dec eax
sub eax, 1
je 0x4a8fb3
xor bl, bl
jmp 0x4a8fb5
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 0x4a8f99
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050fbc1
add esp, 0x10
cmp esi, eax
jne 0x4a8f59
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x4a8fb3
test esi, esi
jne 0x4a8f23
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00416d26
jmp 0x4a8f1d
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00416ab1
mov al, bl
jmp 0x4a8fc7
mov al, 1
call fcn.004e47dc
ret
Function at 0x4b0f59
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x539806
call fcn.004e47fe
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 0x4b0f8e
inc ecx
xor edx, edx
mov eax, ecx
inc edi
div esi
test edx, edx
jne 0x4b0f7f
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 0x4b0fb3
mov eax, dword [esi]
jmp 0x4b0fb5
mov eax, esi
mov byte [eax], bl
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 1
call fcn.00414724
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 2
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4b10a7
mov edi, ebx
mov ecx, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x10]
jae 0x4b0fef
movzx eax, byte [ecx + edi]
mov dword [ebp - 0x10], eax
jmp 0x4b0ff2
mov dword [ebp - 0x10], ebx
lea eax, [edi + 1]
cmp eax, dword [ebp + 0x10]
jae 0x4b1001
movzx edx, byte [edi + ecx + 1]
jmp 0x4b1003
mov edx, ebx
inc eax
cmp eax, dword [ebp + 0x10]
jae 0x4b1013
movzx eax, byte [edi + ecx + 2]
mov dword [ebp - 0x14], eax
jmp 0x4b1016
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.004308aa
mov ecx, dword [ebp - 0x10]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
mov ecx, dword [ebp - 0x28]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
mov ecx, dword [ebp - 0x14]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
add edi, 3
sub dword [ebp - 0x18], 1
jne 0x4b0fde
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test edi, edi
je 0x4b10c3
cmp dword [esi + 0x14], 0x10
jb 0x4b10b5
mov eax, dword [esi]
jmp 0x4b10b7
mov eax, esi
sub eax, ebx
inc ebx
mov byte [eax + ecx - 1], 0x3d
cmp ebx, edi
jb 0x4b10ab
mov eax, esi
call fcn.004e47c7
ret