joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426d58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00430d18
test al, al
je 0x426e22
xor edx, edx
mov eax, ebx
call fcn.00428a3c
test al, al
je 0x426e22
mov eax, ebx
call fcn.0042860c
test al, 0x20
je 0x426e22
mov eax, ebx
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426e22
test ah, 4
je 0x426e22
test al, 0x10
je 0x426dbf
mov edi, 0x2000000
jmp 0x426dc1
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040bffc
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x426e22
xor eax, eax
push ebp
push 0x426e1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00426aa0
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426e22
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x427118
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x427171
test eax, edx
je 0x427174
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42712f
movzx eax, word [eax]
sub eax, ecx
jmp 0x427156
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 0x427157
add ecx, 4
js 0x427147
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x427154
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x427156
xor eax, eax
ret
test eax, eax
je 0x427180
test edx, edx
jne 0x427120
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4284b8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x428599
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x42857c
test edi, edi
je 0x42857c
xor edx, edx
mov eax, 6
call fcn.00430d18
test al, al
je 0x42857c
lea edx, [ebp - 4]
mov eax, edi
call fcn.00429214
mov eax, dword [ebp - 4]
call fcn.0042860c
test al, 0x20
je 0x42857c
mov eax, esi
call fcn.004294d8
test al, al
je 0x428542
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00431248
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c208
mov eax, dword [ebp - 8]
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x428551
mov eax, esi
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428562
test bl, 0x10
je 0x428562
mov ebx, 1
jmp 0x428564
xor ebx, ebx
push ebx
mov eax, esi
call fcn.0040bffc
push eax
mov eax, edi
call fcn.0040bffc
push eax
call sub.kernel32.dll_CreateSymbolicLinkW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4285a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax

Function at 0x42860c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x428760
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4285ac]
call fcn.0040e3c4
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4285dc]
call fcn.0040e3c4
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00428ad4
test al, al
jne 0x428682
mov dl, 1
mov eax, esi
call fcn.00428a3c
test al, al
je 0x42870c
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00429354
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00431248
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040bffc
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x428707
test byte [ebp - 0x14], 1
je 0x4286d2
or bl, 1
test byte [ebp - 0x14], 2
je 0x4286db
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x4286e4
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x4286f8
dec eax
je 0x4286fd
dec eax
je 0x428702
dec eax
jne 0x428724
or bl, 0x10
jmp 0x428724
or bl, 4
jmp 0x428724
or bl, 8
jmp 0x428724
call fcn.004320a4
push esi
mov ecx, dword [0x680610]
mov dl, 1
mov eax, dword [0x420af0]
call fcn.0042ff1c
call fcn.0040ab20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428767
lea eax, [ebp - 0x1c]
call fcn.0040b464
lea eax, [ebp - 0xc]
mov edx, dword [0x4285dc]
call fcn.0040e4e8
lea eax, [ebp - 8]
mov edx, dword [0x4285ac]
call fcn.0040e4e8
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax
Function at 0x428a3c
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.0040bffc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428aa6
test ah, 4
je 0x428a9f
test bl, bl
jne 0x428a64
mov al, 1
jmp 0x428acd
test al, 0x10
je 0x428a6c
xor eax, eax
jmp 0x428acd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428a90
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x428acd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x428acd
test al, 0x10
sete al
jmp 0x428acd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x428ac7
cmp ebx, 3
je 0x428ac7
cmp ebx, 0x7b
je 0x428ac7
mov eax, esi
call fcn.004289fc
test al, al
jne 0x428acb
xor eax, eax
jmp 0x428acd
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x428ad4
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.0040bffc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x428b72
test esi, 0x400
jne 0x428b09
test esi, 0x10
setne bl
jmp 0x428b72
cmp byte [esp], 0
je 0x428b3d
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428b72
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x428b72
test esi, 0x10
je 0x428b49
mov bl, 1
jmp 0x428b72
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428b70
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x428b72
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x428d34
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x428ddb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x428dbe
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00426d58
test al, al
je 0x428dbe
mov eax, dword [ebp - 4]
call fcn.004294d8
test al, al
je 0x428dae
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00429214
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00431248
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040c260
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428de2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b4c4
pop eax
jmp eax
Function at 0x428dec
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428ec1
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b89c
cmp byte [ebp - 9], 0
je 0x428e7d
mov eax, ebx
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x428e7d
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00426d58
test al, al
je 0x428e7d
mov eax, dword [ebp - 8]
call fcn.004294d8
test al, al
je 0x428e72
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00429214
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00431248
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040c260
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b89c
push edi
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x428e97
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428ec8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b4c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax

Function at 0x429000
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.0040bffc
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x429055
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42904f
test ah, 4
je 0x42904f
test al, 0x10
je 0x42904f
mov eax, esi
call fcn.0040bffc
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x429055
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42debc
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 0x42def5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040b5fc
jmp 0x42defe
mov eax, ebx
mov edx, esi
call fcn.0040b854
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42df08
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 0x42df2c
movzx eax, word [esp]
jmp 0x42df2e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42f648
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 0x42f76f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042f450
mov esi, eax
mov eax, dword [0x6804f8]
cmp byte [eax], 0
je 0x42f715
mov eax, dword [0x680130]
call fcn.00408018
call fcn.00407168
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 [0x42f618]
call fcn.0040e3c4
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 0x42f788
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42f751
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x680088]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x684634]
call fcn.0040e990
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 0x42f776
lea eax, [ebp - 4]
mov edx, dword [0x42f618]
call fcn.0040e4e8
pop eax
jmp eax
Function at 0x430a68
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 0x430aab
mov eax, dword [ebp - 0x10c]
mov dword [0x684950], eax
mov eax, 0x684954
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040c0b0
mov eax, 0x684958
call fcn.0040b464
xor eax, eax
mov dword [0x68495c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x684814], 0xa
jl 0x430c01
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x430c0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x430c01
xor eax, eax
push ebp
push 0x430bfa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430c68
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430b5a
cmp dword [ebp - 8], 2
jle 0x430b5a
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430b2d
adc edx, 0
mov eax, 0x684958
call fcn.0040c188
lea eax, [ebp - 8]
push eax
mov eax, dword [0x684958]
call fcn.0040bffc
push eax
push 0
push 0
push 0x430c68
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x430bb4
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430c88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430bb4
cmp dword [ebp - 8], 2
jle 0x430bb4
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430b89
adc edx, 0
mov eax, 0x684958
call fcn.0040c188
lea eax, [ebp - 8]
push eax
mov eax, dword [0x684958]
call fcn.0040bffc
push eax
push 0
push 0
push 0x430c88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x68495c
push 0
push 0
push 0x430c9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x430be1
xor eax, eax
mov dword [0x68495c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430c01
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x678730], 1
mov esp, ebp
pop ebp
ret
Function at 0x430d44
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 0x430e1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b89c
lea eax, [ebp - 4]
call fcn.0040ba40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x430e06
mov eax, ebx
call fcn.00406ff4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x430dff
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.0040bffc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x430de7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x430e30
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x430de7
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 0x430e06
mov eax, dword [ebp - 0x10]
call fcn.00407010
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e25
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax

Function at 0x431eec
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.0040b980
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041161c
mov edi, eax
cmp edi, 0x104
jbe 0x431e97
mov eax, edi
add eax, eax
call fcn.00406ff4
mov esi, eax
jmp 0x431e99
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041161c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x431ed2
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 0x431ebc
mov eax, esp
cmp esi, eax
je 0x431edf
mov eax, esi
call fcn.00407010
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 0x431f18
cmp bl, 0
je 0x431f14
cmp bl, 0x41
jl 0x431f0f
cmp bl, 0x5a
jg 0x431f0f
or bl, 0x20
xor al, bl
inc esi
jmp 0x431ef3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x431e58

Function at 0x432830
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040c0b0
add esp, 0x800
pop ebx
ret
Function at 0x4352f0
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 0x435310
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x43532a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x435325
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x43532f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x43539d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x4353e6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43535b
inc dword [ebp - 0xc]
jmp 0x435373
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x435373
cmp dword [ebp - 0xc], 0
jle 0x435373
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x435395
xor eax, eax
jmp 0x435391
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x435390
mov eax, esi
jmp 0x4353e9
inc eax
cmp eax, ecx
jle 0x43537d
inc esi
cmp esi, dword [ebp - 8]
jl 0x435347
jmp 0x4353e6
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x4353e6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4353be
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4353e0
xor eax, eax
jmp 0x4353dc
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4353db
mov eax, esi
jmp 0x4353e9
inc eax
cmp eax, ecx
jle 0x4353c8
inc esi
cmp esi, dword [ebp - 8]
jl 0x4353a6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435620
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 0x43563f
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43564f
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 0x435771
test ebx, ebx
jl 0x435771
test esi, esi
jle 0x435771
mov eax, dword [ebp - 8]
call fcn.0040bffc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040bffc
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 0x43570e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x435771
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x4356f3
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x4356c2
inc dword [ebp - 0x14]
jmp 0x4356d2
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x4356d2
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x4356dd
or eax, 0xffffffff
jmp 0x4356f3
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x4356f0
inc eax
jmp 0x4356f3
or eax, 0xffffffff
test eax, eax
jl 0x4356fb
cmp esi, eax
jg 0x4356b0
cmp esi, eax
jg 0x435706
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x435774
inc edx
dec dword [ebp - 0x1c]
jne 0x4356ac
jmp 0x435771
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x435771
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x435758
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x435737
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x435742
or eax, 0xffffffff
jmp 0x435758
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x435755
inc eax
jmp 0x435758
or eax, 0xffffffff
test eax, eax
jl 0x435760
cmp esi, eax
jg 0x435720
cmp esi, eax
jg 0x43576b
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x435774
inc edx
dec dword [ebp - 0x1c]
jne 0x43571c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4545f8
add esp, 0xfffffff0
call fcn.00409c68
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44e680]
call fcn.004720d8
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x453620]
call fcn.00474ea8
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x453620]
call fcn.00474ea8
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 0x45464d
call fcn.00409cc0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4424
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c4467
cmp byte [ebx + 0x11], 0
jne 0x4c4467
cmp byte [ebx + 0x24], 0
jne 0x4c4467
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 0x4c447e
mov ecx, dword [0x680470]
mov dl, 1
mov eax, dword [0x48f764]
call fcn.0042f8d4
call fcn.0040ab20
pop ebx
ret
mov ecx, dword [0x680470]
mov dl, 1
mov eax, dword [0x48f764]
call fcn.0042f8d4
call fcn.0040ab20
pop ebx
ret

Function at 0x4c4df0
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 0x4c4e3e
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.004c42d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4e57
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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