joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f0c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4dc058], 0
je 0x409f73
cmp word [0x4dc344], 0xd7b2
jne 0x409f35
cmp dword [0x4dc34c], 0
jbe 0x409f35
mov eax, 0x4dc340
call dword [0x4dc35c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409fa0
call fcn.0040aa8c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d8032], 0
jne 0x409f8f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a134
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 [0x4d8034], 0
je 0x40a15f
mov edx, edi
mov eax, esi
call dword [0x4d8034]
mov ebx, eax
jmp 0x40a170
mov eax, 8
call fcn.00406f60
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4dc059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a0fc
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 0x40a1a0
mov eax, ebx
call fcn.00406f7c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40d87c
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 0x40d9e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a274
cmp si, word [0x4d8a08]
jb 0x40d914
cmp si, word [0x4d8c08]
ja 0x40d914
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d914
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4d8a08]
jae 0x40d8ee
mov edi, ebx
dec edi
jmp 0x40d90f
cmp si, word [ebx*8 + 0x4d8a08]
jbe 0x40d8fe
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d90f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d8a0c]
call fcn.0040d798
jmp 0x40d914
cmp edi, dword [ebp - 8]
jae 0x40d8d8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d9c3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d9c3
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.0040ad8c
push dword [ebp - 0x160]
push 0x40da00
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ad8c
push dword [ebp - 0x164]
push 0x40da10
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ad8c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040afc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9ea
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a2d4
pop eax
jmp eax
Function at 0x40db98
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 0x40dc9e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4dec14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4dec2c]
jne 0x40dbe4
mov eax, esi
mov edx, 0x4dec2e
mov ecx, 0x55
call fcn.0040ad8c
push 0x4dec14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40dc86
push 0x4dec14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a274
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dc53
cmp byte [0x4dec10], 0
je 0x40dc18
mov edx, esi
mov eax, ebx
call fcn.0040da7c
jmp 0x40dc53
mov edx, esi
mov eax, ebx
call fcn.0040d87c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40dc53
cmp dword [esi], 0
je 0x40dc3c
mov eax, esi
mov edx, 0x40dcb8
call fcn.0040aee4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d87c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040aee4
push 0x4dec14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4dec2c], bx
mov eax, dword [esi]
call fcn.0040acd8
mov ecx, eax
mov eax, 0x4dec2e
mov edx, 0xaa
call fcn.0040d6f8
push 0x4dec14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dca5
lea eax, [ebp - 4]
call fcn.0040a274
pop eax
jmp eax
Function at 0x40dee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a368
xor eax, eax
push ebp
push 0x40e108
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40df26
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40df40
mov eax, dword [ebp - 4]
call fcn.0040acd8
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d6f8
cmp word [ebp - 0x21e], 0
je 0x40e0eb
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e118
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e00f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e118
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e00f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e154
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e00f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e154
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e00f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e188
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e00f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e1bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e0eb
xor eax, eax
push ebp
push 0x40e0e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040dce0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e072
mov eax, dword [ebp - 0x14]
call fcn.00406f60
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ad38
jmp 0x40e0bd
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e1fc
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e0bd
mov eax, dword [ebp - 0x14]
call fcn.00406f60
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e1fc
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ad38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e0eb
cmp dword [ebp - 0xc], 0
je 0x40e0d8
mov eax, dword [ebp - 0xc]
call fcn.00406f7c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e10f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a2d4
pop eax
jmp eax
Function at 0x40e41c
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.0040a368
xor eax, eax
push ebp
push 0x40e4de
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.0040ad8c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040af3c
mov eax, dword [ebx]
call fcn.0040e2c4
test al, al
jne 0x40e4b9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ad8c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040af3c
mov eax, dword [ebx]
call fcn.0040e2c4
test al, al
jne 0x40e4b9
mov eax, ebx
call fcn.0040a274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e4e5
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a2d4
lea eax, [ebp - 4]
call fcn.0040a274
pop eax
jmp eax

Function at 0x410028
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 0x420324
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42037d
test eax, edx
je 0x420380
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42033b
movzx eax, word [eax]
sub eax, ecx
jmp 0x420362
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 0x420363
add ecx, 4
js 0x420353
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420360
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420362
xor eax, eax
ret
test eax, eax
je 0x42038c
test edx, edx
jne 0x42032c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4215ec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040acd8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421656
test ah, 4
je 0x42164f
test bl, bl
jne 0x421614
mov al, 1
jmp 0x42167d
test al, 0x10
je 0x42161c
xor eax, eax
jmp 0x42167d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421640
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x42167d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42167d
test al, 0x10
sete al
jmp 0x42167d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x421677
cmp ebx, 3
je 0x421677
cmp ebx, 0x7b
je 0x421677
mov eax, esi
call fcn.004215ac
test al, al
jne 0x42167b
xor eax, eax
jmp 0x42167d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x425df4
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 0x425e2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a40c
jmp 0x425e36
mov eax, ebx
mov edx, esi
call fcn.0040a664
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425e40
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 0x425e64
movzx eax, word [esp]
jmp 0x425e66
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x427584
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 0x4276ab
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042738c
mov esi, eax
mov eax, dword [0x4dbbfc]
cmp byte [eax], 0
je 0x427651
mov eax, dword [0x4dba44]
call fcn.00407cac
call fcn.004070d4
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 [0x427554]
call fcn.0040ce08
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 0x4276c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42768d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4dba04]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4df634]
call fcn.0040d39c
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 0x4276b2
lea eax, [ebp - 4]
mov edx, dword [0x427554]
call fcn.0040cf2c
pop eax
jmp eax

Function at 0x429994
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.0040a758
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410008
mov edi, eax
cmp edi, 0x104
jbe 0x42993f
mov eax, edi
add eax, eax
call fcn.00406f60
mov esi, eax
jmp 0x429941
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410008
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42997a
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 0x429964
mov eax, esp
cmp esi, eax
je 0x429987
mov eax, esi
call fcn.00406f7c
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 0x4299c0
cmp bl, 0
je 0x4299bc
cmp bl, 0x41
jl 0x4299b7
cmp bl, 0x5a
jg 0x4299b7
or bl, 0x20
xor al, bl
inc esi
jmp 0x42999b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429900

Function at 0x42a2b8
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040ad8c
add esp, 0x800
pop ebx
ret
Function at 0x42cae8
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 0x42cb08
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42cb22
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42cb1d
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42cb27
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42cb95
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42cbde
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42cb53
inc dword [ebp - 0xc]
jmp 0x42cb6b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42cb6b
cmp dword [ebp - 0xc], 0
jle 0x42cb6b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42cb8d
xor eax, eax
jmp 0x42cb89
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42cb88
mov eax, esi
jmp 0x42cbe1
inc eax
cmp eax, ecx
jle 0x42cb75
inc esi
cmp esi, dword [ebp - 8]
jl 0x42cb3f
jmp 0x42cbde
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42cbde
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42cbb6
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42cbd8
xor eax, eax
jmp 0x42cbd4
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42cbd3
mov eax, esi
jmp 0x42cbe1
inc eax
cmp eax, ecx
jle 0x42cbc0
inc esi
cmp esi, dword [ebp - 8]
jl 0x42cb9e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42cdd0
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 0x42cdef
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42cdff
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42cf21
test ebx, ebx
jl 0x42cf21
test esi, esi
jle 0x42cf21
mov eax, dword [ebp - 8]
call fcn.0040acd8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040acd8
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 0x42cebe
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42cf21
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42cea3
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42ce72
inc dword [ebp - 0x14]
jmp 0x42ce82
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42ce82
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42ce8d
or eax, 0xffffffff
jmp 0x42cea3
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42cea0
inc eax
jmp 0x42cea3
or eax, 0xffffffff
test eax, eax
jl 0x42ceab
cmp esi, eax
jg 0x42ce60
cmp esi, eax
jg 0x42ceb6
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42cf24
inc edx
dec dword [ebp - 0x1c]
jne 0x42ce5c
jmp 0x42cf21
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42cf21
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42cf08
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42cee7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42cef2
or eax, 0xffffffff
jmp 0x42cf08
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42cf05
inc eax
jmp 0x42cf08
or eax, 0xffffffff
test eax, eax
jl 0x42cf10
cmp esi, eax
jg 0x42ced0
cmp esi, eax
jg 0x42cf1b
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42cf24
inc edx
dec dword [ebp - 0x1c]
jne 0x42cecc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

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

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43ea5b
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43ea4b
mov eax, ecx
pop ebx
ret
Function at 0x4b75b8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b75fb
cmp byte [ebx + 0x11], 0
jne 0x4b75fb
cmp byte [ebx + 0x24], 0
jne 0x4b75fb
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 0x4b7612
mov ecx, dword [0x4dbbb8]
mov dl, 1
mov eax, dword [0x4876d0]
call fcn.00427810
call fcn.0040996c
pop ebx
ret
mov ecx, dword [0x4dbbb8]
mov dl, 1
mov eax, dword [0x4876d0]
call fcn.00427810
call fcn.0040996c
pop ebx
ret

Function at 0x4b7f80
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 0x4b7fce
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.004b7464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b7fe7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b7ff0
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.004b7464
dec esi
jne 0x4b8012
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4d1318
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor ebx, ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a368
mov eax, dword [ebp - 8]
call fcn.0040a368
xor eax, eax
push ebp
push 0x4d142a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
jne 0x4d1365
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x264]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040af3c
mov eax, dword [ebp - 0x264]
call fcn.0040acd8
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4d13fd
xor eax, eax
push ebp
push 0x4d13f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040ad8c
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4d13a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d13fd
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1431
lea eax, [ebp - 0x268]
mov edx, 2
call fcn.0040a2d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a2d4
pop eax
jmp eax