joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp edi, ebx
je 0x40288c
push edi
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x40288c
push 4
pop eax
call sub.ntdll.dll__alloca_probe
mov esi, esp
cmp esi, ebx
je 0x4027f4
push 0x93
push 2
mov eax, esi
mov edx, 0x405a1c
call fcn.0040295d
push 0xffffffffffffffff
call fcn.00402b46
push eax
push esi
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.ntdll.dll__snprintf]
lea eax, [ebp - 0x104]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40281b
sub eax, edx
cmp eax, 6
jb 0x4027f4
cmp byte [ebp - 0x104], bl
je 0x402855
lea ecx, [ebp - 0x104]
movsx eax, byte [ecx]
lea edx, [eax - 0x30]
and edx, 0x80000001
jns 0x40284a
dec edx
or edx, 0xfffffffe
inc edx
je 0x402850
add al, 0x31
mov byte [ecx], al
inc ecx
cmp byte [ecx], bl
jne 0x402837
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.00402a47
push 8
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
cmp eax, ebx
je 0x402881
push 0x8b
push 4
mov edx, 0x4055ec
call fcn.0040295d
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionA]
xor esi, esi
inc esi
mov eax, esi
lea esp, [ebp - 0x10c]
pop esi
pop ebx
leave
ret

Function at 0x402898
Capabilities:
Access pe header
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push edi
xor edi, edi
and dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x402922
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp loc.0042cd48
mov eax, edi
pop edi
leave
ret 4

Function at 0x40295d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40297e
mov esi, edx
mov ecx, eax
sub esi, eax
mov edx, edi
mov bl, byte [esi + ecx]
xor bl, byte [ebp + 0xc]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x402972
xor edx, edx
mov byte [edi + eax], dl
cmp edi, edx
jbe 0x402a16
lea ebx, [edx + eax]
mov cl, byte [ebx]
cmp cl, 0x5c
jne 0x4029b8
lea edi, [edx + eax + 1]
cmp byte [edi], cl
je 0x402a01
cmp cl, cl
jne 0x4029b8
lea edi, [edx + eax + 1]
cmp byte [edi], 0x72
jne 0x4029b8
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xd
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x402a0c
lea edi, [edx + eax + 1]
cmp byte [edi], 0x6e
jne 0x4029d4
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xa
rep movsb byte es:[edi], byte [esi]
jmp 0x42c708
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, dword [ebp + 8]
jb 0x40298b
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x402bf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ebx, dword [esi]
or eax, 0xffffffff
cmp ebx, 0x32335041
jne 0x402c0d
jmp loc.0042c960
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x402ed4
Capabilities:
Encode data using xor
Hash data with crc32
Packed with generic packer

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x4041a0
sub eax, eax
test esi, esi
je 0x402fac
sub eax, 1
test ecx, ecx
jmp loc.0042cc80
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x409ce0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x188
mov eax, dword [0x44f874]
xor eax, esp
mov dword [esp + 0x184], eax
mov edx, dword [esp + 0x194]
push ebx
mov ebx, dword [esp + 0x194]
push ebp
mov ebp, dword [esp + 0x194]
push esi
mov esi, ebp
mov dword [esp + 0xc], edx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409d16
sub esi, ecx
cmp esi, 0x80
jle 0x409d2e
mov esi, 0x80
jmp 0x409d62
mov eax, esi
mov dword [ebx], esi
and eax, reloc.WS2_32.dll_ntohs
jns 0x409d40
dec eax
or eax, 0xfffffff0
add eax, 1
je 0x409d64
mov edi, 0x10
sub edi, eax
test edi, edi
jle 0x409d62
push edi
lea eax, [esi + ebp]
push 0
push eax
call fcn.00422400
mov edx, dword [esp + 0x1c]
add esp, 0xc
add esi, edi
mov dword [ebx], esi
mov edi, edx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x409d70
sub edi, ecx
lea eax, [esp + 0x84]
push edi
push edx
push eax
call fcn.00421e80
mov eax, dword [esp + 0x1b4]
lea ecx, [esp + 0x90]
add ecx, edi
mov dword [esp + 0x1c], ecx
movups xmm0, xmmword [eax]
lea eax, [esp + 0x28]
push eax
movups xmmword [ecx], xmm0
call fcn.0041b220
lea eax, [edi + 0x10]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0041b250
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0041b320
lea ecx, [esp + 0xa7]
add esp, 0x24
lea eax, [ebp + 0xf]
cmp ebp, ecx
ja 0x409e10
lea ecx, [esp + 0x74]
cmp eax, ecx
jb 0x409e10
lea edi, [esp + 0x74]
mov ecx, ebp
sub edi, ebp
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x409e00
jmp 0x409e21
movups xmm1, xmmword [ebp]
movups xmm0, xmmword [esp + 0x74]
pxor xmm1, xmm0
movups xmmword [ebp], xmm1
cmp esi, 0x10
jle 0x409ee6
lea eax, [esi - 0x10]
mov ebx, 0xfffffff0
mov dword [esp + 0x18], eax
lea esi, [ebp + 0x10]
sub ebx, ebp
nop dword [eax + eax]
lea edi, [ebx + esi]
cmp edi, eax
jg 0x409ee6
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esi - 0x10]
movups xmmword [eax], xmm0
lea eax, [esp + 0x1c]
push eax
call fcn.0041b220
push dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041b250
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0041b320
lea eax, [ebp + 0x1f]
add esp, 0x18
lea ecx, [esp + 0x83]
xor edx, edx
add eax, edi
cmp esi, ecx
ja 0x409ec2
lea ecx, [esp + 0x74]
cmp eax, ecx
jb 0x409ec2
mov eax, esi
nop word [eax + eax]
mov cl, byte [esp + edx + 0x74]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, 0x10
jl 0x409eb0
jmp 0x409ed1
movups xmm1, xmmword [esi]
movups xmm0, xmmword [esp + 0x74]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
add esi, 0x10
lea eax, [ebx + esi]
cmp eax, 0x80
mov eax, dword [esp + 0x18]
jl 0x409e40
mov ecx, dword [esp + 0x194]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420c8f
add esp, 0x188
ret
Function at 0x419a90
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
push 0x8004667e
push edi
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push edi
call dword [0x44f1f0]
test eax, eax
je 0x419adc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x419adc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
jne 0x419b0d
xorps xmm0, xmm0
mov eax, 0x10
movlpd qword [esp + 8], xmm0
mov word [esp + 0xc], ax
imul eax, dword [esp + 0x20], 0x3e8
mov dword [esp + 8], edi
push eax
push 1
lea eax, [esp + 0x10]
push eax
call dword [0x44f204]
test eax, eax
jg 0x419b17
mov eax, 0xd
pop edi
add esp, 0xc
ret
xor eax, eax
pop edi
add esp, 0xc
ret

Function at 0x419b20
Capabilities:
Encode data using xor

Disassembly:
push ecx
movzx eax, word [0x44f398]
xor ecx, ecx
mov dword [esp], eax
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push esi
push edi
test edx, edx
jle 0x419bcb
mov edi, dword [esp + 0x10]
cmp edx, 0x10
jb 0x419bb5
mov eax, edx
and eax, reloc.WS2_32.dll_ntohs
jns 0x419b59
dec eax
or eax, 0xfffffff0
inc eax
mov esi, edx
xorps xmm2, xmm2
sub esi, eax
xorps xmm1, xmm1
movups xmm0, xmmword [edi + ecx*2]
pxor xmm2, xmm0
movups xmm0, xmmword [edi + ecx*2 + 0x10]
add ecx, 0x10
pxor xmm1, xmm0
cmp ecx, esi
jl 0x419b63
mov si, word [esp + 8]
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movd eax, xmm1
xor si, ax
cmp ecx, edx
jge 0x419bd0
jmp 0x419bc0
mov si, word [esp + 8]
nop word [eax + eax]
xor si, word [edi + ecx*2]
inc ecx
cmp ecx, edx
jl 0x419bc0
jmp 0x419bd0
mov si, word [esp + 8]
call fcn.0042ac10
movzx ecx, si
add eax, ecx
push eax
call fcn.0042ac31
add esp, 4
call fcn.0042ac10
pop edi
mov dword [0x44f398], eax
pop esi
add esp, 4
jmp fcn.0042ac10

Function at 0x41b220
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41be70
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41c610
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x41c6be
mov edx, dword [esp + 8]
add edx, 2
push edi
nop dword [eax]
movzx ecx, byte [edx - 2]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
cmp esi, 1
jbe 0x41c64d
movzx edi, byte [edx - 1]
shr edi, 4
jmp 0x41c64f
xor edi, edi
movzx ecx, byte [edx - 2]
and ecx, 3
shl ecx, 4
or ecx, edi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
cmp esi, 1
jbe 0x41c6a3
cmp esi, 2
jbe 0x41c676
movzx edi, byte [edx]
shr edi, 6
jmp 0x41c678
xor edi, edi
movzx ecx, byte [edx - 1]
and ecx, 0xf
shl ecx, 2
or ecx, edi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
add eax, 3
cmp esi, 2
jbe 0x41c6aa
movzx ecx, byte [edx]
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x41c6ac
mov byte [eax + 2], 0x3d
add eax, 3
mov cl, 0x3d
mov byte [eax], cl
sub esi, 3
inc eax
add edx, 3
test esi, esi
jg 0x41c630
pop edi
mov byte [eax], 0
pop esi
ret
Function at 0x41e2b0
Capabilities:
Encode data using xor
Get hostname

Disassembly:
sub esp, 0x48c
mov eax, dword [0x44f874]
xor eax, esp
mov dword [esp + 0x488], eax
mov eax, dword [esp + 0x498]
push ebx
push ebp
mov ebp, dword [esp + 0x498]
push esi
push edi
mov edi, dword [esp + 0x4a4]
push 0x400
mov dword [esp + 0x18], eax
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.00422400
add esp, 0xc
mov dword [esp + 0x98], 0x4d4c544e
lea eax, [esp + 0x18]
mov dword [esp + 0x9c], 0x505353
mov byte [esp + 0xa0], 2
push 0x80
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [esp + 0x18]
mov byte [esp + 0x27], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e332
sub ecx, edx
mov byte [esp + 0xa8], 0x30
mov dword [esp + 0xac], 0xa0818203
lea ebx, [esp + 0x18]
xor esi, esi
lea eax, [ecx + ecx]
mov dword [esp + 0x10], eax
mov byte [esp + 0xa4], al
mov byte [esp + 0xa6], al
mov al, byte [esp + 0x18]
nop dword [eax]
movsx eax, al
push eax
call fcn.0042ae9a
mov byte [esp + esi + 0xcc], al
lea ebx, [ebx + 1]
mov al, byte [ebx]
add esp, 4
mov byte [esp + esi + 0xc9], 0
add esi, 2
test al, al
je 0x41e39c
cmp esi, 0x40
jl 0x41e370
push edi
call fcn.00427644
xor eax, eax
add esp, 4
cmp word [ebp + 0x12c], 0x17
sete al
lea eax, [eax*4 + 0x130]
mov eax, dword [eax + ebp]
mov dword [edi + 4], eax
mov al, byte [ebp + 0x12e]
xor byte [edi + 1], al
xor esi, esi
nop word [eax + eax]
push 8
push edi
call fcn.00419b20
xor byte [edi + esi], al
add esp, 8
inc esi
cmp esi, 8
jl 0x41e3d0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x10]
add eax, 0x30
mov dword [esp + 0xb4], ecx
push eax
push dword [esp + 0x18]
lea eax, [esp + 0xa0]
push eax
call fcn.0041c610
mov ecx, dword [esp + 0x4a4]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420c8f
add esp, 0x48c
ret

Function at 0x4336b9
Capabilities:
Read file on windows

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

Function at 0x439d46
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439899
Function at 0x401ff7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax + 1]
imul edx, dword [0x404050]
mov ebx, eax
mov eax, 0x404054
call fcn.00401f33
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402fd6
push edx
sub edi, fcn.00402780
push edi
xor eax, eax
push fcn.00402780
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x402063
mov eax, fcn.00402780
mov ebx, esi
mov edx, edi
call fcn.00401f33
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040186d
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x59ac77ee
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x36cb5eb3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407a18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x407a62
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x407a31
jmp 0x407a62
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x407a52
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x4085f4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x408629
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x408653
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x408653
test edi, edi
je 0x408620
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x408620
test edi, edi
je 0x40865b
mov eax, edi
jmp 0x408622
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x408622
int3
Function at 0x40b6fe
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestRollingMean.exe_gMozillaPoisonSize], eax
call fcn.004085f4
pop ecx
mov ecx, dword [sym.TestRollingMean.exe_gMozillaPoisonSize]
mov dword [sym.TestRollingMean.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40b736
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestRollingMean.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x42e10750
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1b8a37f7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

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

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
mov dword [esp + 4], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x401017
sub ecx, esi
sar ecx, 1
je 0x40107b
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x40107b
mov edx, dword [esp + 4]
lea ecx, [edx - 2]
cmp ecx, 3
ja 0x401074
cmp edx, 3
mov esi, dword [eax + 4]
jge 0x401050
xor ecx, ecx
jmp 0x401053
mov ecx, dword [eax + 8]
cmp edx, 4
jge 0x40105c
xor eax, eax
jmp 0x40105f
mov eax, dword [eax + 0xc]
push eax
push ecx
push esi
push 0
call sub.DeElevator.dll_RunNonElevated
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x10
push 0x402054
push str.Syntax:_DeElevate_64___path____parameters_____directory__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]