joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4406a0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x8ac074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x8afc78], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x440720
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040fb10
push 0x4010
push 0x160
mov ecx, dword [eax]
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x80
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.0045acd6
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045aac2
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x8afc70]
test eax, eax
je 0x440747
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0045aac2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x440800
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x8ac074]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x46d7b2
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045aac2
mov esp, ebp
pop ebp
ret 4

Function at 0x440bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bdbe
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x8ac074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xd66
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
lea ecx, [ebp - 0x18]
sete al
mov byte [esi + 0x30], al
call fcn.0040ea00
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 8]
call fcn.0041a530
lea ecx, [ebp - 0x18]
call fcn.0040f240
lea ecx, [ebp - 0x18]
call fcn.0040f1f0
lea eax, [ebp - 0x18]
push eax
call fcn.00416eb0
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0xc]
call fcn.0040ed30
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x18]
call fcn.0045acd6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441110
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8ac074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CExtractDialog.0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
call fcn.0040ea00
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040ea00
mov word [esi + 0x24], 0
mov eax, esi
mov word [esi + 0x30], 0
mov byte [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x451fa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bf20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x8ac074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x452013
mov esi, dword [ebx + 4]
jmp 0x452019
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x45202d
movzx ecx, word [edi]
mov esi, dword [esi + 4]
cmp cx, word [esi + 8]
je 0x452074
cmp esi, eax
jne 0x452020
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x45205d
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4520af
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x4520d1
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0045b2e7
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x4520b7
mov dword [ecx], edi
jmp 0x4520d1
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4520d1
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0045a110
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45a980
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx]
mov esi, dword [edi + 0xc]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x18]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
nop
cmp ebx, ecx
jne 0x45a9c8
mov edx, ecx
jmp 0x45a9cd
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x45aa19
mov dx, word [eax + 8]
cmp dx, word [esi]
je 0x45a9de
mov eax, dword [eax]
jmp 0x45a9c0
movzx esi, word [esi]
mov edx, eax
mov dword [ebp + 0xc], esi
cmp ebx, ecx
jne 0x45a9ee
mov esi, ecx
jmp 0x45a9f3
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x45aa04
mov esi, dword [ebp + 0xc]
cmp si, word [eax + 8]
jne 0x45aa04
mov eax, dword [eax]
jmp 0x45a9e6
cmp edx, eax
je 0x45aa19
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8

Function at 0x45aa30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x45aa89
cmp dword [ecx], edi
jne 0x45aa81
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x45aa91
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x45aa91
cmp dword [ecx], edi
jne 0x45aa94
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push 1
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push edi
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0045a350
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x401024
Capabilities:
Get common file path

Disassembly:
push edi
sub esp, 0x200
push esp
pop edi
push 0x100
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
lea edx, [edi + 0x7c]
xor ecx, ecx
push ecx
push ecx
push ecx
push edx
push ecx
push edi
add edi, eax
mov eax, 0x69636d5c
stosd dword es:[edi], eax
mov eax, 0x65766177
stosd dword es:[edi], eax
mov eax, 0x6c6c642e
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
call sub.KERNEL32.dll_FindFirstFileExA
add esp, 0x200
pop edi
cmp eax, 1
jg 0x40106c
ret
pushal
jmp fcn.0040128c

Function at 0x401384
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
push eax
call sub.KERNEL32.dll_GetCommandLineA
pop eax
push eax
push ebx
push edx
call fcn.0040166c
pop eax
push eax
mov esi, 0x19
push esi
call sub.KERNEL32.dll_Sleep
pop eax
pop ebp
ret 0x10

