joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4094e8
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x4e4b9c
cmp dword [ebp + 0xc], 2
jl 0x4094fc
mov ebx, 0x4e4bcc
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x409534
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x405118
mov dword [0x4e201c], eax
mov eax, 0x405120
mov dword [0x4e2020], eax
mov eax, ebx
call fcn.004093cc
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x409569
cmp al, 3
jge 0x409569
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x40957a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x409585
call dword [ecx + eax*4]
cmp dword [0x4e2040], 0
jne 0x40959b
mov byte [0x4e2048], 1
fnstcw word [0x4de028]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00409834
call fcn.0040947c
ret 4

Function at 0x40979c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e205c], 0
je 0x409803
cmp word [0x4e2348], 0xd7b2
jne 0x4097c5
cmp dword [0x4e2350], 0
jbe 0x4097c5
mov eax, 0x4e2344
call dword [0x4e2360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push 0x4de9c9
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, 0x409830
call fcn.0040a2dc
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4de032], 0
jne 0x40981f
push 0
push 0x4de9c3
push 0x4de9c9
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4099c4
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 [0x4de034], 0
je 0x4099ef
mov edx, edi
mov eax, esi
call dword [0x4de034]
mov ebx, eax
jmp 0x409a00
mov eax, 8
call fcn.00406e58
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4e205d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40998c
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 0x409a30
mov eax, ebx
call fcn.00406e74
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40c4e0
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 0x40c645
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409b04
cmp si, word [0x4dea00]
jb 0x40c578
cmp si, word [0x4dec00]
ja 0x40c578
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c578
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4dea00]
jae 0x40c552
mov edi, ebx
dec edi
jmp 0x40c573
cmp si, word [ebx*8 + 0x4dea00]
jbe 0x40c562
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c573
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4dea04]
call fcn.0040c400
jmp 0x40c578
cmp edi, dword [ebp - 8]
jae 0x40c53c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c627
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c627
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.0040a67c
push dword [ebp - 0x160]
push 0x40c660
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a67c
push dword [ebp - 0x164]
push 0x40c670
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a67c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a8b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c64c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409b64
ret
Function at 0x40c7f8
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 0x40c8fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e4c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4e4c2c]
jne 0x40c844
mov eax, esi
mov edx, 0x4e4c2e
mov ecx, 0x55
call fcn.0040a67c
push 0x4e4c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c8e6
push 0x4e4c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409b04
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c8b3
cmp byte [0x4e4c10], 0
je 0x40c878
mov edx, esi
mov eax, ebx
call fcn.0040c6dc
jmp 0x40c8b3
mov edx, esi
mov eax, ebx
call fcn.0040c4e0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c8b3
cmp dword [esi], 0
je 0x40c89c
mov eax, esi
mov edx, 0x40c914
call fcn.0040a7d4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c4e0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a7d4
push 0x4e4c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4e4c2c], bx
mov eax, dword [esi]
call fcn.0040a5d8
mov ecx, eax
mov eax, 0x4e4c2e
mov edx, 0xaa
call fcn.0040c360
push 0x4e4c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c903
lea eax, [ebp - 4]
call fcn.00409b04
ret
Function at 0x40cb2c
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.00409be8
xor eax, eax
push ebp
push 0x40cd51
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40cb6c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40cb86
mov eax, dword [ebp - 4]
call fcn.0040a5d8
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c360
cmp word [ebp - 0x21a], 0
je 0x40cd3b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd60
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cc55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd60
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cc55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd9c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cc55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd9c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cc55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cdd0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cc55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ce04
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40cd3b
xor eax, eax
push ebp
push 0x40cd34
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c93c
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 0x40ccc4
mov eax, dword [ebp - 0x10]
call fcn.00406e58
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.0040a640
jmp 0x40cd0f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40ce44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40cd0f
mov eax, dword [ebp - 0x10]
call fcn.00406e58
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40ce44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd3b
cmp dword [ebp - 8], 0
je 0x40cd2a
mov eax, dword [ebp - 8]
call fcn.00406e74
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 0x40cd58
lea eax, [ebp - 4]
call fcn.00409b04
ret
Function at 0x40d040
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.00409be8
xor eax, eax
push ebp
push 0x40d100
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.0040a67c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a82c
mov eax, dword [ebx]
call fcn.0040cf08
test al, al
jne 0x40d0dd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a67c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a82c
mov eax, dword [ebx]
call fcn.0040cf08
test al, al
jne 0x40d0dd
mov eax, ebx
call fcn.00409b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d107
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409b64
lea eax, [ebp - 4]
call fcn.00409b04
ret

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

Disassembly:
cmp eax, edx
je 0x41e221
test eax, edx
je 0x41e224
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e1df
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e206
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 0x41e207
add ecx, 4
js 0x41e1f7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e204
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e206
xor eax, eax
ret
test eax, eax
je 0x41e230
test edx, edx
jne 0x41e1d0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41f480
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
test eax, eax
jne 0x41f4ad
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x41f580
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.0040a5d8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f5ea
test ah, 4
je 0x41f5e3
test bl, bl
jne 0x41f5a8
mov al, 1
jmp 0x41f611
test al, 0x10
je 0x41f5b0
xor eax, eax
jmp 0x41f611
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f5d4
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41f611
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41f611
test al, 0x10
sete al
jmp 0x41f611
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41f60b
cmp ebx, 3
je 0x41f60b
cmp ebx, 0x7b
je 0x41f60b
mov eax, esi
call fcn.0041f540
test al, al
jne 0x41f60f
xor eax, eax
jmp 0x41f611
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41f740
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.0040a5d8
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41f795
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f78f
test ah, 4
je 0x41f78f
test al, 0x10
je 0x41f78f
mov eax, esi
call fcn.0040a5d8
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41f795
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4232d4
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 0x42330d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409c8c
jmp 0x423316
mov eax, ebx
mov edx, esi
call fcn.00409ee4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423320
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 0x423342
movzx eax, word [esp]
jmp 0x423344
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x424640
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 0x424765
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424448
mov esi, eax
mov eax, dword [0x4e19c0]
cmp byte [eax], 0
je 0x42470d
mov eax, dword [0x4e17fc]
call fcn.004075d8
call fcn.00406fac
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 [0x424610]
call fcn.0040bc14
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 0x424780
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x424749
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e17c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e5628]
call fcn.0040c004
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 0x42476c
lea eax, [ebp - 4]
mov edx, dword [0x424610]
call fcn.0040bd38
ret
Function at 0x425804
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
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 0x425904
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409f2c
lea eax, [ebp - 4]
call fcn.0040a094
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a5d8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4258ee
mov eax, ebx
call fcn.00406e58
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4258e7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a5d8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4258d1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x425918
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4258d1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4258ee
mov eax, dword [ebp - 0x10]
call fcn.00406e74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42590b
lea eax, [ebp - 4]
call fcn.00409b04
ret

Function at 0x4266b4
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.00409fd4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec08
mov edi, eax
cmp edi, 0x104
jbe 0x42665f
mov eax, edi
add eax, eax
call fcn.00406e58
mov esi, eax
jmp 0x426661
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec08
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42669a
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 0x426684
mov eax, esp
cmp esi, eax
je 0x4266a7
mov eax, esi
call fcn.00406e74
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 0x4266e0
cmp bl, 0
je 0x4266dc
cmp bl, 0x41
jl 0x4266d7
cmp bl, 0x5a
jg 0x4266d7
or bl, 0x20
xor al, bl
inc esi
jmp 0x4266bb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x426620

Function at 0x426f3c
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.0040a67c
add esp, 0x800
pop ebx
ret
Function at 0x47e980
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 0x47e988
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b5e6c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b5f0a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b5ece
cmp byte [ebx + 0x11], 0
jne 0x4b5ece
cmp byte [ebx + 0x24], 0
jne 0x4b5ece
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 0x4b5eef
lea edx, [ebp - 4]
mov eax, dword [0x4e1974]
call fcn.0040eb74
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48e03c]
call fcn.00424790
call fcn.00409180
jmp 0x4b5eef
lea edx, [ebp - 8]
mov eax, dword [0x4e1974]
call fcn.0040eb74
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48e03c]
call fcn.00424790
call fcn.00409180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5f11
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409b64
ret

Function at 0x4b6724
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 0x4b6772
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.004b5cec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b678b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b6794
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.004b5cec
dec esi
jne 0x4b67b6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d7b00
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d7cdf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [0x4e7e14], eax
xor edx, edx
push ebp
push 0x4d7c7c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4d7cfc
push 0xa
mov ecx, dword [0x4e5628]
mov dl, 1
mov eax, dword [0x48ab3c]
call fcn.004a90d4
mov esi, eax
mov dl, 1
mov eax, dword [0x48a834]
call fcn.00407c7c
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.004a8e10
mov eax, esi
call fcn.00407cac
mov eax, ebx
call fcn.004d71e8
mov dword [0x4e7e14], eax
mov eax, ebx
call fcn.00407cac
lea edx, [ebp - 0x6c]
xor eax, eax
call fcn.00426844
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.0041f8c0
mov eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
call fcn.004d6fbc
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0041f880
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 4]
pop ecx
call fcn.0040a82c
mov edx, dword [ebp - 4]
mov eax, dword [0x4e7e14]
call fcn.004a8d74
mov eax, dword [0x4e7e14]
xor edx, edx
mov dword [0x4e7e14], edx
call fcn.00407cac
lea eax, [ebp - 0x78]
call fcn.004d7a80
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.0040a698
mov edx, dword [ebp - 4]
mov eax, dword [0x4e7e20]
call fcn.004d8070
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.0040763c
mov dword [ebp - 0x54], 0x44
push 0x4d7d10
push dword [ebp - 4]
push 0x4d7d20
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040a8b4
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
call fcn.0040a084
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4d7c72
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d7ca7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7ce6
lea eax, [ebp - 0x7c]
call fcn.00409b04
lea eax, [ebp - 0x78]
call fcn.00409b28
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.00409b64
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00409b64
ret