joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c98c0
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x20
call fcn.005ae670
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov eax, esi
sub eax, ebx
je 0x4c9908
sub eax, 2
je 0x4c9908
sub eax, 0x15
je 0x4c9908
push 0x293
push str.crypto_bio_b_addr.c
push 0x83
push 0x8f
push 0x20
call fcn.004c2ad0
add esp, 0x14
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
call fcn.004c96e0
cmp eax, 1
jne 0x4c9900
mov eax, dword [esp + 0x3c]
xor ecx, ecx
push ebp
push edi
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
xor edi, edi
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x4c9949
or ecx, 0x400
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x3c], 1
jne 0x4c9957
or ecx, 1
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x48]
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x4c99af
cmp esi, 8
je 0x4c99f6
mov ecx, dword [esp + 0x10]
test ecx, 0x400
je 0x4c99be
push ebp
lea eax, [esp + 0x14]
and ecx, 0xfffffbff
push eax
push dword [esp + 0x40]
or ecx, 4
mov edi, esi
push dword [esp + 0x40]
mov dword [esp + 0x20], ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x4c9975
mov ebx, 1
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2d4
push str.crypto_bio_b_addr.c
push 2
push 0x8f
push 0x20
call fcn.004c2ad0
test edi, edi
cmovne esi, edi
push esi
call fcn.004c9e00
push eax
push 1
call fcn.004c2110
add esp, 0x20
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2c5
push str.crypto_bio_b_addr.c
push 0x41
push 0x8f
push 0x20
call fcn.004c2ad0
add esp, 0x14
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
Function at 0x518a10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005ae670
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x518a54
cmp ecx, edx
jb 0x518a54
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x518a43
pop edi
jmp 0x518a61
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call fcn.004ef590
add esp, 0x14
pop esi
test eax, eax
je 0x518a8b
cmp dword [esp], 0x10
jne 0x518a8b
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x518bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x518c43
mov edx, dword [esp + 0x10]
test edx, edx
je 0x518c43
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov eax, dword [ebx + 0xc]
cmp edx, eax
mov edi, eax
cmovb edi, edx
test edi, edi
je 0x518c13
push esi
mov esi, ebp
lea ecx, [ebx + 0x10]
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x518c00
mov eax, dword [ebx + 0xc]
pop esi
cmp edx, eax
jbe 0x518c41
sub edx, eax
cmp edx, 0x10
jbe 0x518c25
mov edx, 0x10
jmp 0x518c29
test edx, edx
je 0x518c41
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
add eax, ecx
mov al, byte [eax + ebp]
xor byte [ebx + ecx + 0x30], al
inc ecx
cmp ecx, edx
jb 0x518c30
pop edi
pop ebx
pop ebp
ret
Function at 0x51e9a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.005ae670
mov eax, dword [0x634bc0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
test edi, edi
je 0x51ea0d
cmp edi, eax
je 0x51ea01
test ebp, ebp
je 0x51ea80
test ebx, ebx
js 0x51ea80
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x51ea13
test eax, eax
je 0x51ea80
mov edi, eax
push edi
call fcn.00493f50
add esp, 4
test al, 2
jne 0x51ea80
test ebp, ebp
je 0x51eb8b
push edi
mov dword [esp + 0x14], 1
call fcn.004b34e0
add esp, 4
cmp eax, 0x90
jg 0x51ea80
cmp eax, ebx
jge 0x51ea9b
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.004b9de0
add esp, 0xc
test eax, eax
je 0x51ea80
push ebx
push ebp
push dword [esi + 4]
call fcn.004b9f90
add esp, 0xc
test eax, eax
je 0x51ea80
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.004b9d40
add esp, 0xc
test eax, eax
jne 0x51eab7
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ad814
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x51ea80
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x51eada
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x51eae0
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.004b9de0
add esp, 0xc
test eax, eax
je 0x51eb98
push edi
call fcn.004b34e0
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.004b9f90
add esp, 0x10
test eax, eax
je 0x51eb98
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x51eb30
push ebp
push edi
push dword [esi + 0xc]
call fcn.004b9de0
add esp, 0xc
test eax, eax
je 0x51eb98
push edi
call fcn.004b34e0
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.004b9f90
add esp, 0x10
test eax, eax
je 0x51eb98
push dword [esi + 8]
push dword [esi + 4]
call fcn.004ba120
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x51eb9a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x51eb6f
jmp 0x51eade
xor ebp, ebp
test ebx, ebx
je 0x51ebb0
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.00401320
add esp, 8
mov eax, ebp
jmp 0x51ea82
Function at 0x55b160
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x55b174
mov dword [esp + 0x18], fcn.00559940
jmp fcn.00552e90
mov dword [esp + 0x18], fcn.00558be0
jmp fcn.00552b90
Function at 0x59fca0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.005ae670
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x18]
inc ebp
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x59fd2a
mov edx, dword [esp + 0x24]
lea eax, [edx + ebp]
cmp eax, ecx
ja 0x59fd2e
add dword [edi + 0x14], edx
sub ecx, edx
add dword [edi + 0x18], edx
sub dword [edi + 0xc], edx
mov dword [edi + 8], ecx
mov eax, dword [edi + 0x14]
push ebx
push dword [esi + 0x3cc]
mov al, byte [eax + ecx - 1]
movzx ebx, al
mov byte [esp + 0x30], al
mov dword [esp + 0x24], ebx
call fcn.004b78a0
push eax
call fcn.004b34f0
mov esi, dword [edi + 8]
add esp, 8
mov dword [esp + 0x18], esi
and eax, 0x200000
je 0x59fd37
sub esi, ebx
mov eax, 1
dec esi
pop ebx
mov dword [edi + 8], esi
pop edi
pop esi
pop ebp
add esp, 0xc
ret
cmp ebp, ecx
jbe 0x59fce2
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
lea ecx, [ebx + ebp]
mov eax, esi
mov ebx, esi
xor eax, ecx
sub ebx, ecx
xor ebx, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
cmovb eax, esi
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x59fdb3
mov edx, dword [esp + 0x20]
dec esi
mov edi, dword [edi + 0x14]
shr edx, 0x1f
add edi, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov eax, esi
lea edi, [edi - 1]
sub eax, ebp
mov ecx, ebp
shr ecx, 0x1f
inc ebp
shr eax, 0x1f
xor al, cl
xor cl, dl
or al, cl
movzx ecx, byte [esp + 0x2c]
dec al
movzx edx, al
movzx eax, byte [edi + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x14]
cmp ebp, dword [esp + 0x10]
jb 0x59fd75
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
not ebx
movzx ecx, bl
inc eax
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub esi, eax
mov dword [edi + 8], esi
mov dword [esp + 0x2c], ecx
not ecx
pop ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
and ecx, 1
pop edi
pop esi
or eax, ecx
pop ebp
add esp, 0xc
ret
Function at 0x5ae933
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5ae972
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5ae972
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5ae972
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5ae972
cmp dword [ecx + 0x74], 0xe
jbe 0x5ae972
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x5bec7088
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x253353a6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40c990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x40c9c1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40c9b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x40ff80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov edx, 0x811c9dc5
mov esi, dword [eax + 4]
mov edi, dword [eax]
test esi, esi
je 0x40ffb1
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40ffa0
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41d350
Capabilities:
Persist via run registry key
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x5c
mov eax, dword [0x477840]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
call fcn.00409ef0
push 8
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push str.ClipArt1
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.0040a430
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x41d3bd
push 0xb7
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 7
xor eax, eax
movaps xmmword [esp + 0x10], xmm0
lea ecx, [esp + 0x10]
mov word [esp + 0x10], ax
call fcn.00404b00
test al, al
je 0x41d459
lea eax, [esp + 0xc]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d459
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], 7
lea ecx, [eax*2 + 2]
push ecx
lea eax, [esp + 0x14]
cmova eax, dword [esp + 0x14]
push eax
push 1
push 0
push 0x46b240
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00408ee0
test esi, esi
je 0x41d470
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x41d4a8
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d49e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d505
push ecx
push edx
call fcn.00439f72
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp ecx, 0xf
jbe 0x41d4f1
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d4e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d505
push ecx
push edx
call fcn.00439f72
add esp, 8
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00439e1a
mov esp, ebp
pop ebp
ret 0x10
call fcn.00423f6f
int3
Function at 0x41e590
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444b8e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x477840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
push 0x10
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
push 0
push 0
push 0
push 4
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
xorps xmm0, xmm0
mov edi, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
test edi, edi
jne 0x41e621
mov dword [esi + 0x10], edi
mov byte [esi + edi], al
jmp 0x41e649
cmp edi, 0xf
ja 0x41e63b
push edi
push 0
push esi
mov dword [esi + 0x10], edi
call fcn.0043bae0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x41e649
push 0
push edi
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.0040c7d0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x41e653
mov eax, dword [esi]
push 0
push edi
push eax
push 4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
mov eax, dword [esi + 0x10]
dec eax
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0xf
jbe 0x41e688
mov ecx, dword [esi]
mov byte [ecx + eax], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + eax], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea esi, [ebp - 0x12c]
xor bl, bl
mov edi, 0x10
nop dword [eax]
movzx eax, bl
lea esi, [esi + 4]
add ecx, eax
add bl, 4
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 4]
shl edx, 8
or edx, eax
mov dword [esi - 4], edx
sub edi, 1
jne 0x41f1f0
lea eax, [ebp - 0x128]
mov ebx, 0x30
nop
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x41f230
mov ebx, dword [ebp - 4]
add ebx, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov esi, dword [ebp - 0x20]
mov eax, ebx
ror eax, 0xb
mov ecx, ebx
ror edi, 0x19
not ecx
and ecx, dword [ebp - 0xc]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 4]
add edi, ecx
add dword [ebp - 4], 4
add edi, dword [eax + 0x46f0a8]
add edi, dword [ebp + eax - 0x12c]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, edx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x20], eax
ror eax, 0xd
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x24]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x24]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x24], eax
jne 0x41f293
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov edx, 8
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x41f333
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421f10
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444f0d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x64
mov eax, dword [0x477840]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00422d10
xorps xmm0, xmm0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 4], 2
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x421fc2
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00422390
add dword [esi + 0x2c], 0x58
jmp 0x421fcc
lea edx, [ebp - 0x70]
push edx
push eax
call fcn.00423820
mov esi, dword [esi + 0x2c]
lea ecx, [ebp - 0x70]
call fcn.00422270
lea eax, [esi - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439e1a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret