joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4482db
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov cl, byte [edi]
test cl, cl
je 0x4483fa
mov al, byte [esi]
test al, al
je 0x4483fa
movsx edx, cl
add edx, 0xffffff9f
cmp edx, 0x19
ja case.default.0x448304
jmp dword [edx*4 + 0x44841f]
mov cl, 0x41
jmp case.default.0x448304
mov cl, 0x42
jmp case.default.0x448304
mov cl, 0x43
jmp case.default.0x448304
mov cl, 0x44
jmp case.default.0x448304
mov cl, 0x45
jmp case.default.0x448304
mov cl, 0x46
jmp case.default.0x448304
mov cl, 0x47
jmp case.default.0x448304
mov cl, 0x48
jmp case.default.0x448304
mov cl, 0x49
jmp case.default.0x448304
mov cl, 0x4a
jmp case.default.0x448304
mov cl, 0x4b
jmp case.default.0x448304
mov cl, 0x4c
jmp case.default.0x448304
mov cl, 0x4d
jmp case.default.0x448304
mov cl, 0x4e
jmp case.default.0x448304
mov cl, 0x4f
jmp case.default.0x448304
mov cl, 0x50
jmp case.default.0x448304
mov cl, 0x51
jmp case.default.0x448304
mov cl, 0x52
jmp case.default.0x448304
mov cl, 0x53
jmp case.default.0x448304
mov cl, 0x54
jmp case.default.0x448304
mov cl, 0x55
jmp case.default.0x448304
mov cl, 0x56
jmp case.default.0x448304
mov cl, 0x57
jmp case.default.0x448304
mov cl, 0x58
jmp case.default.0x448304
mov cl, 0x59
jmp case.default.0x448304
mov cl, 0x5a
movsx edx, al
add edx, 0xffffff9f
cmp edx, 0x19
ja case.default.0x44837c
jmp dword [edx*4 + 0x448487]
mov al, 0x41
jmp case.default.0x44837c
mov al, 0x42
jmp case.default.0x44837c
mov al, 0x43
jmp case.default.0x44837c
mov al, 0x44
jmp case.default.0x44837c
mov al, 0x45
jmp case.default.0x44837c
mov al, 0x46
jmp case.default.0x44837c
mov al, 0x47
jmp case.default.0x44837c
mov al, 0x48
jmp case.default.0x44837c
mov al, 0x49
jmp case.default.0x44837c
mov al, 0x4a
jmp case.default.0x44837c
mov al, 0x4b
jmp case.default.0x44837c
mov al, 0x4c
jmp case.default.0x44837c
mov al, 0x4d
jmp case.default.0x44837c
mov al, 0x4e
jmp case.default.0x44837c
mov al, 0x4f
jmp case.default.0x44837c
mov al, 0x50
jmp case.default.0x44837c
mov al, 0x51
jmp case.default.0x44837c
mov al, 0x52
jmp case.default.0x44837c
mov al, 0x53
jmp case.default.0x44837c
mov al, 0x54
jmp case.default.0x44837c
mov al, 0x55
jmp case.default.0x44837c
mov al, 0x56
jmp case.default.0x44837c
mov al, 0x57
jmp case.default.0x44837c
mov al, 0x58
jmp case.default.0x44837c
mov al, 0x59
jmp case.default.0x44837c
mov al, 0x5a
cmp cl, al
jne 0x4483fa
mov cl, byte [edi + 1]
inc edi
inc esi
test cl, cl
jne 0x4482ef
movzx eax, byte [edi]
push eax
call fcn.0044820b
mov dl, al
movzx eax, byte [esi]
push eax
call fcn.0044820b
add esp, 8
xor ecx, ecx
cmp dl, al
sete cl
pop edi
pop esi
mov eax, ecx
ret
Function at 0x4484fb
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov cl, byte [ebx]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test cl, cl
je 0x44862f
lea esp, [esp]
mov al, byte [esi]
test al, al
je 0x44862f
test edi, edi
je 0x448633
movsx edx, cl
add edx, 0xffffff9f
cmp edx, 0x19
ja case.default.0x448538
jmp dword [edx*4 + 0x448663]
mov cl, 0x41
jmp case.default.0x448538
mov cl, 0x42
jmp case.default.0x448538
mov cl, 0x43
jmp case.default.0x448538
mov cl, 0x44
jmp case.default.0x448538
mov cl, 0x45
jmp case.default.0x448538
mov cl, 0x46
jmp case.default.0x448538
mov cl, 0x47
jmp case.default.0x448538
mov cl, 0x48
jmp case.default.0x448538
mov cl, 0x49
jmp case.default.0x448538
mov cl, 0x4a
jmp case.default.0x448538
mov cl, 0x4b
jmp case.default.0x448538
mov cl, 0x4c
jmp case.default.0x448538
mov cl, 0x4d
jmp case.default.0x448538
mov cl, 0x4e
jmp case.default.0x448538
mov cl, 0x4f
jmp case.default.0x448538
mov cl, 0x50
jmp case.default.0x448538
mov cl, 0x51
jmp case.default.0x448538
mov cl, 0x52
jmp case.default.0x448538
mov cl, 0x53
jmp case.default.0x448538
mov cl, 0x54
jmp case.default.0x448538
mov cl, 0x55
jmp case.default.0x448538
mov cl, 0x56
jmp case.default.0x448538
mov cl, 0x57
jmp case.default.0x448538
mov cl, 0x58
jmp case.default.0x448538
mov cl, 0x59
jmp case.default.0x448538
mov cl, 0x5a
movsx edx, al
add edx, 0xffffff9f
cmp edx, 0x19
ja case.default.0x4485b0
jmp dword [edx*4 + 0x4486cb]
mov al, 0x41
jmp case.default.0x4485b0
mov al, 0x42
jmp case.default.0x4485b0
mov al, 0x43
jmp case.default.0x4485b0
mov al, 0x44
jmp case.default.0x4485b0
mov al, 0x45
jmp case.default.0x4485b0
mov al, 0x46
jmp case.default.0x4485b0
mov al, 0x47
jmp case.default.0x4485b0
mov al, 0x48
jmp case.default.0x4485b0
mov al, 0x49
jmp case.default.0x4485b0
mov al, 0x4a
jmp case.default.0x4485b0
mov al, 0x4b
jmp case.default.0x4485b0
mov al, 0x4c
jmp case.default.0x4485b0
mov al, 0x4d
jmp case.default.0x4485b0
mov al, 0x4e
jmp case.default.0x4485b0
mov al, 0x4f
jmp case.default.0x4485b0
mov al, 0x50
jmp case.default.0x4485b0
mov al, 0x51
jmp case.default.0x4485b0
mov al, 0x52
jmp case.default.0x4485b0
mov al, 0x53
jmp case.default.0x4485b0
mov al, 0x54
jmp case.default.0x4485b0
mov al, 0x55
jmp case.default.0x4485b0
mov al, 0x56
jmp case.default.0x4485b0
mov al, 0x57
jmp case.default.0x4485b0
mov al, 0x58
jmp case.default.0x4485b0
mov al, 0x59
jmp case.default.0x4485b0
mov al, 0x5a
cmp cl, al
jne 0x44862f
mov cl, byte [ebx + 1]
inc ebx
dec edi
inc esi
test cl, cl
jne 0x44851b
test edi, edi
jne 0x44863c
pop edi
pop esi
mov eax, 1
pop ebx
ret
movzx eax, byte [ebx]
push eax
call fcn.0044820b
mov dl, al
movzx eax, byte [esi]
push eax
call fcn.0044820b
add esp, 8
xor ecx, ecx
cmp dl, al
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
ret
Function at 0x44873b
Capabilities:
Parse pe header

