joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bc54
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 0x40bdbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004081b0
cmp si, word [0x5a0a18]
jb 0x40bcec
cmp si, word [0x5a0c18]
ja 0x40bcec
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40bcec
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5a0a18]
jae 0x40bcc6
mov edi, ebx
dec edi
jmp 0x40bce7
cmp si, word [ebx*8 + 0x5a0a18]
jbe 0x40bcd6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40bce7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5a0a1c]
call fcn.0040bb74
jmp 0x40bcec
cmp edi, dword [ebp - 8]
jae 0x40bcb0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40bd9b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bd9b
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.00408cb0
push dword [ebp - 0x160]
push 0x40bdd8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00408cb0
push dword [ebp - 0x164]
push 0x40bde8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408cb0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408eec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdc2
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00408210
pop eax
jmp eax
Function at 0x40bf70
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 0x40c076
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5a8c18
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5a8c30]
jne 0x40bfbc
mov eax, esi
mov edx, 0x5a8c32
mov ecx, 0x55
call fcn.00408cb0
push 0x5a8c18
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c05e
push 0x5a8c18
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004081b0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c02b
cmp byte [0x5a8c14], 0
je 0x40bff0
mov edx, esi
mov eax, ebx
call fcn.0040be54
jmp 0x40c02b
mov edx, esi
mov eax, ebx
call fcn.0040bc54
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c02b
cmp dword [esi], 0
je 0x40c014
mov eax, esi
mov edx, 0x40c090
call fcn.00408e0c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040bc54
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408e0c
push 0x5a8c18
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5a8c30], bx
mov eax, dword [esi]
call fcn.00408c14
mov ecx, eax
mov eax, 0x5a8c32
mov edx, 0xaa
call fcn.0040bad4
push 0x5a8c18
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c07d
lea eax, [ebp - 4]
call fcn.004081b0
pop eax
jmp eax
Function at 0x40c2b8
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.004082a4
xor eax, eax
push ebp
push 0x40c4e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40c2fe
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40c318
mov eax, dword [ebp - 4]
call fcn.00408c14
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040bad4
cmp word [ebp - 0x21e], 0
je 0x40c4c3
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c4f0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c3e7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c4f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c3e7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c52c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c3e7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c52c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c3e7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c560
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c3e7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c594
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40c4c3
xor eax, eax
push ebp
push 0x40c4bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040c0b8
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 0x40c44a
mov eax, dword [ebp - 0x14]
call fcn.0040545c
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.00408c74
jmp 0x40c495
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40c5d4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c495
mov eax, dword [ebp - 0x14]
call fcn.0040545c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40c5d4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00408c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c4c3
cmp dword [ebp - 0xc], 0
je 0x40c4b0
mov eax, dword [ebp - 0xc]
call fcn.00405478
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 0x40c4e7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408210
pop eax
jmp eax
Function at 0x40c7f0
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.004082a4
xor eax, eax
push ebp
push 0x40c8b2
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.00408cb0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408e64
mov eax, dword [ebx]
call fcn.0040c69c
test al, al
jne 0x40c88d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408cb0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408e64
mov eax, dword [ebx]
call fcn.0040c69c
test al, al
jne 0x40c88d
mov eax, ebx
call fcn.004081b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8b9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408210
lea eax, [ebp - 4]
call fcn.004081b0
pop eax
jmp eax

Function at 0x41fd70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41fdc9
test eax, edx
je 0x41fdcc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41fd87
movzx eax, word [eax]
sub eax, ecx
jmp 0x41fdae
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 0x41fdaf
add ecx, 4
js 0x41fd9f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41fdac
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41fdae
xor eax, eax
ret
test eax, eax
je 0x41fdd8
test edx, edx
jne 0x41fd78
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420f98
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.00408c14
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421002
test ah, 4
je 0x420ffb
test bl, bl
jne 0x420fc0
mov al, 1
jmp 0x421029
test al, 0x10
je 0x420fc8
xor eax, eax
jmp 0x421029
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x420fec
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x421029
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x421029
test al, 0x10
sete al
jmp 0x421029
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x421023
cmp ebx, 3
je 0x421023
cmp ebx, 0x7b
je 0x421023
mov eax, esi
call fcn.00420f58
test al, al
jne 0x421027
xor eax, eax
jmp 0x421029
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x421030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00408c14
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4210ce
test esi, 0x400
jne 0x421065
test esi, 0x10
setne bl
jmp 0x4210ce
cmp byte [esp], 0
je 0x421099
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4210ce
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x4210ce
test esi, 0x10
je 0x4210a5
mov bl, 1
jmp 0x4210ce
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4210cc
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x4210ce
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4260c4
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 0x4260fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408348
jmp 0x426106
mov eax, ebx
mov edx, esi
call fcn.004085a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426110
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 0x426134
movzx eax, word [esp]
jmp 0x426136
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x427608
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 0x42772f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427410
mov esi, eax
mov eax, dword [0x5a545c]
cmp byte [eax], 0
je 0x4276d5
mov eax, dword [0x5a5158]
call fcn.00405da4
call fcn.004055d4
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 [0x4275d8]
call fcn.0040b078
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 0x427748
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x427711
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5a50dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a963c]
call fcn.0040b778
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 0x427736
lea eax, [ebp - 4]
mov edx, dword [0x4275d8]
call fcn.0040b19c
pop eax
jmp eax
Function at 0x42885c
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42889f
mov eax, dword [ebp - 0x10c]
mov dword [0x5a98f4], eax
mov eax, 0x5a98f8
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00408cb0
mov eax, 0x5a98fc
call fcn.004081b0
xor eax, eax
mov dword [0x5a9900], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5a97b8], 0xa
jl 0x4289f5
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x428a00
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4289f5
xor eax, eax
push ebp
push 0x4289ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x428a5c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42894e
cmp dword [ebp - 8], 2
jle 0x42894e
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x428921
adc edx, 0
mov eax, 0x5a98fc
call fcn.00408d88
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5a98fc]
call fcn.00408c14
push eax
push 0
push 0
push 0x428a5c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x4289a8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x428a7c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4289a8
cmp dword [ebp - 8], 2
jle 0x4289a8
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42897d
adc edx, 0
mov eax, 0x5a98fc
call fcn.00408d88
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5a98fc]
call fcn.00408c14
push eax
push 0
push 0
push 0x428a7c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x5a9900
push 0
push 0
push 0x428a90
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x4289d5
xor eax, eax
mov dword [0x5a9900], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4289f5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x5a2350], 1
mov esp, ebp
pop ebp
ret
Function at 0x428b38
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428c12
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004085e8
lea eax, [ebp - 4]
call fcn.00408704
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408c14
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x428bfa
mov eax, ebx
call fcn.0040545c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428bf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408c14
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x428bdb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x428c24
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x428bdb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428bfa
mov eax, dword [ebp - 0x10]
call fcn.00405478
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428c19
lea eax, [ebp - 4]
call fcn.004081b0
pop eax
jmp eax

Function at 0x4294fc
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.00408690
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e1b0
mov edi, eax
cmp edi, 0x104
jbe 0x4294a7
mov eax, edi
add eax, eax
call fcn.0040545c
mov esi, eax
jmp 0x4294a9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e1b0
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4294e2
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 0x4294cc
mov eax, esp
cmp esi, eax
je 0x4294ef
mov eax, esi
call fcn.00405478
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 0x429528
cmp bl, 0
je 0x429524
cmp bl, 0x41
jl 0x42951f
cmp bl, 0x5a
jg 0x42951f
or bl, 0x20
xor al, bl
inc esi
jmp 0x429503
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429468
Function at 0x42a4e4
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 0x42a502
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42a51a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42a515
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42a51f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42a58d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42a5d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42a54b
inc dword [ebp - 0xc]
jmp 0x42a563
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42a563
cmp dword [ebp - 0xc], 0
jle 0x42a563
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42a585
xor eax, eax
jmp 0x42a581
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42a580
mov eax, esi
jmp 0x42a5d9
inc eax
cmp eax, ecx
jle 0x42a56d
inc esi
cmp esi, dword [ebp - 8]
jl 0x42a537
jmp 0x42a5d6
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42a5d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42a5ae
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42a5d0
xor eax, eax
jmp 0x42a5cc
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42a5cb
mov eax, esi
jmp 0x42a5d9
inc eax
cmp eax, ecx
jle 0x42a5b8
inc esi
cmp esi, dword [ebp - 8]
jl 0x42a596
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a768
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 0x42a785
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42a793
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42a8b5
test ebx, ebx
jl 0x42a8b5
test esi, esi
jle 0x42a8b5
mov eax, dword [ebp - 8]
call fcn.00408c14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408c14
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 0x42a852
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42a8b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42a837
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42a806
inc dword [ebp - 0x14]
jmp 0x42a816
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42a816
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42a821
or eax, 0xffffffff
jmp 0x42a837
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42a834
inc eax
jmp 0x42a837
or eax, 0xffffffff
test eax, eax
jl 0x42a83f
cmp esi, eax
jg 0x42a7f4
cmp esi, eax
jg 0x42a84a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42a8b8
inc edx
dec dword [ebp - 0x1c]
jne 0x42a7f0
jmp 0x42a8b5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42a8b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42a89c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42a87b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42a886
or eax, 0xffffffff
jmp 0x42a89c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42a899
inc eax
jmp 0x42a89c
or eax, 0xffffffff
test eax, eax
jl 0x42a8a4
cmp esi, eax
jg 0x42a864
cmp esi, eax
jg 0x42a8af
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42a8b8
inc edx
dec dword [ebp - 0x1c]
jne 0x42a860
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438f5c
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 0x438f64
mov eax, edx
pop esi
pop ebx
ret
Function at 0x44afe4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x44aff8
add esp, 0xfffffff0
call fcn.004069ec
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x444f0c]
call fcn.00466ce4
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x449fb4]
call fcn.00468400
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x449fb4]
call fcn.00468400
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 0x44b04d
call fcn.00406a44
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a8364
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4a83a7
cmp byte [ebx + 0x11], 0
jne 0x4a83a7
cmp byte [ebx + 0x24], 0
jne 0x4a83a7
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 0x4a83be
mov ecx, dword [0x5a53e0]
mov dl, 1
mov eax, dword [0x478e38]
call fcn.00427818
call fcn.00407898
pop ebx
ret
mov ecx, dword [0x5a53e0]
mov dl, 1
mov eax, dword [0x478e38]
call fcn.00427818
call fcn.00407898
pop ebx
ret

Function at 0x4a8980
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 0x4a89ce
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.004a82dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a89e7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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