joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4675ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4676c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x646878], 0
jne 0x4676a8
lea eax, [ebp - 4]
mov edx, 0x4676dc
call fcn.00403fa8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404354
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4676a8
mov eax, ebx
call fcn.00402758
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4676a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46768b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4676ec
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46768b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x646878], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4676a8
mov eax, dword [ebp - 0xc]
call fcn.00402770
ret
mov ebx, dword [0x646878]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4676cb
lea eax, [ebp - 4]
call fcn.00403f10
ret

Function at 0x48bc8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x48bca1
add esp, 0xfffffff0
call fcn.004034b0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404344
xor eax, eax
push ebp
push 0x48bd67
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00487d70
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00411cd4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00411cd4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00411cd4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00411cd4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00411cec
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bd6e
lea eax, [ebp - 4]
call fcn.00403f10
ret
Function at 0x49018c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x490291
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4902a8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00403f64
push 0xffffffffffffffff
mov ecx, 0x4902b8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4902d4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047c0f4
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4902f0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047bfe0
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x490304
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047bfe0
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x20]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x49031c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047bfe0
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x490338
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047c0f4
mov byte [ebx + 0x44], al
mov ecx, 0x49034c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00487a4c
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490298
lea eax, [ebp - 4]
call fcn.00403f10
ret
Function at 0x498de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49903f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x498e42
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004988a8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d520
cmp al, 1
jne 0x498e42
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00498bc0
test al, al
je 0x498fce
cmp dword [ebp - 8], 0
jge 0x498e60
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004988a8
mov eax, dword [ebp - 0x210]
call fcn.00404190
cmp ebx, eax
jge 0x498eaa
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004988a8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x645794]
and eax, 0xff
bt dword [edx], eax
jae 0x498eaa
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x498ebe
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00498dbc
cmp ebx, dword [ebp - 8]
je 0x498fc0
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x498eea
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040334c
and eax, 0x7f
movzx eax, word [eax*2 + 0x63fd1c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x498fad
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040334c
and eax, 0x7f
movzx eax, word [eax*2 + 0x63fd1c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043b7b8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040334c
and eax, 0x7f
movzx eax, word [eax*2 + 0x63fd1c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043b7b8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498fb4
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x499021
cmp dword [ebp - 8], 0
jge 0x498fd9
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004988a8
mov eax, dword [ebp - 0x218]
call fcn.00404190
cmp eax, dword [ebp - 8]
jg 0x499013
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004988a8
mov eax, dword [ebp - 0x21c]
call fcn.00404190
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00498dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499046
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403f34
ret
Function at 0x4e9b30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e9ca1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e9c7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004040b8
lea eax, [ebp - 0x118]
mov edx, 0x4e9cb8
call fcn.00404198
mov eax, dword [ebp - 0x118]
call fcn.00404354
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4e9bee
lea eax, [ebp - 0x111]
call fcn.00409f08
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403ff8
jmp 0x4e9bf5
mov eax, esi
call fcn.00403f10
cmp bl, 0x61
jae 0x4e9c16
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d928
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00403f64
jmp 0x4e9c30
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d89c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00403f64
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4e9cc4
call fcn.0040a6b0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00403f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9c83
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404354
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4ecfa9
test al, 0x10
jne 0x4ecfad
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4ed7b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ed983
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x34], 0
je 0x4ed7f3
cmp byte [ebx + 0x35], 0
jne 0x4ed7f3
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4ed81f
cmp byte [ebx + 0x35], 1
jne 0x4ed80d
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004e7200
jmp 0x4ed81f
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004e7200
xor edx, edx
push ebp
push 0x4ed95e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x3c]
mov edx, 0x104
call fcn.004044c4
mov eax, dword [ebx + 0x3c]
call fcn.00404354
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x38], 0
je 0x4ed858
mov eax, dword [ebx + 0x38]
call fcn.00404354
mov dword [ebp - 0x1c], eax
jmp 0x4ed85d
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x35], 1
jne 0x4ed86c
mov dword [ebp - 0x18], 0x1000
jmp 0x4ed873
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x4ed3e0
mov dword [ebp - 0x10], ebx
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004ed994
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4ed943
xor eax, eax
push ebp
push 0x4ed93c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x35], 0
jne 0x4ed909
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDList
call fcn.0040e0b8
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.0040a168
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004edaec
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x44]
call fcn.00403f64
jmp 0x4ed914
lea eax, [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
call fcn.00403f64
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x44]
call fcn.00403f64
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x48], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed943
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed965
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ed95d
push eax
call sub.ole32.dll_CoTaskMemFree
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404344
xor eax, eax
push ebp
push 0x4edb9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404354
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4edb81
test al, 0x10
jne 0x4edb85
xor ebx, ebx
jmp 0x4edb87
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edba4
lea eax, [ebp - 4]
call fcn.00403f10
ret
Function at 0x4ef5e4
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2b4]
mov eax, ebx
call fcn.004eeea4
test al, al
je 0x4ef714
mov eax, dword [ebp - 4]
call fcn.004ef378
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x68]
mov word [ebp - 8], ax
mov dx, 0xfff5
mov eax, dword [ebp - 4]
call fcn.004357a8
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00404354
push eax
mov eax, ebx
call fcn.00404354
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00404354
push eax
call sub.kernel32.dll_SetFileAttributesA
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2cc]
mov dl, 1
mov eax, dword [0x4113b8]
call fcn.00414fd4
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a4], esi
xor eax, eax
push ebp
push 0x4ef70d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00414d5c
mov eax, dword [ebp - 4]
add eax, 0x2c8
mov edx, ebx
call fcn.00403f64
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef714
mov dx, word [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004357a8
mov eax, dword [ebp - 4]
call fcn.004f1be4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d0]
xor edx, edx
call fcn.00412f08
mov eax, dword [ebp - 4]
call fcn.004ef76c
mov eax, dword [ebp - 4]
mov byte [eax + 0x321], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x308], 0
push 1
push 1
xor ecx, ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004e0938
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4f5c18
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f5d9a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004f58f8
mov eax, ebx
call fcn.0041ca10
dec al
je 0x4f5c5c
dec al
je 0x4f5c62
jmp 0x4f5c68
mov byte [ebp - 0x77], 2
jmp 0x4f5c6c
mov byte [ebp - 0x77], 1
jmp 0x4f5c6c
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0041c99c
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.0041c9d8
test al, 1
je 0x4f5cb8
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.0041c9d8
test al, 2
je 0x4f5cca
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.0041c9d8
test al, 4
je 0x4f5cdc
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.0041c9d8
test al, 8
je 0x4f5cee
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0041c928
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.0040a01c
mov edi, dword [ebx + 0x18]
cmp edi, 0x80000008
je 0x4f5d21
cmp edi, 0x20000000
jne 0x4f5d2d
mov dword [ebp - 0x88], 0x40000000
jmp 0x4f5d37
mov eax, edi
call fcn.0041c258
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.0041ca40
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0041c72c
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x4f5d74
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004f5964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5da1
lea eax, [ebp - 0x94]
call fcn.00403f10
ret