Disassembly:
push edi
mov edi, dword [esp + 0x10]
cmp edi, 1
jb 0x4487e7
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
sub esi, edx
lea esp, [esp]
mov al, byte [edx]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x448768
jmp dword [ecx*4 + 0x4487eb]
mov al, 0x41
jmp case.default.0x448768
mov al, 0x42
jmp case.default.0x448768
mov al, 0x43
jmp case.default.0x448768
mov al, 0x44
jmp case.default.0x448768
mov al, 0x45
jmp case.default.0x448768
mov al, 0x46
jmp case.default.0x448768
mov al, 0x47
jmp case.default.0x448768
mov al, 0x48
jmp case.default.0x448768
mov al, 0x49
jmp case.default.0x448768
mov al, 0x4a
jmp case.default.0x448768
mov al, 0x4b
jmp case.default.0x448768
mov al, 0x4c
jmp case.default.0x448768
mov al, 0x4d
jmp case.default.0x448768
mov al, 0x4e
jmp case.default.0x448768
mov al, 0x4f
jmp case.default.0x448768
mov al, 0x50
jmp case.default.0x448768
mov al, 0x51
jmp case.default.0x448768
mov al, 0x52
jmp case.default.0x448768
mov al, 0x53
jmp case.default.0x448768
mov al, 0x54
jmp case.default.0x448768
mov al, 0x55
jmp case.default.0x448768
mov al, 0x56
jmp case.default.0x448768
mov al, 0x57
jmp case.default.0x448768
mov al, 0x58
jmp case.default.0x448768
mov al, 0x59
jmp case.default.0x448768
mov al, 0x5a
mov byte [esi + edx], al
mov al, byte [edx]
inc edx
test al, al
je 0x4487e6
dec edi
jne 0x44875b
pop esi
pop edi
ret

Function at 0x44c76b
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00470edb
add esp, 0x18
test eax, eax
je 0x44c78e
cmp eax, 0xffffffff
jne 0x44c790
xor eax, eax
ret
Function at 0x466c0b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1ec]
test esi, esi
jne 0x466c24
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.004454fb
push edx
push eax
call fcn.0044552b
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x1e0], 0
je 0x466c71
mov eax, dword [ebx + 0x12c]
mov ecx, dword [ebx + 0x128]
push eax
push ecx
call fcn.004454fb
push edx
push eax
call fcn.0044552b
mov ecx, dword [edi + 0x1e0]
sub ecx, eax
add esp, 0x10
mov eax, ecx
cmp esi, ecx
jge 0x466c73
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x46c68f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x596804]
jne 0x46c699
repz ret
jmp fcn.004750b5

Function at 0x484254
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x596804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047557e
and dword [ebp - 0x14], 0
cmp dword [0x5a16e4], 0
mov dword [ebp - 0x18], eax
jne 0x484307
push 0x53d566
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4843af
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x53d55a
push ebx
call edi
test eax, eax
je 0x4843af
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x53d54a
push ebx
mov dword [0x5a16e4], eax
call edi
push eax
call esi
push 0x53d536
push ebx
mov dword [0x5a16e8], eax
call edi
push eax
call esi
push 0x53d51a
push ebx
mov dword [0x5a16ec], eax
call edi
push eax
call esi
mov dword [0x5a16f4], eax
test eax, eax
je 0x484307
push 0x53d502
push ebx
call edi
push eax
call esi
mov dword [0x5a16f0], eax
mov eax, dword [0x5a16f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x484360
cmp dword [0x5a16f4], ecx
je 0x484360
push eax
call esi
push dword [0x5a16f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x484360
test ebx, ebx
je 0x484360
call edi
test eax, eax
je 0x484357
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x484357
test byte [ebp - 8], 1
jne 0x484360
or dword [ebp + 0x10], 0x200000
jmp 0x484393
mov eax, dword [0x5a16e8]
cmp eax, dword [ebp - 0x18]
je 0x484393
push eax
call esi
test eax, eax
je 0x484393
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x484393
mov eax, dword [0x5a16ec]
cmp eax, dword [ebp - 0x18]
je 0x484393
push eax
call esi
test eax, eax
je 0x484393
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5a16e4]
call esi
test eax, eax
je 0x4843af
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4843b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c68f
leave
ret
Function at 0x4895bb
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
ret
Function at 0x48c82b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.0046cd8b
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x48c872
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0046c68f
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.005203f0
add esp, 8
test eax, eax
js 0x48c85b
mov eax, 8
call fcn.0046cd8b
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.0048c69b
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x48c85b
push 0x5323f2
push esi
call fcn.0046f4fc
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x48c94c
jmp 0x48c8cf
mov eax, dword [esp + 0x40]
test ebx, ebx
jle 0x48c8dd
mov esi, ebx
cmp ebx, 0x400
jl 0x48c8e2
mov esi, 0x400
push eax
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.0046f423
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x48c930
fild dword [esp + 0x44]
mov eax, 8
call fcn.0046cd8b
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.0048c69b
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x48c8cb
sub ebx, esi
test ebx, ebx
jg 0x48c8cb
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0046dfd9
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.0049a5cb
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c68f
mov esp, ebp
pop ebp
ret

Function at 0x49856b
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0046c6ab
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x498d6b
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
mov eax, 0x54
call fcn.0046cd8b
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [ecx + 4]
push ebp
mov ebp, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x68], edx
je 0x49942c
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edi
push esi
lea esp, [esp]
Function at 0x49d72b
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.0046cd8b
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
test eax, eax
je 0x49d790
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileType]
test eax, eax
je 0x49d790
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0046d759
add eax, 0x40
push eax
call fcn.005209b2
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046c68f
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00471983
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp eax, 0x80000000
jae 0x49d81f
call fcn.0049d5eb
test eax, eax
jle 0x49d81f
push esi
push 0x54eb6a
push 0
call dword [sym.imp.ADVAPI32.DLL_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.DLL_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.DLL_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046c68f
add esp, 0x108
ret
push 0x10
push 0x54eb5a
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.DLL_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046c68f
add esp, 0x108
ret

Function at 0x49d87b
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0x49d89d
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x49d891
pop esi
movzx eax, cl
pop edi
ret
Function at 0x4a08cb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.0046cd8b
mov eax, dword [0x596804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x4a08fb
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a08fb
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x4a0973
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3ec
jne 0x4a0955
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x4a0973
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x459
jne 0x4a0a05
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x4a09f3
lea eax, [esi + esi]
call fcn.0046cc1b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x4a0a05
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a099e
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x4a0a05
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00473034
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a0aa9
call fcn.00470052
cmp dword [eax], 2
je 0x4a09eb
call fcn.00470052
cmp dword [eax], 9
jne 0x4a0a05
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.0046f4fc
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a0aa9
push 0xa9
push 0x54f826
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 1
push 2
call fcn.00491a1b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x54f84a
push eax
push 0x54f846
push ecx
push 0x54f83e
push 5
call fcn.00491d0b
add esp, 0x2c
call fcn.00470052
cmp dword [eax], 2
jne 0x4a0a7b
push 0xac
push 0x54f826
push 0x80
push 0x6d
push 0x20
call fcn.00491a1b
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c68f
mov esp, ebp
pop ebp
ret
push 0xae
push 0x54f826
push 2
push 0x6d
push 0x20
call fcn.00491a1b
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c68f
mov esp, ebp
pop ebp
ret
push 0x598234
call fcn.0048d94b
mov edi, eax
add esp, 4
test edi, edi
jne 0x4a0adb
push esi
call fcn.0046dfd9
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c68f
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.0048d28b
push esi
push 1
push 0x6a
push edi
call fcn.0048d67b
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c68f
mov esp, ebp
pop ebp
ret
Function at 0x4c93cb
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x4c94ae
push esi
mov esi, dword [esp + 0x14]
inc esi
lea ebx, [ebx]
movzx edx, byte [esi - 1]
cmp edi, 3
jl 0x4c9448
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x55a62e]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x55a62e]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x55a62e]
mov byte [ecx + 2], al
and edx, 0x3f
mov dl, byte [edx + 0x55a62e]
mov byte [ecx + 3], dl
jmp 0x4c9499
shl edx, 0x10
cmp edi, 2
jne 0x4c9458
movzx eax, byte [esi]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x55a62e]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x55a62e]
mov byte [ecx + 1], al
cmp edi, 1
jne 0x4c9485
lea edx, [edi + 0x3c]
jmp 0x4c9492
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x55a62e]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
sub edi, 3
add ecx, 4
add ebp, 4
add esi, 3
test edi, edi
jg 0x4c93eb
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x4dbad2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.0046cd8b
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x4dbc35
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.004985ab
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.0049867b
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004af40b
push ebp
call fcn.004985ab
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.0049867b
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.004af40b
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x4dbaee
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.0046c68f
add esp, 0xa0
ret
Function at 0x50147b
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x501494
mov esi, edi
mov edi, eax
jmp 0x501496
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x5014a6
mov eax, ebx
jmp 0x5014b0
push eax
push ebx
call fcn.004967cb
add esp, 8
test eax, eax
jne 0x5014b8
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x5014d4
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x5014bf
cmp eax, dword [esi + 4]
jge 0x5014eb
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x5014db
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x50150c
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x501509
dec eax
test eax, eax
jg 0x5014fb
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret