joyce8/EMBER2024-capa huggingface dataset:
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 [0x4ada18]
jb 0x40ba2c
cmp si, word [0x4adc18]
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 + 0x4ada18]
jae 0x40ba06
mov edi, ebx
dec edi
jmp 0x40ba27
cmp si, word [ebx*8 + 0x4ada18]
jbe 0x40ba16
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ba27
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4ada1c]
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 0x40bcb0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bdb6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b3c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b3c2c]
jne 0x40bcfc
mov eax, esi
mov edx, 0x4b3c2e
mov ecx, 0x55
call fcn.00408a20
push 0x4b3c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40bd9e
push 0x4b3c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407ed4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bd6b
cmp byte [0x4b3c10], 0
je 0x40bd30
mov edx, esi
mov eax, ebx
call fcn.0040bb94
jmp 0x40bd6b
mov edx, esi
mov eax, ebx
call fcn.0040b994
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40bd6b
cmp dword [esi], 0
je 0x40bd54
mov eax, esi
mov edx, 0x40bdd0
call fcn.00408b7c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040b994
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408b7c
push 0x4b3c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b3c2c], bx
mov eax, dword [esi]
call fcn.00408984
mov ecx, eax
mov eax, 0x4b3c2e
mov edx, 0xaa
call fcn.0040b814
push 0x4b3c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdbd
lea eax, [ebp - 4]
call fcn.00407ed4
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 0x41b414
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41b46d
test eax, edx
je 0x41b470
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41b42b
movzx eax, word [eax]
sub eax, ecx
jmp 0x41b452
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 0x41b453
add ecx, 4
js 0x41b443
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41b450
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41b452
xor eax, eax
ret
test eax, eax
je 0x41b47c
test edx, edx
jne 0x41b41c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420b00
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 0x420b39
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040806c
jmp 0x420b42
mov eax, ebx
mov edx, esi
call fcn.004082c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x420b4c
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 0x420b70
movzx eax, word [esp]
jmp 0x420b72
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x422044
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 0x42216b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00421e4c
mov esi, eax
mov eax, dword [0x4b0af8]
cmp byte [eax], 0
je 0x422111
mov eax, dword [0x4b0944]
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 [0x422014]
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 0x422184
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42214d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4b0910]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b4634]
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 0x422172
lea eax, [ebp - 4]
mov edx, dword [0x422014]
call fcn.0040af0c
pop eax
jmp eax

Function at 0x423888
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004083b4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040de60
mov edi, eax
cmp edi, 0x104
jbe 0x423833
mov eax, edi
add eax, eax
call fcn.004053c0
mov esi, eax
jmp 0x423835
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040de60
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42386e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x423858
mov eax, esp
cmp esi, eax
je 0x42387b
mov eax, esi
call fcn.004053dc
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4238b4
cmp bl, 0
je 0x4238b0
cmp bl, 0x41
jl 0x4238ab
cmp bl, 0x5a
jg 0x4238ab
or bl, 0x20
xor al, bl
inc esi
jmp 0x42388f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4237f4
Function at 0x42452c
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 0x42454a
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x424562
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42455d
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x424567
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x4245d5
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42461e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x424593
inc dword [ebp - 0xc]
jmp 0x4245ab
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x4245ab
cmp dword [ebp - 0xc], 0
jle 0x4245ab
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4245cd
xor eax, eax
jmp 0x4245c9
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4245c8
mov eax, esi
jmp 0x424621
inc eax
cmp eax, ecx
jle 0x4245b5
inc esi
cmp esi, dword [ebp - 8]
jl 0x42457f
jmp 0x42461e
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42461e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4245f6
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x424618
xor eax, eax
jmp 0x424614
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x424613
mov eax, esi
jmp 0x424621
inc eax
cmp eax, ecx
jle 0x424600
inc esi
cmp esi, dword [ebp - 8]
jl 0x4245de
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424790
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 0x4247ad
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4247bb
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x4248dd
test ebx, ebx
jl 0x4248dd
test esi, esi
jle 0x4248dd
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 0x42487a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x4248dd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42485f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42482e
inc dword [ebp - 0x14]
jmp 0x42483e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42483e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x424849
or eax, 0xffffffff
jmp 0x42485f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42485c
inc eax
jmp 0x42485f
or eax, 0xffffffff
test eax, eax
jl 0x424867
cmp esi, eax
jg 0x42481c
cmp esi, eax
jg 0x424872
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x4248e0
inc edx
dec dword [ebp - 0x1c]
jne 0x424818
jmp 0x4248dd
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x4248dd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x4248c4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x4248a3
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4248ae
or eax, 0xffffffff
jmp 0x4248c4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x4248c1
inc eax
jmp 0x4248c4
or eax, 0xffffffff
test eax, eax
jl 0x4248cc
cmp esi, eax
jg 0x42488c
cmp esi, eax
jg 0x4248d7
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x4248e0
inc edx
dec dword [ebp - 0x1c]
jne 0x424888
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4323d4
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 0x4323dc
mov eax, edx
pop esi
pop ebx
ret

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

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4465cc
add esp, 0xfffffff0
call fcn.00406710
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44053c]
call fcn.004625e4
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x445588]
call fcn.00463d00
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x445588]
call fcn.00463d00
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 0x446621
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 0x495f20
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x495f63
cmp byte [ebx + 0x11], 0
jne 0x495f63
cmp byte [ebx + 0x24], 0
jne 0x495f63
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x495f7a
mov ecx, dword [0x4b0ab0]
mov dl, 1
mov eax, dword [0x470858]
call fcn.00422274
call fcn.004075bc
pop ebx
ret
mov ecx, dword [0x4b0ab0]
mov dl, 1
mov eax, dword [0x470858]
call fcn.00422274
call fcn.004075bc
pop ebx
ret