Function at 0x4fb2d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb8
mov esi, ecx
lea edi, [esp]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov cl, 0x47
mov eax, esp
mov ebx, edx
shr ebx, 8
and ebx, 0xffffff
movzx esi, byte [eax]
xor edx, esi
and edx, 0xff
mov edx, dword [edx*4 + 0x640144]
xor ebx, edx
mov edx, ebx
inc eax
dec cl
jne 0x4fb2e9
mov eax, edx
add esp, 0x48
pop edi
pop esi
pop ebx
ret
Function at 0x5031b0
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x50324c
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x6406fc]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
push dword [edx + 0x6406fc]
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
push dword [edx + 0x6406fc]
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x6406fc]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x5031cf
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x503262
dec edx
je 0x503297
jmp 0x5032e8
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x6406fc]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x6406fc]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x5032e8
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x6406fc]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x6406fc]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x6406fc]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x505558
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x24], 0
jne 0x505582
mov ecx, 0x5055e0
mov dl, 1
mov eax, dword [0x504c58]
call fcn.0040cb64
call fcn.00403908
mov dword [ebp - 8], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
test eax, eax
jle 0x5055cf
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [ebx + 0x34]
xor al, byte [edx]
mov byte [esi], al
mov ecx, dword [ebx + 0x38]
dec ecx
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x30]
inc eax
call fcn.004029c8
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x38]
dec eax
mov dl, byte [esi]
mov byte [eax], dl
inc dword [ebp - 8]
inc esi
dec dword [ebp - 0xc]
jne 0x505592
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5055f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x24], 0
jne 0x505622
mov ecx, 0x505688
mov dl, 1
mov eax, dword [0x504c58]
call fcn.0040cb64
call fcn.00403908
mov esi, edx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x505677
mov dword [ebp - 0x10], eax
mov al, byte [esi]
mov byte [ebp - 9], al
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebx + 0x34]
mov al, byte [eax]
xor al, byte [esi]
mov edx, dword [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebx + 0x38]
dec ecx
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x30]
inc eax
call fcn.004029c8
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x38]
dec eax
mov dl, byte [ebp - 9]
mov byte [eax], dl
inc esi
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x505634
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x505c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x505cc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x504f7c]
mov eax, 0x14
call fcn.00404c78
mov edi, eax
mov dword [edi + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fbc
mov edx, dword [ebp - 4]
lea eax, [edi + 4]
call fcn.00403f64
mov eax, esi
call dword [eax + 0x30]
mov dword [edi + 8], eax
mov eax, dword [0x647ca4]
mov dword [edi], eax
mov byte [edi + 0x10], bl
mov dword [0x647ca4], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505cc9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f34
ret

Function at 0x505cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x505d4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x504fa4]
mov eax, 0x10
call fcn.00404c78
mov ebx, eax
mov dword [ebx + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fbc
mov edx, dword [ebp - 4]
lea eax, [ebx + 4]
call fcn.00403f64
mov eax, esi
call dword [eax + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [0x647ca8]
mov dword [ebx], eax
mov dword [0x647ca8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505d53
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f34
ret

Function at 0x505da8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x505dc8
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x505db6
pop edi
pop esi
pop ebx
ret