joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421330
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
lea eax, [ecx + 0x32a34]
lea edx, [ecx + 0x32e34]
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0xca8d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jmp 0x421365
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, 4
mov eax, edi
mov dword [esp + 0x2c], eax
mov ebx, dword [edx]
add edx, 4
mov dword [esi], ebx
add esi, 4
dec edi
jne 0x421378
mov edx, dword [esp + 0x20]
lea ecx, [ecx + edx*4 + 0x32e44]
mov dword [esp + 0x30], ecx
cmp eax, 0x400
jae 0x4213a5
xor ebx, ebx
mov bl, byte [eax + 0x479474]
jmp 0x4213ce
cmp eax, 0x80000
jae 0x4213be
mov edx, eax
xor ebx, ebx
shr edx, 9
mov bl, byte [edx + 0x479474]
add ebx, 0x12
jmp 0x4213ce
mov ecx, eax
xor ebx, ebx
shr ecx, 0x12
mov bl, byte [ecx + 0x479474]
add ebx, 0x24
mov ecx, ebx
mov edx, ebx
shr ecx, 1
and edx, 1
dec ecx
or edx, 2
mov esi, eax
shl edx, cl
xor ebp, ebp
mov edi, 1
mov dword [esp + 0x24], ebp
sub esi, edx
test ecx, ecx
je 0x42143f
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x10]
mov ecx, edi
sub ecx, ebx
mov eax, esi
add ecx, edx
and eax, 1
add edi, edi
mov ecx, dword [ebp + ecx*4 + 0x28b1c]
mov ebp, eax
sub ecx, eax
or edi, eax
neg ebp
mov eax, dword [esp + 0x28]
xor ecx, ebp
mov ebp, dword [esp + 0x24]
shr ecx, 2
and ecx, 0x1ff
shr esi, 1
add ebp, dword [ecx*4 + 0x47987c]
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
jne 0x4213f4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add edx, ebx
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x30]
add edx, ebp
inc eax
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jb 0x421394
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add eax, 0x40
add ebx, 0x200
add edi, 0x100
add edx, 0x80
cmp eax, 0xcb8d
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jb 0x421361
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x4214c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
xor edi, edi
add ecx, 0x33634
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
xor esi, esi
mov edx, 1
mov ebx, 4
mov ecx, dword [esp + 0x18]
mov eax, edi
and eax, 1
mov ecx, dword [ecx + edx*4 + 0x28ce8]
mov ebp, eax
sub ecx, eax
add edx, edx
neg ebp
xor ecx, ebp
or edx, eax
shr ecx, 2
and ecx, 0x1ff
shr edi, 1
mov ebp, dword [ecx*4 + 0x47987c]
add esi, ebp
dec ebx
jne 0x4214e7
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc edi
mov dword [eax], esi
add eax, 4
cmp edi, 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jb 0x4214db
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [edx + 0x33674], 0x10
pop ebx
add esp, 0xc
ret
Function at 0x42798d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x46179e
call fcn.00457f48
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x466fcc
mov dword [esi + 4], 0x466fbc
mov dword [esi + 8], 0x466fa8
mov dword [esi + 0xc], 0x466f98
mov dword [esi + 0x10], 0x466f84
push dword [esi + 0x1d30]
lea edi, [esi + 0x1d30]
mov dword [ebp - 4], 1
call fcn.00404d46
and dword [edi], 0
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.0040d8f0
or dword [ebp - 4], 0xffffffff
add esi, 0x18
mov ecx, esi
call fcn.00413ea5
mov ecx, esi
call fcn.00413ede
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x458920
Capabilities:
Encode data using xor

Disassembly:
add al, 0x6c
push ds
xor al, byte [ebp + 3]
mov al, 0x7b
push esi
inc ebp
inc ebp
rcr byte [edi - 0x18], 1
cmpsb byte [esi], byte es:[edi]
adc dword [edx + 9], eax
pop edi
call 0x9879ad8
add byte [ebp + 0x65], 0xeb
add al, 0xb
xor ch, byte [eax - 0x25]
cmp byte [ecx + 0x20c08305], cl
das
je 0x45892c
ret
Function at 0x407d94
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4ae038], 0
je 0x407dbf
mov edx, edi
mov eax, esi
call dword [0x4ae038]
mov ebx, eax
jmp 0x407dd0
mov eax, 8
call fcn.004053c0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4b2059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x407d5c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x407e00
mov eax, ebx
call fcn.004053dc
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40b994
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40bafb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407ed4
cmp si, word [0x4aea18]
jb 0x40ba2c
cmp si, word [0x4aec18]
ja 0x40ba2c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40ba2c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4aea18]
jae 0x40ba06
mov edi, ebx
dec edi
jmp 0x40ba27
cmp si, word [ebx*8 + 0x4aea18]
jbe 0x40ba16
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ba27
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4aea1c]
call fcn.0040b8b4
jmp 0x40ba2c
cmp edi, dword [ebp - 8]
jae 0x40b9f0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40badb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40badb
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408a20
push dword [ebp - 0x160]
push 0x40bb18
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00408a20
push dword [ebp - 0x164]
push 0x40bb28
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408a20
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb02
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407f34
pop eax
jmp eax
Function at 0x40c530
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407fc8
xor eax, eax
push ebp
push 0x40c5f2
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408a20
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408bd4
mov eax, dword [ebx]
call fcn.0040c3dc
test al, al
jne 0x40c5cd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408a20
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408bd4
mov eax, dword [ebx]
call fcn.0040c3dc
test al, al
jne 0x40c5cd
mov eax, ebx
call fcn.00407ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5f9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407f34
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax

Function at 0x40de80
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x40fb28
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040fb14
add esp, 0x208
pop ebx
ret

Function at 0x41b53c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41b595
test eax, edx
je 0x41b598
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41b553
movzx eax, word [eax]
sub eax, ecx
jmp 0x41b57a
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x41b57b
add ecx, 4
js 0x41b56b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41b578
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41b57a
xor eax, eax
ret
test eax, eax
je 0x41b5a4
test edx, edx
jne 0x41b544
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420c28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x420c61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040806c
jmp 0x420c6a
mov eax, ebx
mov edx, esi
call fcn.004082c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420c74
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x420c98
movzx eax, word [esp]
jmp 0x420c9a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42216c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x422293
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00421f74
mov esi, eax
mov eax, dword [0x4b1af8]
cmp byte [eax], 0
je 0x422239
mov eax, dword [0x4b1944]
call fcn.00405b98
call fcn.00405518
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42213c]
call fcn.0040ade8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4222ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x422275
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4b1910]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b5634]
call fcn.0040b4b8
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42229a
lea eax, [ebp - 4]
mov edx, dword [0x42213c]
call fcn.0040af0c
pop eax
jmp eax
Function at 0x424654
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x424672
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42468a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x424685
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42468f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x4246fd
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x424746
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4246bb
inc dword [ebp - 0xc]
jmp 0x4246d3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x4246d3
cmp dword [ebp - 0xc], 0
jle 0x4246d3
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4246f5
xor eax, eax
jmp 0x4246f1
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4246f0
mov eax, esi
jmp 0x424749
inc eax
cmp eax, ecx
jle 0x4246dd
inc esi
cmp esi, dword [ebp - 8]
jl 0x4246a7
jmp 0x424746
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x424746
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42471e
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x424740
xor eax, eax
jmp 0x42473c
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42473b
mov eax, esi
jmp 0x424749
inc eax
cmp eax, ecx
jle 0x424728
inc esi
cmp esi, dword [ebp - 8]
jl 0x424706
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4248b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4248d5
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4248e3
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x424a05
test ebx, ebx
jl 0x424a05
test esi, esi
jle 0x424a05
mov eax, dword [ebp - 8]
call fcn.00408984
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408984
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x4249a2
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x424a05
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x424987
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x424956
inc dword [ebp - 0x14]
jmp 0x424966
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x424966
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x424971
or eax, 0xffffffff
jmp 0x424987
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x424984
inc eax
jmp 0x424987
or eax, 0xffffffff
test eax, eax
jl 0x42498f
cmp esi, eax
jg 0x424944
cmp esi, eax
jg 0x42499a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x424a08
inc edx
dec dword [ebp - 0x1c]
jne 0x424940
jmp 0x424a05
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x424a05
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x4249ec
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x4249cb
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4249d6
or eax, 0xffffffff
jmp 0x4249ec
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x4249e9
inc eax
jmp 0x4249ec
or eax, 0xffffffff
test eax, eax
jl 0x4249f4
cmp esi, eax
jg 0x4249b4
cmp esi, eax
jg 0x4249ff
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x424a08
inc edx
dec dword [ebp - 0x1c]
jne 0x4249b0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4324fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x432504
mov eax, edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43501b
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43500b
mov eax, ecx
pop ebx
ret
Function at 0x4466e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4466f4
add esp, 0xfffffff0
call fcn.00406710
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x440664]
call fcn.0046270c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4456b0]
call fcn.00463e28
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x4456b0]
call fcn.00463e28
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x446749
call fcn.00406768
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4965dc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x49662a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00495fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x496643
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a0b3c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a0b84
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004a0ad4
mov eax, dword [ebp - 4]
call fcn.00408984
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0b8b
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax

Function at 0x4a0da4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a0e3b
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4a0def
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.0040806c
jmp 0x4a0e23
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
cmp word [ebx], 0
jne 0x4a0e06
lea eax, [ebp - 4]
call fcn.00407ed4
jmp 0x4a0e19
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004a0c5c
mov ebx, eax
test esi, esi
je 0x4a0e19
dec esi
jmp 0x4a0df6
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004082c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0e42
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax

Function at 0x4a0e4c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041c3f4
add esp, 0x208
pop ebx
ret
Function at 0x4a0eac
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041c3f4
add esp, 0x208
pop ebx
ret

Function at 0x4a0ffc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a1134
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4a111c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x4a1059
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x4a111c
cmp dword [ebp - 0x14], 0
jne 0x4a106e
mov eax, dword [ebp - 0xc]
call fcn.00407ed4
mov bl, 1
jmp 0x4a111c
cmp dword [ebp - 0x14], 0x70000000
jb 0x4a107c
call fcn.004222d0
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.0040806c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00408464
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
je 0x4a1022
test eax, eax
jne 0x4a111c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x4a10ca
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x4a111c
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x4a10d2
dec esi
test esi, esi
je 0x4a10e1
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x4a10d1
cmp dword [ebp - 0x10], 7
jne 0x4a10ec
test esi, esi
je 0x4a10ec
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00408af8
cmp dword [ebp - 0x10], 7
jne 0x4a110f
test esi, esi
je 0x4a110f
lea eax, [ebp - 4]
call fcn.00408464
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004082c4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a113b
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax

Function at 0x4a275c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4b88ac
mov eax, esi
mov edx, 8
test al, 1
je 0x4a2778
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a277a
shr eax, 1
dec edx
jne 0x4a276b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a2764
pop esi
ret

Function at 0x4a2790
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4b88a8], 0
jne 0x4a27ba
call fcn.004a275c
mov dword [esp], 0x4b88a8
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x4a27e4
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4b88ac]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4a27c0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret