joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53264f
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x6acb29
call fcn.006426c4
sub esp, 0x4c
push dword [ebp + 8]
call fcn.005323d5
cmp dword [0x7b5aa4], 0
jne 0x532675
push dword [ebp + 8]
call fcn.005322fb
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x7bed88
push eax
call fcn.0052d20c
mov esi, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x5327e8
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor ecx, ecx
sub eax, edi
sbb ecx, ecx
test ecx, ecx
jg 0x5327f2
jl 0x5326ba
cmp eax, 0x64
jae 0x5327f2
push 0
lea ecx, [esi + 0x4c]
call fcn.0053d231
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push 0x6d266c
push eax
call fcn.00465d5a
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push str.btapp
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040f32f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.004720ff
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040f95f
push 0x6c3dfc
lea ecx, [ebp - 0x40]
call fcn.0040f32f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.004720ff
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040f95f
push 0x6ea608
lea ecx, [ebp - 0x40]
call fcn.0040f32f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.004720ff
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040f95f
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004bcc76
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.0052c5e7
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.00531a02
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x5327af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.005337bb
sub dword [esi + 0x5c], 1
jne 0x5327ca
and dword [esi + 0x58], 0
jmp 0x5327cd
inc dword [esi + 0x58]
lea ecx, [ebp - 0x28]
call fcn.004719b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.0040f95f
mov edi, dword [ebp - 0x18]
cmp dword [esi + 0x5c], 0
jne 0x53269b
cmp dword [esi + 0x64], 0
jbe 0x53280b
mov eax, dword [esi + 0x90]
or dword [esi + 0x8c], 2
mov dword [esi + 0x90], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x53ba15
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x488
push ebx
push ebp
push esi
push edi
push 0
push 0x20
push dword [esp + 0x4b8]
lea eax, [esp + 0x24]
push eax
call fcn.0056394d
mov al, byte [esp + 0x37]
mov edx, dword [esp + 0x4a8]
and al, 0x3f
and byte [esp + 0x18], 0xf8
or al, 0x40
mov edi, dword [esp + 0x4ac]
mov ecx, edx
add ecx, 0x40
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x4a0]
mov ebx, edi
adc ebx, 0
mov dword [esp + 0x14], ecx
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x49c]
test edi, edi
jb 0x53baa4
ja 0x53ba86
test edx, edx
je 0x53baa4
mov ebp, dword [esp + 0x4a4]
mov al, byte [ecx + ebp]
mov byte [ebx + ecx + 0x40], al
add ecx, 1
adc esi, 0
cmp esi, edi
jb 0x53ba8d
ja 0x53baa4
cmp ecx, edx
jb 0x53ba8d
xor ecx, ecx
lea esi, [ebx + 0x20]
xor ebp, ebp
mov al, byte [esp + ecx + 0x38]
mov byte [esi + ecx], al
add ecx, 1
adc ebp, 0
jne 0x53babf
cmp ecx, 0x20
jb 0x53baab
push 0
pop ebp
add edx, 0x20
lea eax, [esp + 0x118]
adc edi, ebp
push edi
push edx
push esi
push eax
call fcn.0056394d
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.00563e0e
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x29c]
push eax
call fcn.00564661
lea eax, [esp + 0x298]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005645f3
mov ecx, ebp
mov edx, ebp
mov al, byte [esp + ecx + 0x58]
mov byte [ecx + ebx], al
add ecx, 1
adc edx, ebp
jne 0x53bb2a
cmp ecx, 0x20
jb 0x53bb17
push dword [esp + 0x10]
mov eax, dword [esp + 0x4b4]
push dword [esp + 0x18]
add eax, 0x20
push ebx
push eax
push ebx
lea eax, [esp + 0x16c]
push eax
call fcn.0053bd1f
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00563e0e
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.00563dcd
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00563e42
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00563d7f
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00563ec8
mov ecx, ebp
mov edx, ebp
mov al, byte [esp + ecx + 0x78]
mov byte [esi + ecx], al
add ecx, 1
adc edx, ebp
jne 0x53bbc8
cmp ecx, 0x20
jb 0x53bbb5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x488
ret 0x18

Function at 0x53e1bb
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
push edi
mov edi, dword [esp + 0xc]
cmp esi, 4
jb 0x53e1e3
mov ecx, esi
shr ecx, 2
mov eax, dword [edi]
sub esi, 4
xor edx, eax
add edi, 4
rol edx, 0xd
sub ecx, 1
jne 0x53e1d1
test esi, esi
je 0x53e1f5
movzx ecx, byte [edi]
xor edx, ecx
inc edi
rol edx, 8
sub esi, 1
jne 0x53e1e7
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x5448ac
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x7bef84]
or edx, 0xffffffff
test esi, esi
jne 0x5448db
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp eax, 4
jb 0x54491a
shr eax, 2
mov ecx, dword [esi]
lea esi, [esi + 4]
crc32 edx, ecx
sub eax, 1
jne 0x5448ca
jmp 0x54491a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x54491a
push ebx
mov ebx, dword [esp + 0xc]
test bl, 7
je 0x544901
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x5448e8
test ecx, ecx
je 0x544919
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x544905
pop ebx
not edx
mov eax, edx
pop esi
ret 8

Function at 0x545077
Capabilities:
Create directory

Disassembly:
mov eax, 0x6adc97
call fcn.006426c4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], 0x6e46e8
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x14]
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [esi + 0x10], eax
call fcn.00427fbe
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x5450cd
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, esi
call fcn.00545407
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x545c53
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x44
mov eax, 0x6adcf9
call fcn.006426c4
sub esp, 0x44
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x545c77
push 3
pop edi
jmp 0x545df8
push ebx
lea ebx, [esi + 0x60]
push ebx
call fcn.00461896
test al, al
jne 0x545c8d
push 2
pop edi
jmp 0x545df7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test al, al
jne 0x545ca0
xor edi, edi
inc edi
jmp 0x545df7
xor eax, eax
mov dword [ebp + 0x44], 7
mov dword [ebp + 0x40], edi
mov word [ebp + 0x30], ax
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
mov dword [ebp - 4], edi
call dword [eax + 0xc]
mov byte [ebp - 4], 1
cmp dword [esi + 0x48], edi
jne 0x545ccd
cmp dword [ebp + 0x18], 0
je 0x545d30
mov edi, 0x6c4f10
push edi
call fcn.00428864
pop ecx
push eax
push edi
lea ecx, [ebp + 0x30]
call fcn.00439135
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp + 0x30]
call fcn.00428642
push edi
call fcn.00428864
pop ecx
push eax
push edi
lea ecx, [ebp + 0x30]
call fcn.004286d2
mov edi, 0x6c3d10
push edi
call fcn.00428864
pop ecx
push eax
push edi
lea ecx, [ebp + 0x30]
call fcn.004286d2
cmp dword [ebp + 0x18], 0
lea eax, [esi + 0x38]
je 0x545d23
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x30]
call fcn.00428642
xor eax, eax
lea edi, [ebp + 0x20]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
pop edi
push edi
push 0
push eax
call fcn.0065d010
lea eax, [esi + 0x20]
mov dword [ebp - 0x50], edi
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x545d59
mov eax, dword [eax]
cmp dword [ebp + 0x44], 8
mov ecx, dword [ebp + 0x30]
jae 0x545d65
lea ecx, [ebp + 0x30]
cmp dword [ebx + 0x14], 8
jb 0x545d6d
mov ebx, dword [ebx]
lea edx, [ebp + 0x20]
xor edi, edi
push edx
lea edx, [ebp - 0x50]
push edx
push eax
push edi
push dword [esi + 0x54]
push edi
push edi
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x545d8f
push 5
jmp 0x545da0
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x20], 0xffffffff
jne 0x545da3
push 4
pop edi
jmp 0x545ddf
mov ecx, esi
call fcn.00545f7a
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x90], eax
lea eax, [ebp]
push eax
call fcn.00545e0b
mov ecx, eax
mov eax, dword [ecx]
mov dword [esi + 0xb0], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], 1
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp + 0x30]
call fcn.004285f6
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
lea esp, [ebp + 0x48]
pop ebp
ret
Function at 0x54658b
Capabilities:
Terminate process

Disassembly:
mov eax, 0x6a870a
call fcn.006426c4
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
inc esi
lea ebx, [edi + 0x98]
push ebx
call fcn.0046ba5f
mov eax, dword [edi + 0x94]
cmp eax, esi
je 0x5465b8
cmp eax, 2
jne 0x5465de
push esi
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x5465d1
push 3
pop esi
mov dword [edi + 0x94], esi
jmp 0x5465de
push 4
pop esi
mov dword [edi + 0x94], 5
and dword [ebp - 4], 0
push ebx
call fcn.0046bb9c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x547810
Capabilities:
Create thread

Disassembly:
mov eax, 0x6ade36
call fcn.006426c4
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
je 0x54782f
mov dword [esi + 4], 0x6ed63c
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esi], method.std::_Facet_base.virtual_4
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6ed604
mov dword [esi + 8], 0x6c4094
mov dword [esi + 0xc], edi
mov eax, dword [esi + 4]
mov dword [esi], 0x6ed61c
mov dword [esi + 8], 0x6ed624
mov dword [ebp - 4], edi
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6ed630
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x94]
mov dword [ecx + esi], eax
lea ecx, [esi + 0x28]
call fcn.00564f05
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.00564f05
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
push 0x6ed644
lea eax, [esi + 0x10]
mov byte [ebp - 4], 4
push eax
mov dword [esi + 0x8c], edi
call fcn.0046bb16
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x88]
push eax
push edi
push esi
push 0x547c7f
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x6c], eax
mov eax, esi
mov byte [esi + 0x90], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x547901
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], esi
or dword [esi + 8], 0xffffffff
mov dword [esi + 0x14], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x18], al
lea eax, [esi + 0x10]
push eax
push ecx
push esi
push 0x5481a5
push ecx
push ecx
mov dword [esi + 4], ecx
mov dword [esi], 0x6ed610
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 8], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x54d1b6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0054cd9c
push eax
push esi
push dword [ebp + 8]
call fcn.0054cd51
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0054cd8c
adc esp, dword [esi]
mov ecx, eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0054cd8c
add byte [edi - 0x7a7209fc], dl
jl 0x54d277
invalid
invalid
Function at 0x54d8cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebx - 0x77000007], esp
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.0054cd9c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0054cd51
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0054cd9c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0054cd51
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0054cd8c
imul byte [edx + esi]
xchg edi, eax
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0054cd9c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0054cd51
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0054cd8c
std
push edi
push 0x104685a
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x54da80
cmp dword [ebp - 0x398], 0
je 0x54dc4a
cmp dword [ebp + 0xc], 1
je 0x54dc4a
cmp dword [ebp + 0xc], 8
jne 0x54dc12
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
call dword [esi]
invalid
jne 0x54dc06
Function at 0x557439
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6aefaf
call fcn.006426c4
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
and dword [edi + 4], 0
mov dword [edi + 8], 0x6d8b58
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
mov dword [edi], 0x6ef388
mov dword [edi + 8], 0x6ef394
push dword [esi + 0xd8]
mov byte [ebp - 4], 2
call fcn.00506047
mov eax, dword [ebp + 0x18]
lea ecx, [edi + 0x38]
or dword [edi + 0x24], 0xffffffff
or dword [edi + 0x28], 0xffffffff
and dword [edi + 0x2c], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x34], eax
lea eax, [ebp + 0xb]
push eax
mov dword [ebp + 8], ecx
lea eax, [ebp + 0x18]
fldz
push eax
fstp dword [ebp + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x30], esi
call fcn.0049c1f3
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x58]
call fcn.00501a0b
lea ecx, [ebp + 0x20]
call fcn.004baa38
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x40

Function at 0x559f46
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6af1e7
call fcn.006426c4
sub esp, 0x18
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, ecx
push 8
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00559d6c
and dword [ebp - 4], 0
push 0x14
mov dword [ebx], 0x6ef524
call fcn.00642424
pop ecx
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x559fa8
push 0x6ef448
push 8
mov ecx, eax
call fcn.005598c2
jmp 0x559faa
xor eax, eax
mov dword [ebx + 0x6c], eax
mov ebx, dword [eax + 0x10]
push 0x6efb28
push 0x20
mov byte [ebp - 4], 0
mov edi, dword [ebx + 0x20]
push edi
call fcn.00565797
add esp, 0xc
add esi, 0x20
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], 0x17
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0xc]
mov byte [eax], 1
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0055bfc0
mov eax, dword [ebx + 0x6c]
push 0x6efb28
push 0x20
mov ebx, dword [eax + 0x10]
mov edi, dword [ebx + 0x4c]
push edi
call fcn.00565797
add esp, 0xc
lea esi, [ebp - 0x24]
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x50], 0x17
pop edi
pop esi
mov eax, dword [ecx + 0x6c]
pop ebx
mov eax, dword [eax + 0xc]
mov byte [eax + 1], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x55bfc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
push esi
mov esi, dword [esp + 8]
mov eax, ecx
xor eax, 3
mov al, byte [eax + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jne 0x55bfcb
pop esi
ret 8
Function at 0x563ca9
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
add eax, 2
push esi
mov esi, dword [esp + 0x18]
mov ebx, eax
push edi
mov edi, ebp
push 0x1f
sub edi, esi
pop edx
mov cl, byte [edi + esi]
mov al, byte [esi]
and cl, 3
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 2], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 1], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx], cl
lea ebx, [ebx + 4]
mov ecx, dword [edi + esi]
mov eax, dword [esi]
lea esi, [esi + 4]
shr ecx, 6
and cl, 3
shr eax, 6
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 3], cl
sub edx, 1
jne 0x563cc6
mov cl, byte [ebp + 0x7c]
mov edx, dword [esp + 0x1c]
and cl, 3
mov ebx, dword [esp + 0x18]
shl cl, 2
pop edi
mov al, byte [edx + 0x7c]
and al, 3
xor cl, al
mov byte [ebx + 0x7c], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx + 0x7d], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
pop esi
xor cl, al
pop ebp
mov byte [ebx + 0x7e], cl
pop ebx
pop ecx
ret 0xc

Function at 0x563ee3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea ebx, [edx + 2]
push edi
push 0xa
pop ebp
lea edi, [esi + 4]
mov al, byte [edi - 4]
and al, 7
mov byte [ebx - 2], al
mov eax, dword [edi - 4]
shr eax, 3
and al, 7
mov byte [ebx - 1], al
mov ecx, dword [edi - 4]
shr ecx, 6
and cl, 7
mov byte [ebx], cl
mov al, byte [edi]
and al, 1
shl al, 2
xor al, cl
mov byte [ebx], al
lea ebx, [ebx + 8]
mov eax, dword [edi]
shr eax, 1
and al, 7
mov byte [ebx - 7], al
mov eax, dword [edi]
shr eax, 4
and al, 7
mov byte [ebx - 6], al
mov ecx, dword [edi]
lea edi, [edi + 0xc]
shr ecx, 7
and cl, 7
mov byte [ebx - 5], cl
mov al, byte [edi - 8]
and al, 3
add al, al
xor al, cl
mov byte [ebx - 5], al
mov eax, dword [edi - 8]
shr eax, 2
and al, 7
mov byte [ebx - 4], al
mov eax, dword [edi - 8]
shr eax, 5
and al, 7
mov byte [ebx - 3], al
sub ebp, 1
jne 0x563ef8
mov al, byte [esi + 0x78]
and al, 7
mov byte [edx + 0x50], al
mov eax, dword [esi + 0x78]
shr eax, 3
and al, 7
mov byte [edx + 0x51], al
mov ecx, dword [esi + 0x78]
shr ecx, 6
and cl, 7
mov byte [edx + 0x52], cl
mov al, byte [esi + 0x7c]
and al, 1
shl al, 2
xor al, cl
mov byte [edx + 0x52], al
mov eax, dword [esi + 0x7c]
shr eax, 1
and al, 7
mov byte [edx + 0x53], al
mov eax, dword [esi + 0x7c]
shr eax, 4
and al, 7
xor ebx, ebx
mov byte [edx + 0x54], al
mov esi, ebx
mov cl, byte [esi + edx]
add cl, bl
mov al, cl
and cl, 7
sar al, 3
add byte [esi + edx + 1], al
mov byte [esi + edx], cl
sar cl, 2
mov bl, cl
mov al, cl
shl al, 3
sub byte [esi + edx], al
inc esi
cmp esi, 0x54
jl 0x563fb1
add byte [edx + 0x54], bl
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x563fe2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
xor ecx, ecx
mov edx, ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebx, 0x6efcc0
mov ebp, ecx
sub ebx, edi
add edx, dword [ebx + edi]
mov esi, dword [edi]
mov al, byte [edi]
sub esi, edx
sub al, dl
shr esi, 0x1f
mov byte [esp + ebp + 0x10], al
lea edi, [edi + 4]
inc ebp
mov edx, esi
cmp ebp, 0x20
jl 0x563ffa
mov edx, dword [esp + 0x34]
dec esi
movzx eax, byte [esp + ecx + 0x10]
xor eax, dword [edx + ecx*4]
and eax, esi
xor dword [edx + ecx*4], eax
inc ecx
cmp ecx, 0x20
jl 0x56401c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4