joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3da02e64
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x762e7a2f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47780a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4af0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0042803b
mov dword [ebp - 4], 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 [ebp - 4], 6
test edi, edi
jne 0x401136
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], str.bad_locale_name
call fcn.0043cae7
push 0x4ab0e0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::runtime_error.0
call fcn.00440b6b
push edi
push esi
call fcn.00423b97
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c933
mov esp, ebp
pop ebp
ret 4

Function at 0x401160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47779a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4af0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0042803b
mov dword [ebp - 4], 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
push 0x482bc2
push 0x3f
push esi
mov byte [ebp - 4], 6
call fcn.00426bfe
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x402dd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477640
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x4af0a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
push 0x24
push str.AlgorithmParametersBase:_parameter__
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.004091d0
push dword [ebp + 8]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 0
call fcn.0040a870
push str.__not_used
mov edx, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 1
call fcn.0040a870
add esp, 8
mov esi, eax
mov ecx, edi
mov byte [esp + 0x68], 2
call fcn.0043cb4a
mov byte [esp + 0x68], 3
lea ecx, [edi + 0x10]
push 0xffffffffffffffff
mov dword [edi], vtable.CryptoPP::Exception.0
mov dword [edi + 0xc], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.00407e90
cmp dword [esp + 0x40], 0x10
jb 0x402ea7
push dword [esp + 0x2c]
call fcn.0043e4b8
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x402ecf
push dword [esp + 0x44]
call fcn.0043e4b8
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x402ef7
push dword [esp + 0x14]
call fcn.0043e4b8
add esp, 4
mov eax, edi
mov dword [edi], vtable.CryptoPP::AlgorithmParametersBase::ParameterNotUsed.0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477e40
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4af0a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
and eax, 0xfffffffe
cmp dword [ecx + 0x38], 0
jne 0x405943
or eax, 4
push 0
push eax
call fcn.00401fb0
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x405961
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004082e0
mov byte [esp + 0x10], al
mov dword [esp + 0x38], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x4059e1
mov ecx, dword [eax + esi + 0x38]
push 1
push dword [ebp + 0x10]
mov eax, dword [ecx]
push dword [ebp + 0xc]
lea edx, [esp + 0x20]
push dword [ebp + 8]
push edx
call dword [eax + 0x28]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x47b118]
jne 0x4059e1
cmp ecx, dword [0x47b11c]
jne 0x4059e1
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4059d9
or eax, 4
push 0
push eax
call fcn.00401fb0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x4059fb
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408a50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477be8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4af0a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4af0a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x408ba4
cmp byte [ebx + 0x45], 0
je 0x408ba4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x408ab0
xor al, al
jmp 0x408ba6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x408af0
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x408b31
dec eax
je 0x408b35
sub eax, 2
je 0x408b8b
xor bl, bl
jmp 0x408b8d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x408b6c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.0043ed2c
add esp, 0x10
cmp esi, eax
jne 0x408b2d
cmp byte [ebx + 0x45], 0
je 0x408b8b
test esi, esi
jne 0x408af0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.004050f0
jmp 0x408af0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x408ba0
push dword [esp + 0x18]
call fcn.0043e4b8
add esp, 4
mov al, bl
jmp 0x408ba6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043c933
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478478
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4af0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 2
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov byte [esi + 0x24], 0
xor ecx, ecx
mov dword [esi + 0x2c], 0
call fcn.00409c60
mov dword [esi + 0x30], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4788d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4af0a0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x4af0a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.00420900
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 ecx, esi
mov dword [esp + 0x54], 0
call fcn.0041ee80
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0041f000
lea ecx, [esp + 8]
call fcn.0040c760
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.0040c6d0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043c933
mov esp, ebp
pop ebp
ret 4

Function at 0x41fd00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test cl, 3
mov eax, 0
sete al
push ebx
push edi
mov ebx, edx
test eax, eax
je 0x41fddf
test bl, 3
mov eax, 0
sete al
test eax, eax
je 0x41fddf
mov edi, dword [ebp + 8]
push esi
mov esi, edi
xor edx, edx
shr esi, 2
mov dword [ebp - 4], edx
test esi, esi
je 0x41fdd1
cmp esi, 4
jb 0x41fda2
lea eax, [ebx - 4]
mov dword [ebp - 4], edx
lea eax, [eax + esi*4]
cmp ecx, eax
ja 0x41fd62
lea eax, [ecx - 4]
lea eax, [eax + esi*4]
cmp eax, ebx
jae 0x41fda2
mov eax, esi
and eax, 3
mov dword [ebp - 8], esi
sub dword [ebp - 8], eax
mov edx, ebx
sub edx, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov eax, ecx
lea esp, [esp]
movdqu xmm1, xmmword [edi + eax]
movdqu xmm0, xmmword [eax]
add edx, 4
pxor xmm1, xmm0
movdqu xmmword [eax], xmm1
lea eax, [eax + 0x10]
cmp edx, dword [ebp - 8]
jb 0x41fd80
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
cmp edx, esi
jae 0x41fdd1
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
sub esi, eax
add eax, esi
lea edx, [ecx + edx*4]
mov dword [ebp - 4], eax
lea ecx, [ecx]
mov eax, dword [edx + edi]
xor dword [edx], eax
lea edx, [edx + 4]
dec esi
jne 0x41fdc0
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 4]
shl edx, 2
pop esi
sub edi, edx
je 0x41fdf3
add ecx, edx
add ebx, edx
jmp 0x41fde2
mov edi, dword [ebp + 8]
test edi, edi
je 0x41fdf3
sub ebx, ecx
mov al, byte [ecx + ebx]
xor byte [ecx], al
lea ecx, [ecx + 1]
dec edi
jne 0x41fde8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fe00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test cl, 3
mov eax, 0
sete al
push ebx
mov ebx, edx
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
test eax, eax
je 0x41ff34
test bl, 3
mov eax, 0
sete al
test eax, eax
je 0x41ff34
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test al, 3
mov ecx, 0
sete cl
test ecx, ecx
je 0x41ff2f
push edi
mov edi, edx
shr edi, 2
xor ecx, ecx
mov dword [ebp - 0xc], edi
test edi, edi
je 0x41ff18
cmp edi, 4
jb 0x41fed9
mov esi, dword [ebp - 4]
lea ecx, [eax - 4]
lea ecx, [ecx + edi*4]
cmp esi, ecx
ja 0x41fe7d
lea ecx, [esi - 4]
lea ecx, [ecx + edi*4]
cmp ecx, eax
jae 0x41fed7
lea ecx, [ebx - 4]
lea ecx, [ecx + edi*4]
cmp esi, ecx
ja 0x41fe91
lea ecx, [esi - 4]
lea ecx, [ecx + edi*4]
cmp ecx, ebx
jae 0x41fed7
mov ecx, edi
and ecx, 3
mov dword [ebp - 8], edi
sub dword [ebp - 8], ecx
mov ecx, esi
sub ecx, ebx
mov dword [ebp - 0x14], ecx
mov edx, ecx
mov ecx, eax
sub ecx, ebx
mov dword [ebp - 0x10], ecx
mov edi, ecx
xor ecx, ecx
mov esi, ebx
movdqu xmm1, xmmword [edi + esi]
movdqu xmm0, xmmword [esi]
add ecx, 4
pxor xmm1, xmm0
movdqu xmmword [edx + esi], xmm1
lea esi, [esi + 0x10]
cmp ecx, dword [ebp - 8]
jb 0x41feb2
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
jmp 0x41fed9
xor ecx, ecx
cmp ecx, edi
jae 0x41ff18
mov edx, ebx
mov ebx, dword [ebp - 4]
sub ebx, eax
lea esi, [eax + ecx*4]
sub edx, eax
sub edi, ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
add ecx, edi
mov dword [ebp - 0x10], ecx
lea esp, [esp]
mov ecx, dword [edx + esi]
xor ecx, dword [esi]
lea esi, [esi + 4]
mov dword [eax + esi - 4], ecx
dec edi
jne 0x41ff00
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
lea esi, [ecx*4]
pop edi
sub edx, esi
je 0x41ff56
mov ecx, dword [ebp - 4]
add ecx, esi
add ebx, esi
add eax, esi
jmp 0x41ff3a
mov ecx, dword [ebp - 4]
jmp 0x41ff3a
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x41ff56
sub ebx, eax
sub ecx, eax
mov dword [ebp - 4], ecx
mov esi, ecx
mov cl, byte [eax + ebx]
xor cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + esi - 1], cl
dec edx
jne 0x41ff47
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
xor eax, eax
push edi
movzx edx, byte [eax + str.cw]
mov edi, edx
shr edi, 7
mov esi, edi
imul edi, edi, 0x11b
imul esi, esi, 0x1b000000
mov ecx, edx
shl ecx, 0x19
xor esi, ecx
mov ecx, edx
shl ecx, 8
or ecx, edx
shl ecx, 8
or esi, ecx
lea ecx, [edx + edx]
xor edi, ecx
xor edi, edx
xor ecx, ecx
or edi, esi
or ecx, esi
mov dword [eax*8 + 0x4b5cc0], ecx
mov dword [eax*8 + 0x4b5cc4], edi
inc eax
cmp eax, 0x100
jl 0x4216b4
xorps xmm0, xmm0
pop edi
movlpd qword [0x4b64c8], xmm0
movlpd qword [0x4b64c0], xmm0
mov byte [0x4b4aba], 1
pop esi
ret
Function at 0x421730
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], edx
push edi
mov edi, edi
movzx edi, byte [edx + 0x4895e0]
mov eax, edi
shr eax, 5
mov edx, eax
mov ebx, eax
and eax, 1
mov dword [ebp - 0x10], eax
lea ecx, [edi + edi]
xor ecx, edi
and edx, 4
lea eax, [ecx + ecx]
mov dword [ebp - 8], edi
xor eax, dword [ebp - 8]
mov dword [ebp - 0xc], edx
shl eax, 0x19
mov dword [ebp - 4], eax
mov edx, edi
shr edi, 7
mov eax, edi
imul edi, edi, 0x11b
imul eax, eax, 0x1b000000
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x1b000000
xor dword [ebp - 4], eax
and ebx, 2
mov eax, ebx
imul eax, eax, 0x1b000000
xor dword [ebp - 4], eax
shr edx, 6
mov esi, edx
and edx, 1
mov eax, edx
imul edx, edx, 0x11b00
imul eax, eax, 0x1b000000
xor dword [ebp - 4], eax
and esi, 2
mov eax, esi
imul esi, esi, 0x11b00
imul eax, eax, 0x1b000000
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x1b000000
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
shl ecx, 2
imul eax, eax, 0x11b00
xor ecx, dword [ebp - 8]
shl ecx, 8
xor ecx, eax
mov eax, ebx
imul eax, eax, 0x11b00
xor ecx, eax
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x11b00
xor ecx, edx
mov edx, dword [ebp - 4]
xor ecx, esi
mov esi, dword [ebp - 0x10]
xor ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
lea ecx, [eax*8]
xor ecx, eax
mov eax, esi
imul eax, eax, 0x11b0000
shl ecx, 0x10
xor ecx, eax
mov eax, ebx
imul eax, eax, 0x11b0000
xor ecx, eax
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x11b0000
xor ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
lea ecx, [eax*4]
xor ecx, eax
add ecx, ecx
xor ecx, edi
imul esi, esi, 0x11b
mov eax, dword [ebp - 0xc]
imul ebx, ebx, 0x11b
imul eax, eax, 0x11b
xor ecx, esi
xor ecx, ebx
mov ebx, dword [ebp - 8]
xor ecx, eax
xor ecx, ebx
or ecx, edx
or ebx, edx
mov edx, dword [ebp - 0x14]
xor eax, eax
or eax, ebx
mov dword [edx*8 + 0x4b6768], eax
mov dword [edx*8 + 0x4b676c], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x100
jl 0x421740
pop edi
pop esi
mov byte [0x4b4ab9], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424276
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x475442
call fcn.00440c2b
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x424382
cmp byte [esi + 0x46], bl
je 0x424382
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x4242b2
xor al, al
jmp 0x424384
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.004092d0
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4242dd
mov dword [ebp - 0x2c], edi
jmp 0x4242e3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
cmp eax, 0x10
jae 0x4242eb
lea edi, [ebp - 0x28]
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x30]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x424311
dec eax
je 0x424314
dec eax
dec eax
jne 0x424376
inc eax
jmp 0x424374
mov byte [esi + 0x46], bl
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov edx, edi
cmp eax, 0x10
jae 0x424324
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x2c], ecx
je 0x424352
cmp eax, 0x10
jae 0x424336
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ecx
push 1
push edi
call fcn.0043ed2c
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
cmp ecx, eax
jne 0x424372
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x424370
test ecx, ecx
jne 0x4242d3
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.004050f0
jmp 0x4242cd
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.004050c0
mov al, bl
jmp 0x424384
mov al, 1
call fcn.00440bda
ret
Function at 0x424693
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x47546f
call fcn.00440c2b
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, 0xffff
cmp si, bx
jne 0x4246b5
xor eax, eax
jmp 0x424839
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4246e1
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4246e1
dec dword [edx]
mov edx, dword [edi + 0x20]
mov ax, bx
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x424839
cmp dword [edi + 0x50], 0
je 0x424836
mov ecx, edi
call fcn.0042446f
xor ecx, ecx
cmp dword [edi + 0x40], ecx
jne 0x424714
push dword [edi + 0x50]
push ebx
call fcn.00423f21
pop ecx
pop ecx
test al, al
je 0x424836
movzx esi, bx
jmp 0x424836
movzx eax, bx
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0xf
call fcn.004092d0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
cmp ecx, 0x10
jae 0x424747
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp ecx, 0x10
jae 0x424755
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 0x38]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x32]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x48]
push eax
call dword [edx + 0x1c]
mov ebx, dword [ebp + 8]
test eax, eax
js 0x42482e
cmp eax, 1
jg 0x424812
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
cmp ecx, 0x10
jb 0x4247a2
mov dword [ebp - 0x2c], eax
jmp 0x4247a8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
je 0x4247da
cmp ecx, 0x10
jae 0x4247bb
lea eax, [ebp - 0x28]
push dword [edi + 0x50]
push edx
push 1
push eax
call fcn.0043ed2c
mov edx, dword [ebp - 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x42480a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea ebx, [ebp - 0x34]
cmp dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov byte [edi + 0x46], 1
jne 0x424807
test edx, edx
jne 0x42473f
cmp dword [ebp - 0x18], 0x20
jae 0x42480d
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004050f0
jmp 0x424736
movzx esi, bx
movzx esi, si
movzx esi, si
jmp 0x42482b
cmp eax, 3
jne 0x42482e
push dword [edi + 0x50]
push dword [ebp - 0x34]
call fcn.00423f21
pop ecx
pop ecx
test al, al
je 0x42482b
movzx esi, bx
movzx esi, si
lea ecx, [ebp - 0x28]
call fcn.004050c0
mov ax, si
call fcn.00440bda
ret 4
Function at 0x460e0f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0044a00d
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x460e47
xor eax, eax
jmp 0x460e73
cmp esi, dword [ebp - 4]
je 0x460e70
cmp dword [ebp + 0xc], 0
je 0x460e70
push dword [edi + 0x9c]
call fcn.00460a1d
push dword [edi + 0x9c]
mov esi, eax
call fcn.00443cbf
pop ecx
pop ecx
cmp esi, eax
je 0x460e43
xor eax, eax
inc eax
pop edi
pop esi
leave
ret