joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ca08
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 0x40cb0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x711b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x711ba4]
jne 0x40ca54
mov eax, esi
mov edx, 0x711ba6
mov ecx, 0x55
call fcn.0040aabc
push 0x711b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40caf6
push 0x711b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409ea8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cac3
cmp byte [0x711b88], 0
je 0x40ca88
mov edx, esi
mov eax, ebx
call fcn.0040c8ec
jmp 0x40cac3
mov edx, esi
mov eax, ebx
call fcn.0040c6f0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40cac3
cmp dword [esi], 0
je 0x40caac
mov eax, esi
mov edx, 0x40cb24
call fcn.0040ac14
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c6f0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ac14
push 0x711b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x711ba4], bx
mov eax, dword [esi]
call fcn.0040aa00
mov ecx, eax
mov eax, 0x711ba6
mov edx, 0xaa
call fcn.0040c570
push 0x711b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb13
lea eax, [ebp - 4]
call fcn.00409ea8
ret
Function at 0x40cd3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f8c
xor eax, eax
push ebp
push 0x40cf61
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40cd7c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40cd96
mov eax, dword [ebp - 4]
call fcn.0040aa00
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c570
cmp word [ebp - 0x21a], 0
je 0x40cf4b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cf70
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ce65
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cf70
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ce65
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cfac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ce65
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cfac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ce65
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cfe0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ce65
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d014
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40cf4b
xor eax, eax
push ebp
push 0x40cf44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cb4c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ced4
mov eax, dword [ebp - 0x10]
call fcn.00406854
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040aa68
jmp 0x40cf1f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40d054
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40cf1f
mov eax, dword [ebp - 0x10]
call fcn.00406854
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40d054
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040aa68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf4b
cmp dword [ebp - 8], 0
je 0x40cf3a
mov eax, dword [ebp - 8]
call fcn.00406870
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf68
lea eax, [ebp - 4]
call fcn.00409ea8
ret
Function at 0x40d250
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.00409f8c
xor eax, eax
push ebp
push 0x40d310
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.0040aabc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ac6c
mov eax, dword [ebx]
call fcn.0040d118
test al, al
jne 0x40d2ed
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040aabc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ac6c
mov eax, dword [ebx]
call fcn.0040d118
test al, al
jne 0x40d2ed
mov eax, ebx
call fcn.00409ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d317
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409f08
lea eax, [ebp - 4]
call fcn.00409ea8
ret

Function at 0x40dc90
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 0x413660
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4136a4
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x3f0
jne 0x4136a4
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x413763
mov eax, 0x400
call fcn.00406854
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x41375c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
push 0x400
mov eax, dword [ebp - 0xc]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x413746
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x6f6cb8
call sub.advapi32.dll_AllocateAndInitializeSid
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x41373d
inc ebx
xor esi, esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*8 + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x413739
mov byte [ebp - 1], 1
jmp 0x41373d
inc esi
dec ebx
jne 0x41371e
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_FreeSid
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413763
mov eax, dword [ebp - 0xc]
call fcn.00406870
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x422b69
test eax, edx
je 0x422b6c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422b27
movzx eax, word [eax]
sub eax, ecx
jmp 0x422b4e
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 [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x422b4f
add ecx, 4
js 0x422b3f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422b4c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x422b4e
xor eax, eax
ret
test eax, eax
je 0x422b78
test edx, edx
jne 0x422b18
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x423f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x423f8d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x424060
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.0040aa00
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4240ca
test ah, 4
je 0x4240c3
test bl, bl
jne 0x424088
mov al, 1
jmp 0x4240f1
test al, 0x10
je 0x424090
xor eax, eax
jmp 0x4240f1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x4240b4
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4240f1
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4240f1
test al, 0x10
sete al
jmp 0x4240f1
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x4240eb
cmp ebx, 3
je 0x4240eb
cmp ebx, 0x7b
je 0x4240eb
mov eax, esi
call fcn.00424020
test al, al
jne 0x4240ef
xor eax, eax
jmp 0x4240f1
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4240f8
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.0040aa00
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42419f
test esi, 0x400
jne 0x424134
test esi, 0x10
setne bl
jmp 0x4241cf
cmp byte [esp], 0
je 0x424168
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x4241cf
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x4241cf
test esi, 0x10
je 0x424174
mov bl, 1
jmp 0x4241cf
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x42419b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x4241cf
mov bl, 1
jmp 0x4241cf
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x4241c9
cmp eax, 3
je 0x4241c9
cmp eax, 0xa1
je 0x4241c9
cmp eax, 0x7b
je 0x4241c9
cmp eax, 0x35
je 0x4241c9
cmp eax, 0x15
je 0x4241c9
cmp eax, 0x43
jne 0x4241cd
xor ebx, ebx
jmp 0x4241cf
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4242dc
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040aa00
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x424331
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42432b
test ah, 4
je 0x42432b
test al, 0x10
je 0x42432b
mov eax, esi
call fcn.0040aa00
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x424331
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x428798
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_1
test eax, eax
jle 0x4287d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a030
jmp 0x4287da
mov eax, ebx
mov edx, esi
call fcn.0040a288
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4287e4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x428806
movzx eax, word [esp]
jmp 0x428808
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x429958
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 0x429a7d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429760
mov esi, eax
mov eax, dword [0x70e560]
cmp byte [eax], 0
je 0x429a25
mov eax, dword [0x70e10c]
call fcn.00407574
call fcn.004069c8
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x429928]
call fcn.0040bfe4
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x429a98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x429a61
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x70e058]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x711c54]
call fcn.0040c210
push eax
call sub.user32.dll_LoadStringW_1
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 0x429a84
lea eax, [ebp - 4]
mov edx, dword [0x429928]
call fcn.0040c108
ret

Function at 0x42ad40
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 0x42ae16
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a2d0
lea eax, [ebp - 4]
call fcn.0040a444
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42ae00
mov eax, ebx
call fcn.00406854
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42adf9
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.0040aa00
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42ade3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42ae28
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42ade3
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 0x42ae00
mov eax, dword [ebp - 0x10]
call fcn.00406870
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae1d
lea eax, [ebp - 4]
call fcn.00409ea8
ret
Function at 0x42b8e8
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.0040a384
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040dc70
mov edi, eax
cmp edi, 0x104
jbe 0x42b893
mov eax, edi
add eax, eax
call fcn.00406854
mov esi, eax
jmp 0x42b895
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040dc70
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b8ce
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 0x42b8b8
mov eax, esp
cmp esi, eax
je 0x42b8db
mov eax, esi
call fcn.00406870
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 0x42b914
cmp bl, 0
je 0x42b910
cmp bl, 0x41
jl 0x42b90b
cmp bl, 0x5a
jg 0x42b90b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b8ef
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b854

Function at 0x42c1d4
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_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040aabc
add esp, 0x800
pop ebx
ret

Function at 0x4320cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f8c
xor eax, eax
push ebp
push 0x43211b
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
push 0x432128
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432122
lea eax, [ebp - 4]
call fcn.00409ea8
ret

Function at 0x43ffbc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x44000e
test eax, edx
je 0x440011
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x43ffd1
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x43fff7
add ecx, 4
js 0x43ffe7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x43fff4
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x44001d
test edx, edx
jne 0x43ffc4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x48d6d8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

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 0x48d6e0
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c88d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c896e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c8932
cmp byte [ebx + 0x11], 0
jne 0x4c8932
cmp byte [ebx + 0x3c], 0
jne 0x4c8932
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 0x4c8953
lea edx, [ebp - 4]
mov eax, dword [0x70e4bc]
call fcn.0040dbdc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49c064]
call fcn.00429aa8
call fcn.00409528
jmp 0x4c8953
lea edx, [ebp - 8]
mov eax, dword [0x70e4bc]
call fcn.0040dbdc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x49c064]
call fcn.00429aa8
call fcn.00409528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8975
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409f08
ret

Function at 0x4c930c
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 0x4c935a
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.004c8750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c9373
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Function at 0x4cbb6c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x71444c
cmp dword [edi], 0
jne 0x4cbbe8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x714448]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6f9894
mov ecx, 2
call fcn.00406a18
mov edx, 0x4cbb44
lea eax, [esi + 5]
call fcn.004cbb64
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cbb64
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4cbbbd
mov dword [0x714448], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5001cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x500326
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x5002fb
mov eax, dword [ebx + 4]
mov dl, 1
call fcn.00424060
test al, al
je 0x5002fb
push 0x20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x497d38]
call fcn.004badec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5002f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.004b87fc
sub esi, eax
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404530]
call fcn.0040bfe4
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042f1cc
mov esi, eax
mov dl, 1
mov eax, dword [0x494ea8]
call fcn.004b8758
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5002d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 4]
test edi, edi
je 0x500298
sub edi, 4
mov edi, dword [edi]
sub edi, esi
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0043051c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005005c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5002de
mov eax, dword [ebp - 8]
call fcn.004081b0
ret
mov eax, ebx
call fcn.004fffd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50032d
lea eax, [ebp - 0x10]
call fcn.00409ea8
lea eax, [ebp - 4]
mov edx, dword [0x404530]
call fcn.0040c108
ret