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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x45fbc4
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004a97d0
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x45fb7d
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x45fba2
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x45fc7f
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x45fbf1
xor eax, eax
jmp 0x45fc42
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x45fc0e
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0045e9cd
jmp 0x45fc26
cmp eax, 2
jne 0x45fc2a
mov edx, dword [esi]
test edx, edx
jne 0x45fc1d
xor eax, eax
jmp 0x45fc27
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0045ec70
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call fcn.004a97d0
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x45fc6a
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x45fc7f
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x45fb3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462a04
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x462a52
cmp dword [ebp - 0x88], 2
jne 0x462a52
cmp dword [ebp - 0x94], 6
jb 0x462a52
cmp dword [ebp - 0x90], 2
jb 0x462a52
xor eax, eax
inc eax
jmp 0x462a54
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a41df
mov esp, ebp
pop ebp
ret
Function at 0x463b57
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x463b7a
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.00464eaa
xor al, al
jmp 0x463c29
call fcn.00463563
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
push ebx
push edi
call fcn.004a5d1c
push edi
call fcn.004a612f
push ebx
push ebx
push edi
mov dword [ebp - 4], eax
call fcn.004a5d1c
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jg 0x463bb6
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x463b6e
inc eax
push eax
call fcn.0048f9a2
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call fcn.004a5614
add esp, 0x14
cmp eax, 1
je 0x463be5
push edi
call fcn.004a43b1
pop ecx
push ebx
push ebx
push ebx
push 2
jmp 0x463bb2
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, edi
mov byte [edi + edx], bl
cmp byte [edi], bl
je 0x463c0e
mov dl, byte [eax]
cmp dl, 0xd
jne 0x463c06
mov byte [ecx], 0xa
inc ecx
inc eax
cmp byte [eax], 0xa
jne 0x463c0a
jmp 0x463c09
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], bl
jne 0x463bf3
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.004a43b1
xor eax, eax
cmp byte [esi + 0x40], al
pop ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4706b0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x47072d
mov edi, dword [esi + 0x20]
add edi, eax
cmp dword [edi + 8], 6
je 0x4706d0
mov edx, 5
call fcn.00476580
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x470717
mov edx, dword [esi + 0x2c]
mov ecx, esi
cmp edx, 1
jl 0x470711
add edx, edx
jmp 0x470712
inc edx
call fcn.004766e0
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.00477000
add esp, 4
mov edx, 2
mov ecx, esi
pop edi
pop esi
jmp fcn.00476580

Function at 0x470a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x78
push 0
push 0
mov ebx, dword [edi + 0x10]
push dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x470b1d
add dword [ebx + 0x44], 0x78
mov edx, edi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x1c]
mov dword [esi], eax
movzx eax, byte [ecx + 0x14]
mov dword [ecx + 0x1c], esi
and al, 3
mov byte [esi + 5], al
mov ecx, esi
mov byte [esi + 4], 8
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x36], 0x1000000
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x30], 0
mov word [esi + 0x34], ax
mov byte [esi + 6], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x50], eax
call fcn.00470840
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
movzx eax, byte [edi + 0x38]
mov byte [esi + 0x38], al
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, esi
pop edi
mov dword [esi + 0x40], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 4
mov ecx, edi
call fcn.00476580
int3

Function at 0x476580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4765a2
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.004b07e0
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x4765bf
call fcn.00476500
mov eax, dword [esi + 0x10]
push esi
mov eax, dword [eax + 0x58]
call eax
add esp, 4
push 1
call fcn.004a4df3
int3
Function at 0x4776b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov ebx, edx
mov edi, edx
mov dword [esp + 0xc], ecx
shr edi, 5
mov esi, edx
inc edi
cmp edx, edi
jb 0x4776fe
mov edx, dword [esp + 0x10]
lea esp, [esp]
movzx ecx, byte [edx + esi - 1]
mov eax, ebx
shl eax, 5
sub esi, edi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp esi, edi
jae 0x4776e0
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x477794
cmp dword [edi + 0xc], edx
jne 0x47778a
mov esi, dword [ebp + 8]
lea eax, [edi + 0x10]
mov edx, dword [esp + 0x10]
sub esi, 4
jb 0x477741
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x47774a
add edx, 4
add eax, 4
sub esi, 4
jae 0x477730
cmp esi, 0xfffffffc
je 0x47783a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x477787
cmp esi, 0xfffffffd
je 0x47783a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x477787
cmp esi, 0xfffffffe
je 0x47783a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x477787
cmp esi, 0xffffffff
je 0x47783a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x47783a
mov edx, dword [ebp + 8]
mov edi, dword [edi]
test edi, edi
jne 0x477718
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
cmp eax, 0xffffffed
jbe 0x4777ad
push str.memory_allocation_error:_block_too_big
push esi
call fcn.00470740
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [edx + 0x11]
mov ecx, esi
push eax
push 0
xor edx, edx
call fcn.00486e60
mov ecx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [ebp + 8]
push esi
push dword [esp + 0x1c]
mov dword [edi + 0xc], esi
lea eax, [edi + 0x10]
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
mov cl, byte [ecx + 0x14]
and cl, 3
mov byte [edi + 4], 4
mov byte [edi + 5], cl
mov byte [edi + 6], 0
call fcn.004a97d0
mov byte [edi + esi + 0x10], 0
add esp, 0x14
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 8]
dec eax
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [edx]
mov eax, dword [ecx + eax]
mov dword [edi], eax
mov eax, dword [edx]
mov dword [ecx + eax], edi
inc dword [edx + 4]
mov eax, dword [edx + 8]
cmp dword [edx + 4], eax
jbe 0x477831
cmp eax, 0x3ffffffe
jg 0x477831
lea edx, [eax + eax]
mov ecx, esi
call fcn.004775e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, byte [edi + 5]
movzx edx, al
and edx, 3
movzx ecx, byte [ecx + 0x14]
not ecx
test cl, dl
je 0x477831
xor al, 3
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4805e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x224], ecx
mov edi, ecx
mov dword [ebp - 0x21c], eax
lea esi, [ebp - 0x20c]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x210], edi
mov ebx, 0x200
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], 0
lea ecx, [ecx]
lea ecx, [ebp - 0x218]
sub esi, ecx
sub esi, 0xc
je 0x480699
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x48064f
mov ecx, edi
call fcn.00473c30
mov edi, dword [edi + 8]
lea edx, [ebp - 0x20c]
push esi
mov esi, dword [ebp - 0x220]
mov ecx, esi
call fcn.004776b0
mov dword [edi], eax
lea ecx, [ebp - 0x218]
mov dword [edi + 8], 4
lea eax, [ebp - 0x20c]
add dword [esi + 8], 0x10
add esp, 4
inc dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
call fcn.0046f170
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp + 8]
cmp ebx, edi
push eax
cmova ebx, edi
lea eax, [ebp - 0x20c]
push ebx
push 1
push eax
call fcn.004a5614
mov esi, dword [ebp - 0x218]
add esp, 0x10
add esi, eax
sub edi, eax
mov dword [ebp - 0x218], esi
mov dword [ebp + 8], edi
je 0x4806e4
cmp eax, ebx
jne 0x4806e4
mov edi, dword [ebp - 0x210]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edi
jmp 0x480630
lea ecx, [ebp - 0x218]
call fcn.0046f100
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
call fcn.0046e1a0
mov dword [ebp - 0x214], 1
test edi, edi
je 0x480731
mov ecx, dword [ebp - 0x224]
or edx, 0xffffffff
call fcn.0046d820
test eax, eax
jne 0x480731
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a41df
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret
Function at 0x480b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov edi, 1
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
sar eax, 4
dec eax
je 0x480c1f
mov ebx, dword [ebp + 8]
lea ebx, [ebx]
dec eax
mov edx, ebx
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.0046d4b0
cmp eax, 0x4e7030
je 0x480c53
cmp dword [eax + 8], 3
jne 0x480c53
test edi, edi
je 0x480c10
mov edx, ebx
mov ecx, esi
call fcn.0046d4b0
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x480beb
cmp ecx, 4
jne 0x480c4e
mov ecx, dword [eax]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.00470db0
test eax, eax
je 0x480c4e
movsd xmm0, qword [esp + 0x28]
lea eax, [esp + 0x30]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 3
movsd xmm0, qword [eax]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x2c]
call fcn.004a94e3
add esp, 0x10
test eax, eax
jg 0x480d17
xor edi, edi
mov eax, dword [esp + 0x24]
inc ebx
test eax, eax
jne 0x480b80
call fcn.004ac11c
mov ebx, dword [eax]
mov eax, dword [esi + 8]
test edi, edi
je 0x480d21
mov dword [eax], 1
mov dword [eax + 8], 1
mov eax, 1
add dword [esi + 8], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
jmp 0x480bef
mov edx, ebx
mov ecx, esi
call fcn.0046d4b0
cmp dword [eax + 8], 4
je 0x480c96
mov edx, eax
mov ecx, esi
call fcn.00473e90
test eax, eax
jne 0x480c7b
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
jmp 0x480ca8
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x480c8d
mov ecx, esi
call fcn.00473c30
mov edx, ebx
mov ecx, esi
call fcn.0046d4b0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x480cf5
mov edx, ebx
mov ecx, esi
call fcn.0046d4b0
cmp eax, 0x4e7030
je 0x480cc9
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x480cc9
mov eax, dword [eax*4 + 0x4e3754]
jmp 0x480cce
mov eax, str.no_value
push eax
push dword [0x4e3764]
push str._s_expected__got__s
push esi
call fcn.0046d9d0
push eax
mov edx, ebx
mov ecx, esi
call fcn.0046e300
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
test edi, edi
je 0x480c10
push dword [esp + 0x20]
push ecx
push 1
push eax
call fcn.004a87f9
add esp, 0x10
cmp eax, dword [esp + 0x18]
jne 0x480c10
mov edi, 1
jmp 0x480c12
mov dword [eax + 8], 0
add dword [esi + 8], 0x10
push ebx
call fcn.004afe86
add esp, 4
push eax
push 0x4e7e88
push esi
call fcn.0046d9d0
mov eax, dword [esi + 8]
add esp, 0xc
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov dword [eax + 8], 3
pop edi
movsd qword [eax], xmm0
mov eax, 3
add dword [esi + 8], 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d67a
Capabilities:
Encode data using xor

Disassembly:
push 0x34
mov eax, 0x4d3890
call fcn.004c9ef2
stosd dword es:[edi], eax
inc ebp
or byte [ebx + 0x758b145d], cl
adc byte [ecx + 0x458bd055], ch
push esp
mov dword [ebp + 0x41], ecx
mov al, byte [edi]
test al, al
xor byte [eax], dh
or cl, cl
mov edx, edi
mov edx, 0x6e0179c0
inc edx
mov ch, byte [edx]
test cl, cl
inc ebp
push esp
add esp, dword [eax + ebp*2 + 8]
invalid
Function at 0x4c0885
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004adb76
mov dword [ebp - 0x14], eax
cmp dword [0x5191fc], esi
jne 0x4c0978
push 0x800
push esi
push 0x4dbc38
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c0905
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c0a58
push esi
push esi
push 0x4dbc38
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c0a58
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c0a58
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5191fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x519200], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x519204], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x51920c], eax
test eax, eax
je 0x4c0975
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x519208], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c099d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c0990
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4c09b2
push 4
pop eax
jmp 0x4c0a5a
cmp dword [ebp - 0x14], esi
je 0x4c09b2
push dword [0x5191fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c0997
mov eax, dword [0x519208]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4c0a10
cmp dword [0x51920c], edi
je 0x4c0a10
push eax
call ebx
push dword [0x51920c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c0a10
test eax, eax
je 0x4c0a10
call ecx
test eax, eax
je 0x4c0a05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4c0a05
test byte [ebp - 8], 1
jne 0x4c0a10
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4c0a40
mov eax, dword [0x519200]
cmp eax, edi
je 0x4c0a3d
push eax
call ebx
test eax, eax
je 0x4c0a3d
call eax
mov esi, eax
test esi, esi
je 0x4c0a3d
mov eax, dword [0x519204]
cmp eax, edi
je 0x4c0a3d
push eax
call ebx
test eax, eax
je 0x4c0a3d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5191fc]
call ebx
test eax, eax
je 0x4c0a58
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4c0a5a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret
Function at 0x100154aa
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x10015541
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10015541
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
test eax, eax
jbe 0x1001553a
push eax
call fcn.1003de3e
mov esi, eax
pop ecx
test esi, esi
jne 0x100154e9
mov eax, 0x8007000e
jmp 0x10015546
push esi
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10015533
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x101782c0
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10015533
mov eax, dword [ebp + 8]
test eax, eax
je 0x10015533
mov ecx, dword [eax + 8]
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
push esi
mov dword [edi], eax
call fcn.1003e211
pop ecx
xor eax, eax
jmp 0x10015546
push esi
call fcn.1003e211
pop ecx
mov eax, 0x80004005
jmp 0x10015546
mov eax, 0x80070057
pop edi
pop esi
leave
ret
Function at 0x10016d1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
push reloc.OLEAUT32.dll_SysReAllocString
or edi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10016d84
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.EnableFirewall
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10016d75
cmp dword [ebp - 0xc], 4
jne 0x10016d75
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 4], 0
je 0x10016d84
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x10016e12
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.HTTP_shellopencommand
push SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10016e40
xor eax, eax
jmp 0x10016e93
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
mov edi, 0x10178d57
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x10016e80
cmp dword [ebp - 8], 1
jne 0x10016e80
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], 1
pop edi
pop esi
cmp dword [ebp - 4], ebx
je 0x10016e90
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
Function at 0x10017755
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push 2
push esi
mov edi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x10017776
xor eax, eax
jmp 0x1001781d
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x1001779b
cmp eax, 0x80010119
je 0x1001779b
mov ecx, edi
call fcn.10017411
jmp 0x1001776f
lea eax, [edi + 0x24]
push eax
push 0x1017637c
push 1
push esi
push 0x1017643c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10017792
push ebx
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [edi + 0x24]
lea ebx, [edi + 0x20]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
mov dword [edi + 0x30], eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x10017813
mov eax, dword [ebx]
cmp eax, esi
je 0x10017813
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x1017c9b0
push eax
call dword [ecx]
test eax, eax
jl 0x10017813
push esi
push esi
push 3
push esi
push esi
push esi
push 0xa
push dword [ebx]
mov ebx, dword [sym.imp.ole32.dll_CoSetProxyBlanket]
call ebx
test eax, eax
jge 0x10017823
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
call fcn.10017411
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4
push esi
push esi
push 3
push esi
push esi
push esi
push 0xa
push dword [ebp - 4]
call ebx
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, esi
jl 0x10017813
lea ebx, [edi + 0x28]
push ebx
push 0x1017640c
push 1
push esi
push 0x101764ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10017813
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea ecx, [edi + 0x2c]
push ecx
push 0x1017642c
push ebx
call dword [eax]
test eax, eax
jl 0x10017813
xor eax, eax
inc eax
jmp 0x1001781c