joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473de0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmp esi, 4
jb 0x473e3f
mov edx, esi
shr edx, 2
lea ebx, [ebx]
xor eax, dword [edi]
sub esi, 4
movzx ecx, al
add edi, 4
shr eax, 8
xor eax, dword [ecx*4 + 0x70e390]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x70e390]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x70e390]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x70e390]
dec edx
jne 0x473e00
test esi, esi
je 0x473e5b
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x70e390]
dec esi
jne 0x473e43
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
ret 8

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

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + 0x711b30]
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 + 0x819cc0], ecx
mov dword [eax*8 + 0x819cc4], edx
inc eax
cmp eax, 0x100
jl 0x473eb4
pop edi
mov byte [0x819c95], 1
pop esi
ret
Function at 0x473f10
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 + 0x711a30]
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 + 0x81a4c0], eax
mov dword [edx*8 + 0x81a4c4], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x473f20
pop edi
pop esi
pop ebp
mov byte [0x819c94], 1
pop ebx
add esp, 0x10
ret
Function at 0x4781c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6a6908
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
push 0
mov dword [ebx + 0xc], 0xffffffff
mov byte [ebx + 0x10], 0
mov dword [ebx], vtable.CryptoPP::StringStore.0
mov dword [ebx + 4], vtable.CryptoPP::StringStore.1.0
mov dword [esp + 0x28], 0
call fcn.0045f290
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x14], 0
push 1
lea eax, [esp + 0x18]
mov dword [esp + 0x44], 3
push eax
lea eax, [esp + 0x34]
push str.InputBuffer
push eax
call fcn.0045f390
add esp, 0x10
push eax
mov ecx, ebx
mov byte [esp + 0x44], 4
call fcn.00462c90
mov byte [esp + 0x40], 3
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x478270
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x28]
xor al, al
mov ecx, dword [esp + 0x24]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0065cb97
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 8

Function at 0x4788a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a69c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x762dc0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00461e20
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.004787a0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x47891d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.0065cd80
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x478946
push dword [esp + 0x10]
call fcn.004623e0
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x479b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a6ae3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
cmp dword [0x819c90], 0
jne 0x479bc0
call fcn.00481f90
mov dword [0x819c90], 0x47c1b0
mov dword [esi], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 8], 2
call fcn.00467190
push 8
call fcn.00462360
mov dword [esi + 0xc], eax
add esp, 8
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov dword [esp + 0x14], 0
cmp dword [0x819c90], 0
jne 0x479c18
call fcn.00481f90
mov dword [0x819c90], 0x47c1b0
mov dword [esi + 0x14], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0x1c], 2
call fcn.00467190
push 8
call fcn.00462360
mov dword [esi + 0x20], eax
add esp, 8
mov dword [esi + 0x24], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov byte [esp + 0x14], 1
cmp dword [0x819c90], 0
jne 0x479c6e
call fcn.00481f90
mov dword [0x819c90], 0x47c1b0
mov dword [esi + 0x28], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0x30], 2
call fcn.00467190
push 8
call fcn.00462360
mov dword [esi + 0x34], eax
add esp, 8
mov dword [esi + 0x38], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x34]
mov dword [eax], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x47a840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6a6cc4
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x762dc0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x58]
lea ecx, [ebx - 4]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], 0
mov eax, dword [ecx]
mov dword [esp + 0x18], edi
call dword [eax + 0x10]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test esi, esi
je 0x47a8bf
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
jmp 0x47a8b0
cmp dword [eax], 0
jne 0x47a944
sub eax, 4
dec esi
jne 0x47a8b0
xor esi, esi
cmp dword [0x819c90], 0
jne 0x47a8d9
call fcn.00481f90
mov dword [0x819c90], 0x47c1b0
mov dword [edi], vtable.CryptoPP::Integer.0
push 0
mov dword [edi + 8], 0
call fcn.00467190
add esp, 4
mov dword [edi + 0xc], 0
push 0
push esi
push ebp
mov ecx, edi
mov dword [esp + 0x5c], 1
call fcn.00483cf0
mov dword [esp + 0x50], 0
mov ecx, ebx
mov eax, dword [ebx]
push 0
push edi
push 1
mov eax, dword [eax + 0x44]
mov dword [esp + 0x20], 1
call eax
test al, al
jne 0x47a962
lea ecx, [esp + 0x1c]
call fcn.00464f10
push 0x741f88
lea eax, [esp + 0x20]
push eax
call fcn.0065b5c3
test esi, esi
je 0x47a8bf
lea ecx, [ecx + esi*4]
add ecx, 0xfffffffc
call fcn.004782a0
sub eax, 4
lea esi, [eax + esi*4]
jmp 0x47a8c1
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0065b5b4
add esp, 0x40
ret 0xc
Function at 0x47ad90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a6d78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x762dc0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.00474ea0
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov word [esp + 0x34], 0x3000
mov dword [esp + 8], vtable.CryptoPP::DERSequenceEncoder.1.0
mov dword [esp + 0xc], vtable.CryptoPP::DERSequenceEncoder.0
mov dword [esp + 0x48], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
lea edx, [esp + 8]
push edx
call dword [eax + 8]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 4]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 8]
call fcn.00479250
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.004791c0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 4
Function at 0x47b010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a6de8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
cmp dword [0x819c90], 0
mov dword [esp + 0x18], 0
jne 0x47b062
call fcn.00481f90
mov dword [0x819c90], 0x47c1b0
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.00467190
push 8
call fcn.00462360
mov ebx, eax
mov dword [esp + 0x48], 0
add esp, 8
mov dword [esp + 0x3c], ebx
mov dword [ebx], 1
mov dword [ebx + 4], 0
lea edi, [esi - 4]
mov dword [esp + 0x78], 0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test esi, esi
je 0x47b0cb
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
cmp dword [eax], 0
jne 0x47b0e0
sub eax, 4
dec esi
jne 0x47b0c0
xor esi, esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
imul eax, esi
cmp eax, 5
jae 0x47b0f9
xor eax, eax
jmp 0x47b159
test esi, esi
je 0x47b0cb
lea ecx, [ecx + esi*4]
add ecx, 0xfffffffc
call fcn.0045f670
lea esi, [esi - 1]
shl esi, 5
add esi, eax
jmp 0x47b0cd
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x716f70]
movsd qword [esp + 0x1c], xmm0
call fcn.006615b0
movsd xmm1, qword [0x716f40]
call fcn.006620c0
movsd xmm1, qword [str.UUUUUU]
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [esp + 0x1c]
call fcn.006620c0
mulsd xmm0, qword [0x716f48]
mulsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [0x716f50]
call fcn.0065d89f
add eax, eax
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004838a0
add esp, 8
mov edi, eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
mov byte [esp + 0x78], 1
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00464060
add esp, 0xc
mov esi, eax
mov byte [esp + 0x78], 2
cmp dword [edi + 0x10], 1
je 0x47b1b0
cmp dword [esi + 0x10], 1
je 0x47b1a9
push esi
mov ecx, edi
call fcn.00486d70
jmp 0x47b1c5
mov eax, 1
jmp 0x47b1c5
cmp dword [esi + 0x10], 1
je 0x47b1bb
or eax, 0xffffffff
jmp 0x47b1c5
push esi
mov ecx, edi
call fcn.00486d70
neg eax
mov ecx, dword [ebp + 8]
test eax, eax
cmovs esi, edi
push esi
call fcn.00483640
mov edx, dword [esp + 0x4c]
xor eax, eax
mov esi, dword [esp + 0x50]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x47b1f7
call fcn.006a375e
jmp 0x47b1fc
call fcn.0065cb97
mov edx, dword [esp + 0x64]
xor eax, eax
mov esi, dword [esp + 0x68]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x47b223
call fcn.006a375e
jmp 0x47b228
call fcn.0065cb97
add esp, 4
xor eax, eax
mov edi, ebx
mov ecx, 2
rep stosd dword es:[edi], eax
push ebx
call fcn.0065cb97
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47be10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a56a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x762dc0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x19
push str.Integer:_division_by_zero
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.004615c0
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0065cde3
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], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00461e20
cmp dword [esp + 0x20], 0x10
jb 0x47bec0
push dword [esp + 0xc]
call fcn.004623e0
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Integer::DivideByZero.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.0065b5b4
add esp, 0x2c
ret

Function at 0x47bef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a5880
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x762dc0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x32
push str.Integer:_no_integer_satisfies_the_given_parameters
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.004615c0
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.0065cde3
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], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00461e20
cmp dword [esp + 0x24], 0x10
jb 0x47bfa6
push dword [esp + 0x10]
call fcn.004623e0
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Integer::RandomNumberNotFound.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.0065b5b4
mov esp, ebp
pop ebp
ret
Function at 0x4841c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a70e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x762dc0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.00474ea0
mov eax, dword [ebp + 8]
mov dword [esp + 8], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0xc], vtable.CryptoPP::DERGeneralEncoder.1.0
mov dword [esp + 0x30], eax
mov word [esp + 0x34], 0x200
push 1
sub esp, 8
mov dword [esp + 0x54], 0
mov ecx, esi
call fcn.00483eb0
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00484040
lea ecx, [esp + 8]
call fcn.00479250
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.004791c0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 4

Function at 0x486b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a74e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x10], ecx
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 2
call fcn.0045f670
dec eax
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047c060
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00483980
mov edx, dword [esp + 0x20]
xor eax, eax
mov esi, dword [esp + 0x24]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x486b98
call fcn.006a375e
jmp 0x486b9d
call fcn.0065cb97
mov eax, dword [ebx + 0xc]
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
and eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a79ea
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.006549e6
mov dword [esp + 0x20], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x20], 6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x489e89
lea eax, [esp + 0x28]
mov dword [esp + 0x28], str.bad_locale_name
push eax
lea ecx, [esp + 0x10]
call fcn.0065cd80
push 0x7421fc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], vtable.std::runtime_error.0
push eax
call fcn.0065b5c3
push eax
push esi
call fcn.00654eeb
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4
Function at 0x491400
Capabilities:
Encrypt data using rc6

Disassembly:
push 0xffffffffffffffff
push 0x6a8388
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
je 0x491432
lea eax, [ebx + 4]
jmp 0x491434
xor eax, eax
push eax
push dword [esp + 0x48]
call fcn.004916f0
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
lea esi, [eax*2 + 4]
cmp ecx, esi
je 0x491481
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.0065cb97
push esi
call fcn.00467190
add esp, 8
test esi, esi
jne 0x49146f
xor edx, edx
jmp 0x491481
lea eax, [esi*4]
push eax
call fcn.00462360
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
add ecx, 3
mov dword [ebx + 0x1c], edx
shr ecx, 2
lea edx, [esp + 0x14]
cmp ecx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], 1
cmovae eax, edx
mov dword [ebx + 0x18], esi
mov ebp, dword [eax]
push ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
call fcn.00467190
add esp, 4
test ebp, ebp
jne 0x4914ca
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x4914e0
lea eax, [ebp*4]
push eax
call fcn.00462360
add esp, 4
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x40]
lea esi, [ebp*4]
push eax
push dword [esp + 0x40]
mov dword [esp + 0x3c], 0
push esi
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], 4
call fcn.0065cbcf
mov eax, dword [esp + 0x50]
sub esi, eax
push esi
add eax, edi
push 0
push eax
call fcn.006593c0
add esp, 0x1c
lea edx, [esp + 0x44]
lea ecx, [esp + 0x18]
call fcn.0046bda0
mov eax, dword [ebx + 0x1c]
mov edx, 1
mov dword [eax], 0xb7e15163
cmp dword [ebx + 0x18], edx
jbe 0x491559
mov eax, dword [ebx + 0x1c]
lea ecx, [eax + edx*4]
inc edx
mov eax, dword [ecx - 4]
sub eax, 0x61c88647
mov dword [ecx], eax
cmp edx, dword [ebx + 0x18]
jb 0x491543
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x44], eax
cmp eax, ebp
mov dword [esp + 0x40], 0
lea edx, [esp + 0x44]
cmovae ecx, edx
mov eax, dword [ecx]
lea ecx, [eax + eax*2]
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4915d5
lea ebx, [ebx]
xor edx, edx
div dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
lea ecx, [eax + edx*4]
xor edx, edx
mov eax, dword [ecx]
add eax, esi
add eax, dword [esp + 0x40]
rol eax, 3
mov dword [ecx], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
div ebp
lea eax, [edi + edx*4]
mov edx, dword [esp + 0x40]
lea ecx, [esi + edx]
add esi, edx
add esi, dword [eax]
rol esi, cl
mov dword [eax], esi
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x3c]
jb 0x491590
push dword [esp + 0x14]
xor eax, eax
mov ecx, ebp
rep stosd dword es:[edi], eax
call fcn.0065cb97
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
Function at 0x491600
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x18]
push ebp
mov edx, dword [eax]
mov ebp, dword [eax + 8]
push esi
mov esi, dword [ebx]
add esi, dword [eax + 4]
push edi
mov edi, dword [ebx + 4]
add ebx, 8
add edi, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x491670
mov edi, edi
lea ecx, [esi*2 + 1]
imul ecx, esi
lea edx, [edi*2 + 1]
imul edx, edi
rol ecx, 5
mov eax, ecx
rol edx, 5
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, edx
xor esi, ebp
mov ebp, edi
rol esi, cl
mov edi, eax
add esi, dword [ebx + 4]
mov ecx, edx
rol edi, cl
add edi, dword [ebx]
add ebx, 8
dec dword [esp + 0x10]
jne 0x491630
mov edx, dword [ebx]
add ebp, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
test eax, eax
je 0x491685
mov ecx, dword [eax]
jmp 0x491687
xor ecx, ecx
xor ecx, edx
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
test eax, eax
je 0x49169e
add eax, 4
test eax, eax
je 0x49169e
mov ecx, dword [eax]
jmp 0x4916a0
xor ecx, ecx
xor ecx, esi
mov dword [edx + 4], ecx
test eax, eax
je 0x4916b4
add eax, 4
test eax, eax
je 0x4916b4
mov ecx, dword [eax]
jmp 0x4916b6
xor ecx, ecx
xor ecx, ebp
mov dword [edx + 8], ecx
test eax, eax
je 0x4916d5
add eax, 4
test eax, eax
je 0x4916d5
mov eax, dword [eax]
xor eax, edi
pop edi
pop esi
pop ebp
mov dword [edx + 0xc], eax
pop ebx
pop ecx
ret 0xc
xor eax, eax
xor eax, edi
pop edi
pop esi
pop ebp
mov dword [edx + 0xc], eax
pop ebx
pop ecx
ret 0xc