Function at 0x4964b4
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 0x496502
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.00495e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49651b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x496524
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00495e98
dec esi
jne 0x496546
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4a0a4c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a0a94
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004a09e4
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 0x4a0a9b
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax

Function at 0x4a0d1c
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.0041c2cc
add esp, 0x208
pop ebx
ret
Function at 0x4a0d7c
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.0041c2cc
add esp, 0x208
pop ebx
ret

Function at 0x4a2258
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4b78ac
mov eax, esi
mov edx, 8
test al, 1
je 0x4a2274
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a2276
shr eax, 1
dec edx
jne 0x4a2267
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a2260
pop esi
ret

Function at 0x4a228c
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 [0x4b78a8], 0
jne 0x4a22b6
call fcn.004a2258
mov dword [esp], 0x4b78a8
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x4a22e0
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4b78ac]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4a22bc
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a5044
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004a4ff8
test al, al
jne 0x4a5065
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4a50b3
xor eax, eax
push ebp
push 0x4a50a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408984
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a50aa
lea eax, [ebp - 0xc]
call fcn.004a5034
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a58d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a592a
inc esi
xor edi, edi
cmp edi, 1
jne 0x4a58f6
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4a5904
cmp edi, 1
jle 0x4a5904
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004a5044
test eax, eax
jne 0x4a592a
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4a592a
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4a592a
inc edi
dec esi
jne 0x4a58e6
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4a5d20
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a5df9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a5e14
push ebx
push 0x4a5e24
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408c5c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405c10
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408984
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a5da2
mov ax, 0x83
call fcn.004a5944
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a5cf4
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a5dab
call fcn.004a5cf4
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5e00
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax
Function at 0x4a5f14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a5fdd
jmp 0x4a5fd1
cmp dword [esi + 0x10], 0x1000
jne 0x4a5fbf
test byte [esi + 0x15], 1
jne 0x4a5fbf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a5f70
cmp ebp, 2
je 0x4a5f70
cmp ebp, 0x10
je 0x4a5f70
cmp ebp, 0x20
jne 0x4a5f8c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a5f8c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a5f9d
mov eax, dword [esi]
add eax, ebx
call fcn.004a5f0c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a5f90
cmp byte [esp + 4], 0
je 0x4a5fbf
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov edi, dword [esi]
add edi, dword [esi + 0xc]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a5fdd
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a5f45
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401380
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x4d4268]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407490
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407530
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00471f7b
add esp, 0x68
ret

Function at 0x4013f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x4d4268]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407490
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407530
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00471f7b
add esp, 0x68
ret