Function at 0x4034cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x4034db
pop dword [ebp - 0xc]
mov eax, 0x61e55660
add eax, 0x9e5ade7b
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3fd44b7b
add dword [ebp - 0x1c], 0xe7df9d0
mov dword [ebp - 0x18], 0xdef29068
add dword [ebp - 0x18], 0x5340bbdd
mov dword [ebp - 0x14], 0x833af95a
add dword [ebp - 0x14], 0xc9114ad4
mov dword [ebp - 0x10], 0xe50831b0
add dword [ebp - 0x10], 0x1af7ce50
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x859fc59e
add eax, 0x7aa07ab6
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xa3ce3cd2
sub dword [ebp - 0x1c], 0x2f5bd37c
mov dword [ebp - 0x18], 0x35d482cd
sub dword [ebp - 0x18], 0xf4682158
mov dword [ebp - 0x14], 0x4cad471c
add dword [ebp - 0x14], 0x16c22550
mov dword [ebp - 0x10], 0x5d271928
sub dword [ebp - 0x10], 0x5d271928
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x33e64
push 0
call eax
mov ecx, 0xeffe8ad4
add ecx, 0x1001b13a
xor edx, edx
add edx, eax
mov esi, 0x96833404
sub esi, 0x9642b004
add esi, dword [ebp - 0xc]
mov ebx, 0x8cac4a97
sub ebx, 0x57b4d1d1
xor dword [ebp - 4], ecx
mov edi, dword [esi]
add dword [ebp - 8], edi
sub edi, ebx
sub dword [ebp - 4], edx
mov dword [edx], edi
sub dword [ebp - 4], 0x8cd4ea76
add edx, 0xd3bb6e32
add edx, 0x2c4491d2
add esi, 4
loop 0x4035fa
add eax, 0xe30b
mov ebx, eax
add eax, 0xf1000d18
sub eax, 0xf1000d13
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401443
pop dword [ebp - 0x14]
mov eax, 0x401443
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf27cc118
sub dword [ebp - 0x24], 0xa42a7bcd
mov dword [ebp - 0x20], 0x358e9f62
sub dword [ebp - 0x20], 0x35b531d
mov dword [ebp - 0x1c], 0x26ca1b11
sub dword [ebp - 0x1c], 0xda7dd6e3
mov dword [ebp - 0x18], 0x6221930d
add dword [ebp - 0x18], 0x9dde6cf3
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x1e47468e
add dword [ebp - 0x24], 0x562b22c8
mov dword [ebp - 0x20], 0x3a02bc7e
add dword [ebp - 0x20], 0x769a4f7
mov dword [ebp - 0x1c], 0xd53d801a
add dword [ebp - 0x1c], 0x8e31ec52
mov dword [ebp - 0x18], 0xdefcca01
add dword [ebp - 0x18], 0x210335ff
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x70566566
sub eax, 0x7015e466
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3a55e
push 0
call eax
mov ecx, 0xb88a61ed
sub ecx, 0xb88a11bf
xor edx, edx
add edx, eax
mov ebx, 0x815a80df
add ebx, 0x7eec6321
add ebx, dword [ebp - 0x14]
mov esi, 0xcc353d09
sub dword [ebp - 0xc], esi
mov edi, dword [ebx]
sub dword [ebp - 0xc], ebx
add edi, esi
sub dword [ebp - 0xc], 0x61ae4df8
mov dword [edx], edi
xor dword [ebp - 4], esi
add edx, 0x764422e1
add edx, 0x89bbdd23
add ebx, 0x4b2ed43c
add ebx, 0xb4d12bc8
loop 0x401557
add eax, 0xa804dcfc
add eax, 0x57fc568f
xor ebx, ebx
add ebx, eax
add eax, 0x57cf9bf2
sub eax, 0x57cf9bed
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40140c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x401425
mov eax, dword [ebp - 4]
jmp 0x4014ff
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4014da
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c0b80]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4c0b80]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c0b80]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4c0b80]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c0b80]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4c0b80]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c0b80]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c0b80]
dec ebp
jne 0x401444
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4014f6
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4c0b80]
dec ecx
jne 0x4014e4
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401557
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add eax, 3
push 4
shl eax, 4
add eax, ecx
pop ecx
push ebx
push esi
mov dword [ebp + 0xc], ecx
push edi
xor esi, esi
mov edi, eax
mov bl, byte [edi]
xor byte [edx + esi], bl
inc esi
add edi, ecx
cmp esi, ecx
jl 0x401575
inc eax
add edx, ecx
dec dword [ebp + 0xc]
jne 0x401571
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40183b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, ecx
lea edi, [ebp - 0xc]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
movzx eax, byte [edi + 4]
push eax
mov ecx, edx
call fcn.004016b9
mov bl, byte [edi - 8]
mov byte [ebp - 0x15], al
movzx eax, byte [edi]
push eax
call fcn.004016b9
push ebx
mov byte [ebp - 0x17], al
call fcn.004016c3
mov bl, al
movzx eax, byte [edi - 4]
push eax
call fcn.004016d9
xor bl, al
xor bl, byte [ebp - 0x15]
movzx eax, byte [edi - 8]
xor bl, byte [ebp - 0x17]
push eax
mov ecx, edx
mov byte [esi - 4], bl
call fcn.004016b9
mov byte [ebp - 0x18], al
movzx eax, byte [edi - 4]
push eax
call fcn.004016c3
mov bl, al
movzx eax, byte [edi]
push eax
call fcn.004016d9
xor bl, al
xor bl, byte [ebp - 0x18]
movzx eax, byte [edi - 4]
xor bl, byte [ebp - 0x15]
push eax
mov ecx, edx
mov byte [esi], bl
call fcn.004016b9
movzx ebx, byte [edi + 4]
push ebx
mov byte [ebp - 0x15], al
call fcn.004016d9
mov byte [ebp - 0x16], al
movzx eax, byte [edi]
push eax
mov ecx, edx
call fcn.004016c3
mov cl, byte [ebp - 0x16]
xor cl, al
xor cl, byte [ebp - 0x15]
movzx eax, byte [edi - 8]
xor cl, byte [ebp - 0x18]
push eax
mov byte [esi + 4], cl
mov ecx, edx
call fcn.004016d9
push ebx
mov ecx, edx
mov byte [ebp - 0x16], al
call fcn.004016c3
mov cl, byte [ebp - 0x16]
xor cl, al
xor cl, byte [ebp - 0x15]
xor cl, byte [ebp - 0x17]
inc esi
mov byte [esi + 7], cl
inc edi
dec dword [ebp - 0x1c]
jne 0x401869
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret 4
Function at 0x401948
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 4
movsd dword es:[edi], dword [esi]
mov ebx, ecx
lea esi, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 4
movzx eax, byte [esi + 4]
push eax
mov ecx, ebx
call fcn.00401740
mov byte [ebp - 0x15], al
movzx eax, byte [esi + 8]
push eax
mov ecx, ebx
call fcn.004016ee
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.00401715
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi - 4]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.0040176b
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
mov byte [eax - 4], cl
movzx eax, byte [esi + 4]
push eax
mov ecx, ebx
call fcn.00401715
mov byte [ebp - 0x15], al
movzx eax, byte [esi + 8]
push eax
mov ecx, ebx
call fcn.00401740
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.0040176b
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi - 4]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.004016ee
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
mov byte [eax], cl
movzx eax, byte [esi + 4]
push eax
mov ecx, ebx
call fcn.0040176b
mov byte [ebp - 0x15], al
movzx eax, byte [esi + 8]
push eax
mov ecx, ebx
call fcn.00401715
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.004016ee
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi - 4]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.00401740
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], cl
movzx eax, byte [esi + 4]
push eax
mov ecx, ebx
call fcn.004016ee
mov byte [ebp - 0x15], al
movzx eax, byte [esi + 8]
push eax
mov ecx, ebx
call fcn.0040176b
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.00401740
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [esi - 4]
mov byte [ebp - 0x15], cl
push eax
mov ecx, ebx
call fcn.00401715
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
inc esi
dec dword [ebp - 0x20]
mov byte [eax + 8], cl
jne 0x401979
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret 4
Function at 0x402185
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
jbe 0x40227f
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 8], 1
sub dword [ebp - 8], ecx
mov dword [ebp - 0xc], 2
sub dword [ebp - 0xc], ecx
push esi
mov esi, dword [ebp + 0x10]
jmp 0x4021bd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add edi, ecx
movzx ecx, byte [edi]
shr ecx, 2
mov cl, byte [ecx + 0x4c42b0]
mov byte [eax + esi], cl
mov cl, byte [edi]
and cl, 3
add edx, edi
shl cl, 4
cmp edx, dword [ebp + 0xc]
jae 0x402254
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 8]
lea edx, [ebx + edx + 1]
mov bl, byte [edx]
shr bl, 4
add bl, cl
movzx ecx, bl
mov cl, byte [ecx + 0x4c42b0]
mov byte [eax + esi + 1], cl
mov cl, byte [edx]
mov edx, dword [ebp - 0xc]
and cl, 0xf
add edx, edi
shl cl, 2
cmp edx, dword [ebp + 0xc]
jae 0x402240
mov edx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi + 2]
mov bl, dl
and bl, 0x3f
shr dl, 6
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + 0x4c42b0]
mov byte [eax + esi + 2], cl
movzx ecx, bl
mov cl, byte [ecx + 0x4c42b0]
mov byte [eax + esi + 3], cl
jmp 0x402268
movzx ecx, cl
mov cl, byte [ecx + 0x4c42b0]
mov byte [eax + esi + 2], cl
mov byte [eax + esi + 3], 0x3d
jmp 0x402268
movzx ecx, cl
mov cl, byte [ecx + 0x4c42b0]
mov byte [eax + esi + 1], cl
mov word [eax + esi + 2], 0x3d3d
mov edi, dword [ebp - 4]
add edi, 3
add eax, 4
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 0xc]
jb 0x4021ba
pop esi
pop ebx
pop edi
leave
ret

Function at 0x402282
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
sub esp, 0xc
cmp byte [ecx + eax - 1], 0x3d
jne 0x4022a0
dec eax
cmp byte [ecx + eax - 1], 0x3d
je 0x402295
mov dword [ebp + 0xc], eax
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
jbe 0x402352
push ebx
mov dword [ebp - 8], 2
sub dword [ebp - 8], ecx
mov dword [ebp - 0xc], 3
sub dword [ebp - 0xc], ecx
push edi
mov edi, dword [ebp + 0x10]
movsx eax, byte [ecx + 1]
movsx edx, byte [ecx]
mov al, byte [eax + 0x4c1210]
mov dl, byte [edx + 0x4c1210]
shl dl, 2
mov bl, al
sar bl, 4
and bl, 3
or dl, bl
mov byte [esi + edi], dl
mov edx, dword [ebp - 8]
add edx, ecx
inc esi
cmp edx, dword [ebp + 0xc]
jae 0x40233d
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
movsx edx, byte [edx + ebx + 2]
mov dl, byte [edx + 0x4c1210]
mov bl, dl
sar bl, 2
shl al, 4
and bl, 0xf
or bl, al
mov eax, dword [ebp - 0xc]
mov byte [esi + edi], bl
add eax, ecx
inc esi
cmp eax, dword [ebp + 0xc]
jae 0x40233d
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 8]
movsx eax, byte [eax + ebx + 3]
mov al, byte [eax + 0x4c1210]
and al, 0x3f
shl dl, 6
or al, dl
mov byte [esi + edi], al
inc esi
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
add ecx, 4
cmp eax, dword [ebp + 0xc]
jb 0x4022c7
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret