joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a17e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x1002a18f
mov eax, dword [eax + 4]
jmp 0x1002a192
add eax, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push str.Softwareprojonepodlpkeyrule_secClass_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1002a1c5
cmp dword [ebp - 8], 4
jne 0x1002a1c5
mov eax, dword [ebp - 0xc]
leave
ret
xor eax, eax
leave
ret

Function at 0x1002b8fc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x1002b920
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10062608]
dec edx
inc ecx
test edx, edx
jne 0x1002b904
pop esi
not eax
ret

Function at 0x1002bb84
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
push 0x3f
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x4c], 0
call fcn.10033d90
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0x4c]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [ebp + eax - 0x8c], dl
mov byte [ebp + eax - 0xcc], cl
inc eax
cmp eax, 0x40
jb 0x1002bbc7
lea eax, [ebp - 0x13c]
call fcn.100315dc
lea eax, [ebp - 0x8c]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.10031620
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10031620
lea edi, [ebp - 0x6c]
call fcn.1003165e
lea eax, [ebp - 0x13c]
call fcn.100315dc
lea eax, [ebp - 0xcc]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.10031620
mov eax, edi
push 0x20
push eax
lea eax, [ebp - 0x13c]
call fcn.10031620
add esp, 0x20
lea edi, [ebp - 0x2c]
call fcn.1003165e
mov esi, dword [ebp - 0x140]
push 0x20
mov eax, edi
push eax
call fcn.10008e34
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003186a
leave
ret
Function at 0x1002c78b
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
xor esi, esi
push edi
cmp dword [0x1006a754], esi
je 0x1002c7ab
push esi
push esi
mov dword [0x1006a754], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xc]
push eax
push 0x10050834
xor edi, edi
inc edi
push edi
push esi
push 0x10050904
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1002c7d5
xor eax, eax
jmp 0x1002c8b4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x10052e14
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1002c8a8
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x1002c89f
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
push 0x30
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push 0x100563f8
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x1002c89f
mov dword [ebp - 0x10], edi
push ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x3c]
push edx
push 0xa
push 0xffffffffffffffff
push eax
xor ebx, ebx
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x1002c895
xor edi, edi
cmp dword [ebp + 8], esi
jbe 0x1002c875
push dword [ebp + 0x10]
push dword [ebp + edi*4 - 0x3c]
call dword [ebp + 0xc]
test eax, eax
je 0x1002c872
inc edi
cmp edi, dword [ebp + 8]
jb 0x1002c85c
jmp 0x1002c875
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp + 8], esi
jbe 0x1002c88c
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp + 8]
jb 0x1002c87c
cmp ebx, esi
jne 0x1002c895
cmp dword [ebp - 0x14], esi
je 0x1002c836
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 0xc
Function at 0x1002d52c
Capabilities:
Delete registry value

Disassembly:
push 0x34
mov eax, 0x1004b28f
call fcn.10032d91
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
mov edi, 0x1006ba10
push edi
xor ebx, ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push str.Software
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x40]
push eax
call fcn.10002068
push ebx
mov dword [ebp - 4], ebx
call esi
lea edi, [ebp - 0x40]
mov esi, eax
call fcn.1002ceae
test eax, eax
jne 0x1002d59b
mov esi, edi
call fcn.10002446
push dword [ebp - 0x40]
call fcn.10031d3a
pop ecx
xor eax, eax
call fcn.10032e69
ret
lea ecx, [ebp - 0x40]
call fcn.1002d481
cmp dword [0x1006c0fc], ebx
jne 0x1002d5c0
lea esi, [ebp - 0x40]
call fcn.10002446
push dword [ebp - 0x40]
call fcn.10031d3a
pop ecx
mov eax, ebx
jmp 0x1002d595
mov eax, dword [0x1006c0f8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1006c0e0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1006c0f8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1006c0e0]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.1002ad2d
test al, al
jne 0x1002d60e
call fcn.1002ac34
add eax, 0x1c
push eax
push 0x1006c0a8
lea ebx, [ebp - 0x28]
call fcn.10017e27
call fcn.1002d8d7
jmp 0x1002d5d2
xor ebx, ebx
inc ebx
jmp 0x1002d5ab
Function at 0x1002e7ca
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10048bcd
call fcn.10032dfa
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1002e7e9
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.1000259c
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x1002e8ee
jmp 0x1002e81a
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10051d38]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x1002e82e
cmp al, 0xff
je 0x1002e81a
cmp al, 0xff
je 0x1002e8ee
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10051d38]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x1002e84e
cmp cl, 0xff
je 0x1002e836
cmp cl, 0xff
je 0x1002e8ee
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10009c24
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002e8ee
movsx eax, al
mov al, byte [eax + 0x10051d38]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1002e88e
cmp al, 0xff
je 0x1002e86e
cmp al, 0xff
je 0x1002e8ee
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10009c24
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002e8ee
movsx eax, al
mov cl, byte [eax + 0x10051d38]
cmp esi, dword [ebp - 0x30]
jae 0x1002e8cc
cmp cl, 0xff
je 0x1002e8ae
cmp cl, 0xff
je 0x1002e8ee
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.10009c24
cmp esi, dword [ebp - 0x30]
jb 0x1002e817
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10001fc4
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10002245
mov eax, dword [ebp - 0x38]
call fcn.10032e7d
ret

Function at 0x1002eb5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1002eb78
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1002eb74
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002ec93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1002ee59
mov bl, al
mov al, dl
call fcn.1002ee59
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1002ee59
mov bl, al
mov al, byte [esi - 4]
call fcn.1002ee59
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1002ee59
mov bl, al
mov al, byte [esi]
call fcn.1002ee59
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1002ee59
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1002ee59
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1002ecbb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003186a
leave
ret 4

Function at 0x1002ed48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1002eed5
push ebx
mov dl, al
call fcn.1002eeae
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1002ee69
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1002ee87
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1002ee69
push ebx
mov byte [ebp - 0x15], al
call fcn.1002ee87
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1002eeae
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1002eed5
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1002eeae
mov bl, al
mov al, byte [edi + 4]
call fcn.1002eed5
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1002ee87
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002ee69
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1002ee87
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1002ee69
xor bl, al
mov al, dl
call fcn.1002eed5
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002eeae
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1002ed74
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003186a
leave
ret 4
Function at 0x1002f3c5
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x10048b05
call fcn.10032dfa
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001fc4
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push 0x10
pop ebx
and eax, 0xf
mov esi, ebx
sub esi, eax
jne 0x1002f405
mov esi, ebx
test esi, esi
jle 0x1002f420
mov dword [ebp - 0x30], esi
xor ebx, ebx
push esi
inc ebx
lea edi, [ebp - 0x2c]
call fcn.10009c24
dec dword [ebp - 0x30]
jne 0x1002f40c
push 0x10
pop ebx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
push 0
call fcn.1001e478
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
jae 0x1002f438
lea eax, [ebp - 0x28]
mov edi, esi
mov dword [ebp - 0x30], eax
cmp dword [edi + 0x18], ebx
jb 0x1002f447
mov edi, dword [edi + 4]
jmp 0x1002f44a
add edi, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
cmp eax, ebx
jb 0x1002f4a2
shr eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov esi, edi
sub ecx, eax
sub esi, eax
mov dword [ebp - 0x40], ebx
mov dl, byte [ecx + eax]
xor dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec dword [ebp - 0x40]
jne 0x1002f466
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x1002f486
add eax, 4
mov eax, dword [eax]
jmp 0x1002f489
add eax, 4
push 1
push eax
push edi
push edi
call fcn.1002f0aa
add dword [ebp - 0x30], ebx
mov ecx, edi
add esp, 0x10
add edi, ebx
dec dword [ebp - 0x34]
jne 0x1002f45a
mov edi, dword [ebp - 0x3c]
mov esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 1
lea ecx, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
call fcn.10002245
mov eax, dword [ebp - 0x38]
call fcn.10032e7d
ret
Function at 0x1002f4c0
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x10048102
call fcn.10032dfa
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x14]
mov esi, edx
mov dword [ebp - 0x34], esi
test al, 0xf
je 0x1002f4f5
push 0x10050ccf
mov ecx, esi
call fcn.10001fa2
jmp 0x1002f615
push 0
mov edi, eax
lea esi, [ebp - 0x2c]
call fcn.1001e478
and dword [ebp - 4], 0
cmp dword [ebx + 0x18], 0x10
mov eax, dword [ebx + 0x14]
jb 0x1002f513
mov ebx, dword [ebx + 4]
jmp 0x1002f516
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x1002f522
lea esi, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
cmp eax, 0x10
jb 0x1002f56d
shr eax, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x18], 0x10
mov ecx, dword [edx + 0x14]
lea eax, [edx + 4]
jb 0x1002f541
mov eax, dword [eax]
push 0
push eax
push esi
push ebx
call fcn.1002f0aa
add esp, 0x10
mov ecx, edi
push 0x10
mov eax, esi
sub ecx, esi
pop edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x1002f557
mov edi, ebx
add ebx, 0x10
add esi, 0x10
dec dword [ebp - 0x38]
jne 0x1002f530
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jae 0x1002f596
mov ecx, dword [ebp - 0x34]
push 0x10050ccf
call fcn.10001fa2
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002245
mov eax, dword [ebp - 0x34]
jmp 0x1002f617
lea esi, [eax - 1]
cmp eax, esi
ja 0x1002f5a5
call fcn.10031827
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x1002f5b1
lea ecx, [ebp - 0x28]
mov bl, byte [ecx + esi]
cmp bl, 0x10
ja 0x1002f575
mov byte [ebp - 0x2d], 0
test bl, bl
jbe 0x1002f5f5
movzx edi, bl
movzx ecx, byte [ebp - 0x2d]
mov esi, eax
sub esi, ecx
dec esi
cmp eax, esi
ja 0x1002f5d9
call fcn.10031827
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x1002f5e5
lea ecx, [ebp - 0x28]
movsx ecx, byte [ecx + esi]
cmp ecx, edi
jne 0x1002f575
inc byte [ebp - 0x2d]
cmp byte [ebp - 0x2d], bl
jb 0x1002f5c4
mov esi, dword [ebp - 0x34]
movzx ecx, bl
sub eax, ecx
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10001fea
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002245
mov eax, esi
call fcn.10032e7d
ret

Function at 0x1002f6ab
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.10024685
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x10]
lea esi, [ebp - 8]
mov dword [ebp - 0x10], eax
call fcn.1002ad2d
test al, al
jne 0x1002f708
call fcn.1002ac34
cmp dword [eax + 0x18], 8
jb 0x1002f6f4
mov eax, dword [eax + 4]
jmp 0x1002f6f7
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 8]
call fcn.10017a5c
jmp 0x1002f6c9
lea eax, [ebp - 0x30]
push eax
call fcn.10017567
pop edi
pop esi
leave
ret
Function at 0x1002fa84
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
call fcn.10025475
mov dword [ebp - 0x230], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10033d90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.drivers
lea eax, [ebp - 0x210]
push eax
call esi
lea edx, [ebp - 0x210]
call fcn.1002f6ab
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002fb33
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x1002fbc4
push edi
lea ecx, [ebp - 0x210]
call fcn.10024c1a
test eax, eax
jne 0x1002fbc2
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
test eax, eax
jne 0x1002fbc2
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.1002f685
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
jae 0x1002fb84
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1002fbaf
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x1002fbb2
push 9
pop edi
push ebx
push 1
lea esi, [ebp - 0x22c]
call fcn.1000233d
jmp 0x1002fbc4
xor edi, edi
push dword [ebp - 0x230]
call fcn.100254b5
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003186a
leave
ret

Function at 0x10030e5f
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x10031436
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
xor edx, edx
inc ecx
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x120], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x10031445
push 0x40
pop esi
cmp edx, esi
jae 0x100314c0
sub esi, edx
lea ecx, [ebp + edx*4 - 0x128]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x10031486
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov esi, dword [eax + 0x60]
and dword [ebp - 0x14], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x10051be0]
mov ebx, edi
add ecx, dword [ebp + edx - 0x120]
mov edx, edi
add ecx, dword [ebp - 4]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 0x14], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 8]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
and edi, dword [ebp - 0x18]
xor ebx, edi
mov edi, dword [ebp - 0x20]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
add esi, ecx
cmp dword [ebp - 0x14], 0x100
lea edi, [edx + ecx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
jb 0x100314f1
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 8]
add ecx, edi
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x64]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x68]
add ecx, ebx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x6c]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x6c], ecx
pop ebx
leave
ret
Function at 0x1003186a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10061060]
jne 0x10031874
repz ret
jmp fcn.10032e9b

Function at 0x10039e59
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10033106
and dword [ebp - 4], 0
cmp dword [0x1006b220], 0
mov ebx, eax
jne 0x10039f0a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10039fbb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10039fbb
push eax
call fcn.10033094
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1006b220], eax
call esi
push eax
call fcn.10033094
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1006b224], eax
call esi
push eax
call fcn.10033094
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006b228], eax
call esi
push eax
call fcn.10033094
pop ecx
mov dword [0x1006b230], eax
test eax, eax
je 0x10039f0a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10033094
pop ecx
mov dword [0x1006b22c], eax
mov eax, dword [0x1006b22c]
cmp eax, ebx
je 0x10039f62
cmp dword [0x1006b230], ebx
je 0x10039f62
push eax
call fcn.1003310f
push dword [0x1006b230]
mov esi, eax
call fcn.1003310f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10039f62
test edi, edi
je 0x10039f62
call esi
test eax, eax
je 0x10039f59
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10039f59
test byte [ebp - 0xc], 1
jne 0x10039f62
or dword [ebp + 0x10], 0x200000
jmp 0x10039f9b
mov eax, dword [0x1006b224]
cmp eax, ebx
je 0x10039f9b
push eax
call fcn.1003310f
pop ecx
test eax, eax
je 0x10039f9b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10039f9b
mov eax, dword [0x1006b228]
cmp eax, ebx
je 0x10039f9b
push eax
call fcn.1003310f
pop ecx
test eax, eax
je 0x10039f9b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006b220]
call fcn.1003310f
pop ecx
test eax, eax
je 0x10039fbb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10039fbd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret