joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c004
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 0x40c169
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408694
cmp si, word [0x662a10]
jb 0x40c09c
cmp si, word [0x662c10]
ja 0x40c09c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c09c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x662a10]
jae 0x40c076
mov edi, ebx
dec edi
jmp 0x40c097
cmp si, word [ebx*8 + 0x662a10]
jbe 0x40c086
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c097
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x662a14]
call fcn.0040bf24
jmp 0x40c09c
cmp edi, dword [ebp - 8]
jae 0x40c060
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c14b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c14b
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.00409684
push dword [ebp - 0x160]
push 0x40c184
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409684
push dword [ebp - 0x164]
push 0x40c194
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409684
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004098bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c170
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004086f4
ret
Function at 0x40c31c
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 0x40c420
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x672c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x672c2c]
jne 0x40c368
mov eax, esi
mov edx, 0x672c2e
mov ecx, 0x55
call fcn.00409684
push 0x672c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c40a
push 0x672c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00408694
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c3d7
cmp byte [0x672c10], 0
je 0x40c39c
mov edx, esi
mov eax, ebx
call fcn.0040c200
jmp 0x40c3d7
mov edx, esi
mov eax, ebx
call fcn.0040c004
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c3d7
cmp dword [esi], 0
je 0x40c3c0
mov eax, esi
mov edx, 0x40c438
call fcn.004097dc
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c004
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004097dc
push 0x672c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x672c2c], bx
mov eax, dword [esi]
call fcn.004095e4
mov ecx, eax
mov eax, 0x672c2e
mov edx, 0xaa
call fcn.0040be84
push 0x672c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c427
lea eax, [ebp - 4]
call fcn.00408694
ret
Function at 0x40c650
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.00408778
xor eax, eax
push ebp
push 0x40c875
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40c690
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40c6aa
mov eax, dword [ebp - 4]
call fcn.004095e4
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040be84
cmp word [ebp - 0x21a], 0
je 0x40c85f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c884
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c779
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c884
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c779
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c8c0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c779
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c8c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c779
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c8f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c779
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c928
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40c85f
xor eax, eax
push ebp
push 0x40c858
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c460
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 0x40c7e8
mov eax, dword [ebp - 0x10]
call fcn.004054c4
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.00409648
jmp 0x40c833
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40c968
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c833
mov eax, dword [ebp - 0x10]
call fcn.004054c4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40c968
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c85f
cmp dword [ebp - 8], 0
je 0x40c84e
mov eax, dword [ebp - 8]
call fcn.004054e0
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 0x40c87c
lea eax, [ebp - 4]
call fcn.00408694
ret
Function at 0x40cb7c
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.00408778
xor eax, eax
push ebp
push 0x40cc3c
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.00409684
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409834
mov eax, dword [ebx]
call fcn.0040ca2c
test al, al
jne 0x40cc19
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409684
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409834
mov eax, dword [ebx]
call fcn.0040ca2c
test al, al
jne 0x40cc19
mov eax, ebx
call fcn.00408694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc43
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004086f4
lea eax, [ebp - 4]
call fcn.00408694
ret

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

Disassembly:
cmp eax, edx
je 0x41fdf9
test eax, edx
je 0x41fdfc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41fdb7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41fdde
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 0x41fddf
add ecx, 4
js 0x41fdcf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41fddc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41fdde
xor eax, eax
ret
test eax, eax
je 0x41fe08
test edx, edx
jne 0x41fda8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x421160
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 0x42118d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x421260
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.004095e4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4212ca
test ah, 4
je 0x4212c3
test bl, bl
jne 0x421288
mov al, 1
jmp 0x4212f1
test al, 0x10
je 0x421290
xor eax, eax
jmp 0x4212f1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4212b4
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x4212f1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4212f1
test al, 0x10
sete al
jmp 0x4212f1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4212eb
cmp ebx, 3
je 0x4212eb
cmp ebx, 0x7b
je 0x4212eb
mov eax, esi
call fcn.00421220
test al, al
jne 0x4212ef
xor eax, eax
jmp 0x4212f1
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4212f8
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.004095e4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42139f
test esi, 0x400
jne 0x421334
test esi, 0x10
setne bl
jmp 0x4213cf
cmp byte [esp], 0
je 0x421368
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4213cf
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x4213cf
test esi, 0x10
je 0x421374
mov bl, 1
jmp 0x4213cf
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42139b
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x4213cf
mov bl, 1
jmp 0x4213cf
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4213c9
cmp eax, 3
je 0x4213c9
cmp eax, 0xa1
je 0x4213c9
cmp eax, 0x7b
je 0x4213c9
cmp eax, 0x35
je 0x4213c9
cmp eax, 0x15
je 0x4213c9
cmp eax, 0x43
jne 0x4213cd
xor ebx, ebx
jmp 0x4213cf
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4215fc
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.004095e4
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x421651
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42164b
test ah, 4
je 0x42164b
test al, 0x10
je 0x42164b
mov eax, esi
call fcn.004095e4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x421651
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x425884
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 0x4258bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040881c
jmp 0x4258c6
mov eax, ebx
mov edx, esi
call fcn.00408a74
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4258d0
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
test eax, eax
jle 0x4258f2
movzx eax, word [esp]
jmp 0x4258f4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4268f4
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 0x426a19
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004266fc
mov esi, eax
mov eax, dword [0x66f72c]
cmp byte [eax], 0
je 0x4269c1
mov eax, dword [0x66f23c]
call fcn.00405e18
call fcn.00405638
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 [0x4268c4]
call fcn.0040b708
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 0x426a34
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4269fd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x66f198]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x673634]
call fcn.0040bb28
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 0x426a20
lea eax, [ebp - 4]
mov edx, dword [0x4268c4]
call fcn.0040b82c
ret
Function at 0x4277bc
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 0x427892
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408abc
lea eax, [ebp - 4]
call fcn.00408c5c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004095e4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42787c
mov eax, ebx
call fcn.004054c4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427875
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.004095e4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42785f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4278a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42785f
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 0x42787c
mov eax, dword [ebp - 0x10]
call fcn.004054e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427899
lea eax, [ebp - 4]
call fcn.00408694
ret

Function at 0x4278a8
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 0x4279a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408abc
lea eax, [ebp - 4]
call fcn.00408c5c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004095e4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x427992
mov eax, ebx
call fcn.004054c4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42798b
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.004095e4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x427975
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4279bc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x427975
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 0x427992
mov eax, dword [ebp - 0x10]
call fcn.004054e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4279af
lea eax, [ebp - 4]
call fcn.00408694
ret
Function at 0x428a64
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.00408b9c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e694
mov edi, eax
cmp edi, 0x104
jbe 0x428a0f
mov eax, edi
add eax, eax
call fcn.004054c4
mov esi, eax
jmp 0x428a11
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e694
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x428a4a
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 0x428a34
mov eax, esp
cmp esi, eax
je 0x428a57
mov eax, esi
call fcn.004054e0
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 0x428a90
cmp bl, 0
je 0x428a8c
cmp bl, 0x41
jl 0x428a87
cmp bl, 0x5a
jg 0x428a87
or bl, 0x20
xor al, bl
inc esi
jmp 0x428a6b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4289d0

Function at 0x429408
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00408694
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.004095e4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42944d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040881c
jmp 0x429466
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040975c
push ebx
mov eax, dword [esi]
call fcn.004095e4
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x429a88
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 0x429aa8
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x429ac2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x429abd
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x429ac7
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x429b35
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x429b7e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x429af3
inc dword [ebp - 0xc]
jmp 0x429b0b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x429b0b
cmp dword [ebp - 0xc], 0
jle 0x429b0b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x429b2d
xor eax, eax
jmp 0x429b29
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x429b28
mov eax, esi
jmp 0x429b81
inc eax
cmp eax, ecx
jle 0x429b15
inc esi
cmp esi, dword [ebp - 8]
jl 0x429adf
jmp 0x429b7e
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x429b7e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x429b56
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x429b78
xor eax, eax
jmp 0x429b74
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x429b73
mov eax, esi
jmp 0x429b81
inc eax
cmp eax, ecx
jle 0x429b60
inc esi
cmp esi, dword [ebp - 8]
jl 0x429b3e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429dbc
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 0x429ddb
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x429deb
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 0x429f0d
test ebx, ebx
jl 0x429f0d
test esi, esi
jle 0x429f0d
mov eax, dword [ebp - 8]
call fcn.004095e4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004095e4
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 0x429eaa
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x429f0d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x429e8f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x429e5e
inc dword [ebp - 0x14]
jmp 0x429e6e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x429e6e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x429e79
or eax, 0xffffffff
jmp 0x429e8f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x429e8c
inc eax
jmp 0x429e8f
or eax, 0xffffffff
test eax, eax
jl 0x429e97
cmp esi, eax
jg 0x429e4c
cmp esi, eax
jg 0x429ea2
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x429f10
inc edx
dec dword [ebp - 0x1c]
jne 0x429e48
jmp 0x429f0d
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x429f0d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x429ef4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x429ed3
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x429ede
or eax, 0xffffffff
jmp 0x429ef4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x429ef1
inc eax
jmp 0x429ef4
or eax, 0xffffffff
test eax, eax
jl 0x429efc
cmp esi, eax
jg 0x429ebc
cmp esi, eax
jg 0x429f07
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x429f10
inc edx
dec dword [ebp - 0x1c]
jne 0x429eb8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x471094
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4710d7
cmp byte [ebx + 0x11], 0
jne 0x4710d7
cmp byte [ebx + 0x24], 0
jne 0x4710d7
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 0x4710ee
mov ecx, dword [0x66f658]
mov dl, 1
mov eax, dword [0x442810]
call fcn.00426b00
call fcn.00407d14
pop ebx
ret
mov ecx, dword [0x66f658]
mov dl, 1
mov eax, dword [0x442810]
call fcn.00426b00
call fcn.00407d14
pop ebx
ret