joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c40
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x444ecc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x444efa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x444f18
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00444e36
jmp 0x444f18
mov eax, dword [esi + 0x14]
test eax, eax
je 0x444f18
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00444e36
test edi, edi
mov eax, edi
jne 0x444f02
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x465740]
test ecx, ecx
je 0x444fcb
jmp 0x444ecb
ret 8
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a94], 0
push esi
jne 0x405e04
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dde
mov dword [ecx*4 + 0x422a90], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a90]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41b9a7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41ba44
push ebx
push esi
call fcn.0041b970
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041a5f5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41b9f1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41ba43
push edi
push eax
call fcn.004160d0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41ba11
call fcn.00415396
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41ba42
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041a5f5
add esp, 0x20
test eax, eax
jne 0x41ba30
push edi
call fcn.00415396
jmp 0x41ba38
push ebx
call fcn.00415396
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x422c20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422c4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422c4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x424264
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x473d00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp + 0xc], esi
jbe 0x424314
push ebx
mov ebx, 0x474f28
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
push str.Open_Cards
push ebx
mov byte [edi + esi], al
call fcn.004010d0
push eax
call fcn.00401ebd
mov al, byte [edi + esi]
add esp, 0xc
xor al, 0x74
mov ecx, ebx
add al, 0x59
mov byte [edi + esi], al
push 0x6f
call fcn.0040262c
push eax
call fcn.00401ebd
mov al, byte [edi + esi]
sub al, 0xb
mov dword [esp], str.Taste
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [edi + esi], al
call fcn.004042b2
lea ecx, [ebp - 0x1c]
mov dword [esp], 0x4253a4
call fcn.00402199
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
call fcn.0040beae
xor byte [edi + esi], al
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0040334d
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x42428a
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040690c
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405592
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013cc0f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101933d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.00420ea2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4055d4
push 0x80004005
call fcn.00409412
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.00420ea2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405603
push 0x80004005
call fcn.00409412
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
call fcn.00420ea2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405630
push 0x80004005
call fcn.00409412
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.0042139b
mov byte [ebp - 4], 3
call fcn.00420ea2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405669
push 0x80004005
call fcn.00409412
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 4
call fcn.00420ea2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405696
push 0x80004005
call fcn.00409412
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 5
call fcn.004d699e
lea ecx, [esi + 0xc]
call fcn.004213c2
push 0
push 0x10169961
lea ecx, [esi + 0x2c]
call fcn.004092a2
push 0xb
push 0x10169798
lea ecx, [esi + 0x30]
call fcn.004092a2
push 0x2f
push 0x101697a4
lea ecx, [esi + 8]
call fcn.004092a2
push 0x71
push 0x101697d8
lea ecx, [esi + 4]
call fcn.004092a2
push 0xb
push 0x1016984c
mov ecx, esi
call fcn.004092a2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c312
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e2e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101933d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x40c35c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], 0x1016a444
mov dword [esi + 4], 0x1016a514
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0x28], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], 0x1016a29c
mov dword [esi + 0x1c], 0x1016a354
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00511479
mov esp, ebp
pop ebp
ret 4
Function at 0x40e062
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013cf2b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101933d0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x101933d0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
push 0
push 0x10169961
mov ecx, ebx
mov dword [esp + 0x20], esi
call fcn.004092a2
mov eax, esi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e0c2
sub eax, esi
lea esi, [eax + 1]
push esi
mov dword [esp + 0x18], eax
call fcn.0041f836
push esi
mov edi, eax
push 0
push edi
call fcn.00513f02
mov eax, dword [esp + 0x28]
push esi
push eax
push edi
call fcn.00517ac2
xor esi, esi
mov eax, 0x10
lea ecx, [esp + 0x48]
lea edx, [esp + 0x98]
add esp, 0x1c
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x74], eax
mov byte [esp + 0x6d], 1
mov dword [esp + 0x78], ecx
mov dword [esp + 0xc4], eax
mov byte [esp + 0xbd], 1
mov dword [esp + 0xc8], edx
mov dword [esp + 0x7c], 0x67452301
mov dword [esp + 0x80], 0xefcdab89
mov dword [esp + 0x84], 0x98badcfe
mov dword [esp + 0x88], 0x10325476
mov dword [esp + 0x1c], 0x1016a234
mov eax, dword [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0xf8], 2
call dword [0x1016a240]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x20]
call eax
mov edi, edi
movzx ecx, byte [esp + esi + 0xd0]
push ecx
push 0x1016a534
mov edi, ebx
call fcn.00408602
inc esi
add esp, 8
cmp esi, 0x10
jl 0x40e192
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x40e1c3
push 0x80070057
call fcn.00409412
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
jge 0x40e1dc
push esi
mov ecx, ebx
call fcn.004091d2
mov eax, dword [ebx]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.00512932
add esp, 8
cmp eax, 0x50
ja 0x40e203
movzx edx, byte [eax + 0x10009ce8]
jmp dword [edx*4 + 0x10009cd8]
call fcn.0042074d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x40e1b9
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
mov byte [esi + eax], 0
mov edi, dword [esp + 0xc8]
lea ecx, [esp + 0x7c]
cmp edi, ecx
jne 0x40e232
mov ecx, dword [esp + 0xc4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x2c]
cmp edi, edx
jne 0x40e246
mov ecx, dword [esp + 0x74]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00511479
mov esp, ebp
pop ebp
ret
Function at 0x412a22
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call edx
mov edi, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x38]
mov ecx, eax
and cl, 3
movzx ecx, cl
neg ecx
sbb ecx, ecx
mov esi, dword [esp + 0x28]
not ecx
and ecx, ebp
mov edx, edi
neg edx
sbb edx, edx
and edx, ebp
mov dword [esp + 0x10], edx
mov edx, eax
and dl, 2
movzx edx, dl
neg edx
sbb edx, edx
not edx
and edx, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
test al, 8
je 0x412ab6
mov eax, dword [esp + 0x34]
mov ebx, eax
sub ebx, ebp
add esi, ebx
mov ebx, eax
sub ebx, ebp
add edi, ebx
mov ebx, dword [esp + 0x30]
sub eax, ebp
add ebx, eax
mov eax, dword [esp + 0x10]
neg eax
neg ecx
neg edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x412aba
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
jb 0x412b9d
mov ecx, eax
and ecx, 4
and eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
jmp 0x412adc
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x412b54
mov ecx, ebp
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x412b14
mov edx, edi
mov edi, ebx
sub edx, esi
mov eax, esi
sub edi, esi
mov dword [esp + 0x28], ecx
mov ebx, dword [edx + eax]
xor ebx, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebx
jne 0x412af9
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, eax
add eax, eax
mov ecx, ebp
sub ecx, eax
je 0x412b4e
lea edx, [eax + ebx]
mov dword [esp + 0x30], edx
lea edx, [eax + edi]
add eax, esi
test ecx, ecx
je 0x412b4e
mov edi, dword [esp + 0x30]
sub edx, eax
sub edi, eax
mov dword [esp + 0x30], ecx
mov cl, byte [edx + eax]
xor cl, byte [eax]
inc eax
dec dword [esp + 0x30]
mov byte [edi + eax - 1], cl
jne 0x412b3a
mov edi, dword [esp + 0x2c]
push ebx
push 0
push ebx
jmp 0x412b57
push ebx
push edi
push esi
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp dword [esp + 0x20], 0
je 0x412b6d
inc byte [esi + ebp - 1]
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x1c]
add edi, dword [esp + 0x10]
add esi, dword [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
cmp eax, ebp
jae 0x412ad8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x14
Function at 0x4169d2
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1013c888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101933d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x101933d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x416b1a
cmp byte [edi + 0x49], 0
je 0x416b1a
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x416b0d
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 8
cmp ecx, 0x10
jae 0x416a54
lea eax, [esp + 0x14]
mov byte [eax + 8], 0
mov dword [esp + 0x3c], 0
lea ebx, [edi + 0x4c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, eax
cmp ebp, 0x10
jae 0x416a78
lea edx, [esp + 0x14]
mov eax, edx
add edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x416aa1
dec eax
je 0x416aa5
sub eax, 2
lea ecx, [esp + 0x14]
jne 0x416b08
jmp 0x416b15
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp ebp, 0x10
jae 0x416ab8
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub esi, ecx
je 0x416ae5
cmp ebp, 0x10
jae 0x416ac9
lea eax, [esp + 0x14]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.005167d4
add esp, 0x10
cmp esi, eax
jne 0x416b04
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x416b11
test esi, esi
jne 0x416a6b
push esi
push 8
lea esi, [esp + 0x1c]
call fcn.0040f372
jmp 0x416a63
lea ecx, [esp + 0x14]
call fcn.00408c72
xor al, al
jmp 0x416b1c
lea ecx, [esp + 0x14]
call fcn.00408c72
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00511479
add esp, 0x30
ret

Function at 0x419832
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x419842
movzx edx, byte [esi + 0x1016b560]
mov eax, edx
shr eax, 7
mov ecx, eax
imul eax, eax, 0x11b
imul ecx, ecx, 0x1b000000
mov ebx, edx
shl ebx, 0x19
xor ecx, ebx
mov ebx, edx
shl ebx, 8
or ebx, edx
shl ebx, 8
or ecx, ebx
lea ebx, [edx + edx]
xor eax, ebx
xor eax, edx
or eax, ecx
xor edx, edx
xor ebx, ebx
or edx, ecx
or eax, ebx
mov dword [esi*8 + 0x1019d9d0], edx
mov dword [esi*8 + 0x1019d9d4], eax
inc esi
cmp esi, 0x100
jl 0x419842
mov dword [0x1019e1d8], edi
mov dword [0x1019e1dc], edi
mov dword [0x1019e1d0], edi
mov dword [0x1019e1d4], edi
pop edi
pop esi
mov byte [0x101a32c0], 1
pop ebx
ret
Function at 0x4198c2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
mov dword [esp + 0x14], eax
push edi
lea ecx, [ecx]
movzx eax, byte [eax + 0x1016b660]
mov ebp, eax
shr ebp, 7
mov dword [esp + 0x1c], ebp
imul ebp, ebp, 0x1b000000
mov ecx, eax
shr ecx, 6
mov esi, ecx
and ecx, 1
mov dword [esp + 0x10], ecx
lea ebx, [eax + eax]
xor ebx, eax
lea ecx, [ebx + ebx]
xor ecx, eax
shl ecx, 0x19
xor ecx, ebp
and esi, 2
mov dword [esp + 0x14], esi
mov edi, eax
shr edi, 5
mov edx, edi
mov esi, edi
and edi, 1
mov ebp, edi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and esi, 2
mov ebp, esi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x10]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x14]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and edx, 4
mov ebp, edx
imul ebp, ebp, 0x1b000000
xor ecx, ebp
lea ebp, [ebx*4]
xor ebp, eax
shl ebp, 8
mov ebx, edi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, esi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, edx
imul ebx, ebx, 0x11b00
xor ebp, ebx
or ecx, ebp
mov ebp, edi
imul edi, edi, 0x11b
imul ebp, ebp, 0x11b0000
lea ebx, [eax*8]
xor ebx, eax
shl ebx, 0x10
xor ebx, ebp
mov ebp, esi
imul ebp, ebp, 0x11b0000
xor ebx, ebp
mov ebp, edx
imul ebp, ebp, 0x11b0000
xor ebx, ebp
or ecx, ebx
mov ebx, dword [esp + 0x1c]
imul ebx, ebx, 0x11b
lea ebp, [eax*4]
xor ebp, eax
add ebp, ebp
xor ebp, ebx
xor ebp, edi
imul esi, esi, 0x11b
imul edx, edx, 0x11b
xor ebp, esi
xor ebp, edx
xor ebp, eax
or eax, ecx
or ebp, ecx
xor edx, edx
or edx, eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
or ebp, ecx
mov dword [eax*8 + 0x1019d1a8], edx
mov dword [eax*8 + 0x1019d1ac], ebp
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x100
jl 0x4198d2
pop edi
pop esi
pop ebp
mov byte [0x101a32c1], 1
pop ebx
add esp, 0x10
ret

Function at 0x41af72
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
movdqa xmm0, xmmword [eax]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm1, xmmword [edi]
lea edx, [esi - 1]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x41afc9
add edx, 0xfffffffe
shr edx, 1
lea ecx, [edi + 0x10]
inc edx
movdqa xmm1, xmmword [ecx]
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
movdqa xmm1, xmmword [ecx + 0x10]
add ecx, 0x20
dec edx
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x41afa4
movdqa xmm0, xmmword [eax]
add esi, esi
movdqa xmm1, xmmword [edi + esi*8 - 0x10]
lea ecx, [edi + esi*8]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
movdqa xmm1, xmmword [ecx]
pop edi
aesenclast xmm0, xmm1
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b002
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
movdqa xmm1, xmmword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
movdqa xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqa xmmword [eax], xmm1
movdqa xmm1, xmmword [ecx]
pxor xmm1, xmm0
movdqa xmmword [ecx], xmm1
movdqa xmm1, xmmword [edx]
pxor xmm1, xmm0
movdqa xmmword [edx], xmm1
movdqa xmm1, xmmword [esi]
pxor xmm1, xmm0
movdqa xmmword [esi], xmm1
cmp ebx, 1
jbe 0x41b0a6
add edi, 0x10
dec ebx
lea esp, [esp]
movdqa xmm0, xmmword [edi]
movdqa xmm1, xmmword [eax]
aesenc xmm1, xmm0
movdqa xmmword [eax], xmm1
movdqa xmm1, xmmword [ecx]
aesenc xmm1, xmm0
movdqa xmmword [ecx], xmm1
movdqa xmm1, xmmword [edx]
aesenc xmm1, xmm0
movdqa xmmword [edx], xmm1
movdqa xmm1, xmmword [esi]
add edi, 0x10
dec ebx
aesenc xmm1, xmm0
movdqa xmmword [esi], xmm1
jne 0x41b062
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
movdqa xmm1, xmmword [eax]
add ebx, ebx
movdqa xmm0, xmmword [edi + ebx*8]
aesenclast xmm1, xmm0
movdqa xmmword [eax], xmm1
movdqa xmm1, xmmword [ecx]
aesenclast xmm1, xmm0
movdqa xmmword [ecx], xmm1
movdqa xmm1, xmmword [edx]
aesenclast xmm1, xmm0
movdqa xmmword [edx], xmm1
movdqa xmm1, xmmword [esi]
pop edi
aesenclast xmm1, xmm0
movdqa xmmword [esi], xmm1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e9442
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004341f5
call fcn.00422ac9
cmp eax, esi
pop esi
jne 0x4e945e
mov ecx, 0x10196b60
jmp fcn.0042d2f4
ret
Function at 0x7b853b
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.007b86eb
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x7b8639
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x7b85dc
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x7b861f
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x7b85f3
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x7b860e
test al, 0x40
je 0x7b8605
mov ecx, dword [edi + 0x20]
jmp 0x7b860c
test al, 0x80
je 0x7b861f
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x7b861f
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x7b85ab
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret