joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b0b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41b15d
test eax, edx
je 0x41b160
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41b0dd
push edx
mov edx, eax
mov eax, esp
call fcn.00406d38
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41b0f3
push eax
lea eax, [esp + 8]
call fcn.00406d38
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41b102
movzx eax, word [eax]
sub eax, ecx
jmp 0x41b129
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 0x41b143
add ecx, 4
js 0x41b11a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41b140
push eax
mov eax, ecx
mov edx, 2
call fcn.00405d90
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41b127
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41b129
xor eax, eax
ret
test eax, eax
je 0x41b170
test edx, edx
jne 0x41b0c4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41f14c
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 0x41f185
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406c58
jmp 0x41f18e
mov eax, ebx
mov edx, esi
call fcn.00406b1c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41f198
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 0x41f1ba
movzx eax, word [esp]
jmp 0x41f1bc
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41fa9c
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 0x41fbc1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041f8ac
mov esi, eax
mov eax, dword [0x455e54]
cmp byte [eax], 0
je 0x41fb69
mov eax, dword [0x455d44]
call fcn.00404484
call fcn.0040423c
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 [0x41fa74]
call fcn.004080cc
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 0x41fbdc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41fba5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x455d14]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458c40]
call fcn.00408184
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 0x41fbc8
lea eax, [ebp - 4]
mov edx, dword [0x41fa74]
call fcn.004080d8
ret

Function at 0x421ebb
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.004060a4
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x421ede
mov eax, edi
add eax, eax
call fcn.004040f4
mov esi, eax
jmp 0x421ee0
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x421f19
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 0x421f03
mov eax, esp
cmp esi, eax
je 0x421f26
mov eax, esi
call fcn.00404110
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 0x421f60
cmp bl, 0
je 0x421f5c
cmp bl, 0x41
jl 0x421f57
cmp bl, 0x5a
jg 0x421f57
or bl, 0x20
xor al, bl
inc esi
jmp 0x421f3b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x421ea0
Function at 0x436440
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4559e4
call sub.advapi32.dll_AllocateAndInitializeSid
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x436493
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x43648a
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
cmp dword [ebp - 4], 1
sbb eax, eax
inc eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4365cc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
push 0x3b
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x436605
lea eax, [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
pop ecx
pop ebp
ret

Function at 0x43660c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406b04
mov eax, dword [ebp - 8]
call fcn.00406b04
xor eax, eax
push ebp
push 0x4366f2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4366c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404558
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0x500
mov eax, 0x436704
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0040d444
mov eax, dword [ebp - 0x48]
call fcn.00406ba8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00406ba8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x4366b7
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4366cf
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4366cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4366f9
lea eax, [ebp - 0x48]
call fcn.00406b0c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b14
ret
Function at 0x436bd8
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 ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b04
xor eax, eax
push ebp
push 0x436d90
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 2
mov dl, 0x5c
mov eax, dword [ebp - 4]
call fcn.00436b44
mov ebx, eax
lea ecx, [ebx + 1]
mov dl, 0x5c
mov eax, dword [ebp - 4]
call fcn.00436b44
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x436c40
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x436c40
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405f00
mov edi, eax
test edi, edi
je 0x436c4b
sub edi, 4
mov edi, dword [edi]
push esi
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040719c
mov eax, dword [ebp - 4]
test eax, eax
je 0x436c75
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x436c75
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405f00
test eax, eax
je 0x436c7e
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
mov ecx, eax
mov eax, ebx
xchg edx, eax
call fcn.0040726c
mov bx, 0x41
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00406dd8
push 0x104
mov eax, dword [ebp - 8]
call fcn.00406ba8
push eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00406c88
lea eax, [ebp - 0xc]
mov edx, 0x436dac
call fcn.00406e70
mov eax, dword [ebp - 0xc]
call fcn.00406ba8
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x436d4c
mov eax, dword [ebp - 8]
call fcn.00406ba8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00406cc8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406d60
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040c4fc
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406d60
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040c4fc
mov edx, dword [ebp - 0x18]
pop eax
call fcn.004063c0
jne 0x436d4c
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00406c88
push dword [ebp - 0x20]
push 0x436dac
push dword [esi]
mov eax, esi
mov edx, 3
call fcn.00407014
jmp 0x436d60
inc ebx
cmp bx, 0x5b
jne 0x436c8f
mov eax, esi
xor edx, edx
call fcn.00406b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436d97
lea eax, [ebp - 0x20]
call fcn.00406b0c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405d90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b14
ret
Function at 0x4380cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b04
xor eax, eax
push ebp
push 0x4381b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00437970
cmp dword [ebp - 8], 0
je 0x438164
mov edx, dword [ebp - 0xc]
mov eax, 0x4381d0
call fcn.00407388
test eax, eax
jle 0x438126
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4381d0
call fcn.0040cb78
jmp 0x438140
push 0x4381e4
push dword [ebp - 4]
push 0x4381e4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407014
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406ba8
push eax
mov eax, dword [ebp - 8]
call fcn.00406ba8
push eax
push 0x4381e8
push 0
call sub.shell32.dll_ShellExecuteW_1
jmp 0x43819c
push 5
push 0
push 0x4381f4
push 0x4381e4
push dword [ebp - 4]
push 0x4381e4
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00407014
mov eax, dword [ebp - 0x14]
call fcn.00406ba8
push eax
push 0x4381e8
push 0
call sub.shell32.dll_ShellExecuteW_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4381be
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00406b14
ret

Function at 0x438718
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x438797
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b1c
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x1a
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x43877e
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d1c
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43879e
lea eax, [ebp - 0x210]
call fcn.00406b0c
ret

Function at 0x4387a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x438823
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b1c
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x1c
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x43880a
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d1c
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43882a
lea eax, [ebp - 0x210]
call fcn.00406b0c
ret
Function at 0x438830
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4388af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b1c
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x26
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x438896
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d1c
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4388b6
lea eax, [ebp - 0x210]
call fcn.00406b0c
ret

Function at 0x4388bc
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43893b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b1c
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x2a
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x438922
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d1c
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438942
lea eax, [ebp - 0x210]
call fcn.00406b0c
ret
Function at 0x438948
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
mov edx, dword [0x438328]
call fcn.004073d4
xor eax, eax
push ebp
push 0x438a98
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00406b70
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406b70
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00406b70
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00406b70
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.00406b70
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406b70
mov ebx, 0xff
mov eax, ebx
call fcn.0040c800
mov esi, eax
mov eax, ebx
call fcn.0040c800
mov edi, eax
push ebx
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
push 0x438aa8
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x438a46
lea ecx, [ebp - 4]
mov edx, 8
mov eax, dword [ebp - 0x2c]
call fcn.0040c14c
lea eax, [ebp - 0x30]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040719c
push dword [ebp - 0x30]
push 0x438abc
lea eax, [ebp - 0x34]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.0040719c
push dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00407014
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406b70
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov ecx, dword [0x438328]
call fcn.00407630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438a9f
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00406b14
lea eax, [ebp - 0x1c]
mov edx, dword [0x438328]
call fcn.004074ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b14
ret

Function at 0x438e38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
test byte [ebp - 0xef], 0x80
setne al
mov esp, ebp
pop ebp
ret

Function at 0x438e5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
test byte [ebp - 0xee], 0x80
setne al
mov esp, ebp
pop ebp
ret
Function at 0x438f1c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00406b04
mov eax, dword [ebp - 8]
call fcn.00406b04
mov eax, dword [ebp - 0xc]
call fcn.00406b04
xor eax, eax
push ebp
push 0x4390b2
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040e31c
fstp qword [ebp - 0x18]
wait
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push 0x4390d4
push dword [ebp - 8]
push 0x4390e4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00407014
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x44
call fcn.00404558
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], 7
xor eax, eax
push ebp
push 0x439090
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406ba8
push eax
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406ba8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x43907a
mov esi, 0x102
jmp 0x439028
call fcn.0040e31c
fsub qword [ebp - 0x18]
fmul dword [0x4390e8]
fstp qword [ebp - 0x20]
wait
push 0x64
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
mov eax, dword [0x455d84]
cmp dword [eax], 0
je 0x439028
mov eax, dword [0x455d84]
mov eax, dword [eax]
call fcn.00411c98
cmp esi, 0x102
sete al
test al, bl
je 0x439044
mov dword [ebp - 0x7c], edi
fild dword [ebp - 0x7c]
fcomp qword [ebp - 0x20]
wait
fnstsw ax
sahf
ja 0x438ff3
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x24]
test eax, 0x80000000
je 0x439066
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x439082
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439097
ret
Function at 0x445cc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406b04
xor eax, eax
push ebp
push 0x445d6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 4]
mov edx, 0x445d8c
call fcn.00407134
jne 0x445d4c
mov eax, dword [ebx + 0x60]
mov edi, dword [eax + 0x1c]
dec edi
test edi, edi
jl 0x445d48
inc edi
xor esi, esi
mov eax, dword [ebx + 0x60]
mov edx, esi
call fcn.0040b0fc
call fcn.00411580
xor al, 1
push eax
mov eax, dword [ebx + 0x60]
mov edx, esi
call fcn.0040b0fc
pop edx
call fcn.004115e0
inc esi
dec edi
jne 0x445d22
mov bl, 1
jmp 0x445d58
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0044bfc8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445d75
lea eax, [ebp - 4]
call fcn.00406b0c
ret
Function at 0x401e3f
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [fcn.004041a5]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x401e8b
xor al, al
jmp 0x401eb2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x401ea0
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004041a5
leave
ret 4

Function at 0x401ec1
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [fcn.004041a5]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x78]
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x401fa5
lea ecx, [ebp - 0x80]
call fcn.0040102d
push ecx
push ecx
mov ecx, esp
push str._c_del__
call fcn.0040140d
lea ecx, [ebp - 0x80]
call fcn.004014d9
push ecx
push ecx
lea eax, [ebp + 0x19c]
mov ecx, esp
push eax
call fcn.00401037
lea ecx, [ebp - 0x80]
call fcn.004014d9
push ecx
push ecx
mov ecx, esp
push str._____NUL
call fcn.0040140d
lea ecx, [ebp - 0x80]
call fcn.004014d9
xor eax, eax
mov esi, str.runas
cmp byte [ebp + 0x1a4], al
jne 0x401f5a
mov esi, str.open
push eax
push eax
lea ecx, [ebp - 0x80]
call fcn.00401062
push eax
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x80]
call fcn.00401471
mov bl, 1
lea ecx, [ebp + 0x19c]
call fcn.00401471
mov ecx, dword [ebp + 0x190]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004041a5
add ebp, 0x194
leave
ret
xor bl, bl
jmp 0x401f81
Function at 0x402426
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x4024dd
mov eax, dword [esi + 0xb4]
mov edi, dword [eax]
push ecx
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.00401037
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0xb4]
push ebx
call dword [edi + 0x14]
cmp ebx, 2
jl 0x40248d
push ecx
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.00401037
push dword [ebp + 0x10]
mov ecx, esi
push ebx
call fcn.00401c1e
cmp ebx, 2
jne 0x40248d
cmp byte [esi + 0x1b4], 0
jne 0x4024dd
push 3
pop ebx
cmp ebx, 3
jne 0x4024dd
lea eax, [esi + 0x174]
push eax
lea ecx, [ebp - 8]
call fcn.00401037
mov eax, dword [esi + 0xb4]
mov edi, dword [eax]
push ecx
push ecx
mov ecx, esp
push str.FlashInstall.log
call fcn.0040140d
push 0x5c
lea ecx, [ebp - 8]
call fcn.00401510
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb4]
call dword [edi + 0x1c]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp + 0x14]
call fcn.00401471
cmp byte [ebp + 8], 0
pop edi
pop esi
sete al
pop ebx
leave
ret 0x14

Function at 0x4025bd
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa4
mov eax, dword [fcn.004041a5]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
lea eax, [ebp - 0x20]
push eax
mov edi, ecx
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x402654
cmp dword [ebp - 0x1c], 6
jae 0x40262e
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x402654
mov dword [ebp - 0x2c], 0x220
mov dword [ebp - 0x28], 0x223
mov dword [ebp - 0x24], 0x225
xor esi, esi
push dword [ebp + esi*4 - 0x2c]
mov ecx, edi
call fcn.00401e3f
test al, al
jne 0x402654
inc esi
cmp esi, 3
jl 0x402614
xor eax, eax
inc eax
jmp 0x402656
mov ecx, edi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, al
jne 0x402654
mov ecx, edi
call fcn.00402512
cmp eax, 0x3000
jae 0x402654
push 2
pop eax
jmp 0x402656
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.004041a5
add ebp, 0x78
leave
ret