joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e6fb0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x104]
mov dword [ebp - 0x408], ecx
push eax
push 0x100
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
cmp byte [eax + ecx - 1], 0x5c
je 0x4e7013
mov edi, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4e7000
mov ax, word [0x67e9e0]
mov word [edi], ax
lea ecx, [ebp - 0x104]
dec ecx
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4e7020
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x67e9c0]
mov dword [ecx + 4], eax
mov eax, dword [0x67e9c4]
mov dword [ecx + 8], eax
mov eax, dword [0x67e9c8]
mov dword [ecx + 0xc], eax
mov al, byte [0x67e9cc]
push ebx
mov byte [ecx + 0x10], al
call fcn.0046be40
mov ebx, eax
lea edi, [ebp - 0x404]
mov edx, ebx
sub edi, ebx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x4e7063
push 7
lea eax, [ebp - 0x404]
push str.locale_
push eax
call fcn.005e18dd
add esp, 0xc
test eax, eax
jne 0x4e70a2
lea ecx, [ebx + 7]
lea edx, [ebp - 0x404]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4e7095
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
lea eax, [ebp - 0x404]
push eax
call edi
cmp byte [ebp - 0x304], 0
pop ebx
jne 0x4e7133
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x408]
push dword [0x71a838]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x304], 0
jne 0x4e7133
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
push 0x67e9fc
call edi
cmp byte [ebp - 0x304], 0
jne 0x4e7133
lea ecx, [ebp - 0x304]
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4e7126
lea eax, [ebp - 0x408]
mov ecx, 0x71a83c
push eax
call fcn.0048f8e0
cmp byte [ebp - 0x304], 0
mov esi, eax
jne 0x4e7153
xor ecx, ecx
jmp 0x4e7169
lea ecx, [ebp - 0x304]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e7160
sub ecx, edx
push ecx
lea eax, [ebp - 0x304]
mov ecx, esi
push eax
call fcn.0045bc80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x4e9360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61f1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push 0
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0xc]
push 0x6c86fc
push edx
mov dword [esp + 0x14], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x18], vtable.CryptoPP::ArraySink.1.0
movlpd qword [esp + 0x2c], xmm0
call dword [eax + 0x28]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret 8

Function at 0x4ebb60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61f6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.004eb9d0
add esp, 4
mov esi, eax
push 0x67f0d0
lea eax, [esp + 0x30]
mov dword [esp + 0x84], 0
push edi
push eax
call fcn.0049e300
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x88], 1
push eax
call fcn.004eb8a0
add esp, 0xc
push str._is_not_a_valid_key_length
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 2
push eax
call fcn.00469ba0
add esp, 0xc
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.005e6e47
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.0045c150
cmp dword [esp + 0x58], 0x10
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
jb 0x4ebc61
push dword [esp + 0x44]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4ebc89
push dword [esp + 0x14]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x4ebcb1
push dword [esp + 0x2c]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x4ebcd9
push dword [esp + 0x5c]
call fcn.004ec310
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidKeyLength.0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005dfa14
add esp, 0x74
ret 8
Function at 0x4ec870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61f7b9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0xc], 0
mov dword [esp + 0x14], ebx
mov dword [ebx + 0x14], 0
mov dword [esp + 0x20], 2
push 0
mov dword [ebx + 0x1c], 0
call fcn.004ea770
add esp, 4
mov dword [ebx + 0x20], 0
mov eax, dword [esp + 0x28]
lea ecx, [ebx + 0x34]
mov byte [esp + 0x20], 3
mov dword [ebx + 0x24], eax
mov al, byte [esp + 0x30]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::HashFilter.1.0
mov dword [ebx + 4], vtable.CryptoPP::HashFilter.0
mov byte [ebx + 0x28], al
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.0045c150
push 0xffffffffffffffff
lea ecx, [ebx + 0x4c]
mov byte [esp + 0x24], 4
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.0045c150
mov eax, dword [esp + 0x34]
mov byte [esp + 0x20], 5
test eax, eax
jns 0x4ec948
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4ec961
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0xc], ecx
jmp 0x4ec968
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xc], eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18

Function at 0x4ed490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61f840
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x10
push str.BER_decode_error
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0045bc80
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.005e6e47
mov byte [esp + 0x30], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045c150
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
jb 0x4ed546
push dword [esp + 0xc]
call fcn.004ec310
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::BERDecodeErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005dfa14
add esp, 0x2c
ret
Function at 0x4ee480
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x61f8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x3c]
shl eax, 5
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
call fcn.004ed7c0
lea ecx, [esi + 0xc]
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x38]
push ecx
push eax
push esi
call fcn.004edb30
mov edx, dword [esp + 0x28]
xor eax, eax
mov ebx, dword [esp + 0x2c]
mov ecx, edx
mov edi, ebx
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x4ee503
call fcn.00618fb8
jmp 0x4ee508
call fcn.005e0396
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8

Function at 0x4ee980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61fa50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x1f
push str.CryptoPP:_invalid_group_element
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045bc80
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005e6e47
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 4
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045c150
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.CryptoPP::InvalidDataFormat.0
jb 0x4eea3c
push dword [esp + 0x10]
call fcn.004ec310
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::DL_BadElement.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x4ef410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61fb6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer_.0
cmp dword [0x717d7c], 0
jne 0x4ef456
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
mov dword [esi + 4], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0xc], 2
call fcn.004f0b70
push 8
call fcn.004ec290
mov dword [esi + 0x10], eax
add esp, 8
mov dword [esi + 0x14], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov dword [esp + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [0x717d7c], 0
jne 0x4ef4b6
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
mov dword [esi + 0x1c], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0x24], 2
call fcn.004f0b70
push 8
call fcn.004ec290
mov dword [esi + 0x28], eax
add esp, 8
mov dword [esi + 0x2c], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x28]
mov dword [eax], 0
mov eax, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4f0570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61fd20
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 8], 0
push 0
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], 0
call fcn.004ea770
mov dword [esi + 0x14], 0
mov dword [esp + 0x18], 2
push 0
mov dword [esi + 0x20], 0
call fcn.004ea770
mov dword [esi + 0x24], 0
mov dword [esp + 0x1c], 3
push 0
mov dword [esi + 0x30], 0
call fcn.004ea770
add esp, 0xc
mov dword [esi + 0x34], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4f0e10
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x61fdc0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x6c4490]
push ecx
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov edx, ecx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [edx + 0x51], 0
mov dword [edx + 0x58], 0x10
cmp byte [edx + 0x51], 0
jne 0x4f0e5b
mov byte [edx + 0x51], 1
lea ecx, [edx + 0x10]
jmp 0x4f0e5d
xor ecx, ecx
mov dword [edx + 0x5c], ecx
mov byte [edx + 0xa1], 0
mov dword [edx + 0xa8], 0x10
cmp byte [edx + 0xa1], 0
jne 0x4f0e86
mov byte [edx + 0xa1], 1
lea ecx, [edx + 0x60]
jmp 0x4f0e88
xor ecx, ecx
mov dword [edx + 0xac], ecx
mov eax, edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x4f0ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61fa50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x37
push str.BufferedTransformation:_this_object_doesnt_allow_input
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045bc80
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005e6e47
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045c150
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x4f0f8c
push dword [esp + 0x10]
call fcn.004ec310
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret

Function at 0x4f3020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ff19
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
cmp dword [0x717d7c], 0
jne 0x4f306f
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
mov esi, dword [esp + 0x24]
push 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
mov dword [esi + 0xc], eax
add esp, 4
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov ecx, edi
push dword [esp + 0x30]
mov edx, dword [edi]
push esi
mov dword [esp + 0x20], 1
call dword [edx + 0x54]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x4f4350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6201bc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 1
push 1
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
push 0x67fe94
call fcn.004f5d10
mov dword [esi], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esi + 4], 0
mov byte [esp + 0x28], 2
mov cl, byte [eax + 8]
mov byte [esi + 8], cl
mov edi, dword [eax + 4]
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4f43e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], edi
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x4f4401
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x4fc360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61f6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.004eb9d0
add esp, 4
mov esi, eax
push 0x67f0d0
lea eax, [esp + 0x30]
mov dword [esp + 0x84], 0
push edi
push eax
call fcn.0049e300
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x88], 1
push eax
call fcn.004eb8a0
add esp, 0xc
push 0x67f7ec
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 2
push eax
call fcn.00469ba0
add esp, 0xc
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.005e6e47
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.0045c150
cmp dword [esp + 0x58], 0x10
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
jb 0x4fc461
push dword [esp + 0x44]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4fc489
push dword [esp + 0x14]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x4fc4b1
push dword [esp + 0x2c]
call fcn.004ec310
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x4fc4d9
push dword [esp + 0x5c]
call fcn.004ec310
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidRounds.0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005dfa14
add esp, 0x74
ret 8

Function at 0x4fd630
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + str.cw]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x717f80], ecx
mov dword [eax*8 + 0x717f84], edx
inc eax
cmp eax, 0x100
jl 0x4fd634
xorps xmm0, xmm0
pop edi
movlpd qword [0x718788], xmm0
movlpd qword [0x718780], xmm0
mov byte [0x7178de], 1
pop esi
ret
Function at 0x4fd6a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x667500]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x71a930], eax
mov dword [edx*8 + 0x71a934], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x4fd6b0
pop edi
pop esi
pop ebp
mov byte [0x7178df], 1
pop ebx
add esp, 0x10
ret
Function at 0x4feef0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x4fef3e
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movdqa xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movdqa xmmword [eax], xmm0
dec edx
jne 0x4fef20
movdqa xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

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

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