joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78a898
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x78a8f8
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, 8
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mathtool_BlowfishEncryptECB_qqrr22Mathtool_TBlowfishDatapvt2
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
mov eax, dword [ebp - 4]
add eax, 8
mov edx, 8
call sym.a1runscanner.exe__Tools_IncBlock_qqrp32System__StaticArray_uci_i32768__i
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x78a8ba
mov esp, ebp
pop ebp
ret 4

Function at 0x78b688
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x106c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mounter_TCrypto_MIN_qqrii
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x15], 0
jbe 0x78b7b3
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x106c]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x102b]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004a3cf8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
mov al, byte [ebp - 0x15]
dec eax
test ax, ax
jb 0x78b738
inc eax
mov word [ebp - 0x18], ax
mov word [ebp - 6], 0
movzx eax, word [ebp - 6]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2a]
movzx edx, word [ebp - 6]
mov ecx, dword [ebp - 4]
xor al, byte [ecx + edx + 0x102b]
movzx edx, word [ebp - 6]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + edx], al
inc word [ebp - 6]
dec word [ebp - 0x18]
jne 0x78b708
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x106c]
cmp al, byte [ebp - 0x15]
jne 0x78b761
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x106c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
call fcn.004a3cf8
jmp 0x78b778
xor eax, eax
mov al, byte [ebp - 0x15]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mounter_TCrypto_ShiftLeft_qqrpuct1us
xor eax, eax
mov al, byte [ebp - 0x15]
sub dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebp - 0x15]
add dword [ebp - 0x14], eax
xor eax, eax
mov al, byte [ebp - 0x15]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x106c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mounter_TCrypto_MIN_qqrii
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
ja 0x78b6cc
mov esp, ebp
pop ebp
ret
Function at 0x78b7b8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x106c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mounter_TCrypto_MIN_qqrii
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x15], 0
jbe 0x78b8f1
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x106c]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x102b]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004a3cf8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x106c]
cmp al, byte [ebp - 0x15]
jne 0x78b852
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
lea eax, [eax + edx + 0x2a]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x106c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.004a3cf8
jmp 0x78b870
xor eax, eax
mov al, byte [ebp - 0x15]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x2a]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mounter_TCrypto_ShiftLeft_qqrpuct1us
xor eax, eax
mov al, byte [ebp - 0x15]
dec eax
test ax, ax
jb 0x78b8b6
inc eax
mov word [ebp - 0x18], ax
mov word [ebp - 6], 0
movzx eax, word [ebp - 6]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2a]
movzx edx, word [ebp - 6]
mov ecx, dword [ebp - 4]
xor al, byte [ecx + edx + 0x102b]
movzx edx, word [ebp - 6]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + edx], al
inc word [ebp - 6]
dec word [ebp - 0x18]
jne 0x78b886
xor eax, eax
mov al, byte [ebp - 0x15]
sub dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebp - 0x15]
add dword [ebp - 0x10], eax
xor eax, eax
mov al, byte [ebp - 0x15]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x106c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.a1runscanner.exe__Mounter_TCrypto_MIN_qqrii
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
ja 0x78b7fc
mov esp, ebp
pop ebp
ret
Function at 0x78ba5c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x78ba8b
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
mov edx, dword [ebp - 4]
mov byte [edx + eax + 0x2a], 0
mov eax, dword [ebp - 4]
inc word [eax + 0x28]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x106c]
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x78ba75
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x2a]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x106c]
mov edx, dword [ebp - 4]
add edx, 0x102b
call fcn.004a3cf8
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x106c]
dec eax
test ax, ax
jb 0x78bb09
inc eax
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], 0
movzx eax, word [ebp - 0xe]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov al, byte [edx + eax]
movzx edx, word [ebp - 0xe]
mov ecx, dword [ebp - 4]
xor byte [ecx + edx + 0x102b], al
inc word [ebp - 0xe]
dec word [ebp - 0x10]
jne 0x78bae4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x106c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
add eax, 0x102b
call fcn.004a3cf8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea edx, [eax + edx]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x106c]
mov eax, dword [ebp - 4]
add eax, 0x102b
call fcn.004a3cf8
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x106c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
cmp eax, dword [ebp - 0xc]
jne 0x78baa6
mov esp, ebp
pop ebp
ret
Function at 0x78bb70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x78bb9f
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
mov edx, dword [ebp - 4]
mov byte [edx + eax + 0x2a], 0
mov eax, dword [ebp - 4]
inc word [eax + 0x28]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x106c]
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x78bb89
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x2a]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x106c]
mov edx, dword [ebp - 4]
add edx, 0x102b
call fcn.004a3cf8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x106c]
dec eax
test ax, ax
jb 0x78bc25
inc eax
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], 0
movzx eax, word [ebp - 0xe]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov al, byte [edx + eax]
movzx edx, word [ebp - 0xe]
mov ecx, dword [ebp - 4]
xor byte [ecx + edx + 0x102b], al
inc word [ebp - 0xe]
dec word [ebp - 0x10]
jne 0x78bc00
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x2a]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x106c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.004a3cf8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea edx, [eax + edx]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x106c]
mov eax, dword [ebp - 4]
add eax, 0x102b
call fcn.004a3cf8
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x106c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x28]
cmp eax, dword [ebp - 0xc]
jne 0x78bbba
mov esp, ebp
pop ebp
ret

Function at 0x78c1cc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x67452301
mov dword [ebp - 0xc], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0x14], 0x10325476
mov eax, dword [ebp - 4]
lea edx, [eax + 0x5c]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.004a3cf8
mov eax, dword [ebp - 4]
add eax, 0x5c
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x60]
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.004a3cf8
mov eax, dword [ebp - 4]
add eax, 0x60
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x64]
lea eax, [ebp - 0x10]
mov ecx, 4
call fcn.004a3cf8
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x68]
lea eax, [ebp - 0x14]
mov ecx, 4
call fcn.004a3cf8
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov esp, ebp
pop ebp
ret
Function at 0x3001cd49
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
push 0x300017e4
mov dword [ebp - 4], eax
call fcn.300259d3
add esp, 4
xor ebx, ebx
push ebx
push 1
mov ecx, esi
call fcn.3001c82c
mov ecx, esi
call fcn.3001c9c1
push ebx
jmp 0x3001cdad
cmp byte [esi + 0x78], 0
jne 0x3001cdb9
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ebx*4]
cmp eax, 0xffffffff
je 0x3001cda4
push eax
push ebx
push 0x30001798
call fcn.300259d3
add esp, 0xc
mov byte [esi + 0x79], 1
mov eax, dword [esi + 0x60]
and dword [eax + ebx*4], 0
inc ebx
push ebx
push dword [esi + 0x64]
call fcn.3001c8c0
test al, al
jne 0x3001cd80
cmp byte [esi + 0x79], 0
jne 0x3001cdd4
cmp byte [esi + 0x78], 0
jne 0x3001cdd4
mov ecx, esi
call fcn.3001cd06
test al, al
jne 0x3001cdd4
mov byte [esi + 0x79], 1
call edi
sub eax, dword [ebp - 4]
lea ecx, [esi + 0x84]
push eax
push 0x30001760
mov dword [ecx], eax
call fcn.300259d3
push 0x40
push 0x3000174c
call fcn.300259d3
mov eax, dword [ecx]
shl eax, 6
push eax
push 0x3000172c
call fcn.300259d3
add esp, 0x18
dec dword [esi + 0x80]
cmp byte [esi + 0x79], 0
mov esi, 0x300013f4
jne 0x3001ce21
mov esi, 0x30001484
call edi
sub eax, dword [ebp - 4]
push eax
push esi
push 0x30001708
call fcn.300259d3
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3001e5e1
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
jb 0x3001e602
mov eax, dword [eax + 8]
cmp ecx, eax
jb 0x3001e602
cmp edx, eax
jb 0x3001e602
add eax, 0x10000
cmp eax, ecx
jae 0x3001e62d
mov eax, dword [0x30036514]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0x35636561
call fcn.3001eabf
push 0
push 0
push 1
push 0xe0000001
call dword [sym.imp.KERNEL32.dll_RaiseException]
ret

Function at 0x3001f792
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x3001f7aa
xor eax, eax
jmp 0x3001f897
push esi
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x3001f7ba
cmp dword [0x3006982c], edi
je 0x3001f7cb
cmp dword [0x3006a844], edi
mov dword [ebp - 4], edi
je 0x3001f7d2
test byte [ebx + 0xc], 0x10
jne 0x3001f7d2
xor eax, eax
jmp 0x3001f896
lea ecx, [ebp + 0xb]
mov dword [ebp + 8], edi
mov dword [ebp - 8], edi
call fcn.3001ef9d
neg esi
sbb esi, esi
and esi, 2
push edi
mov dword [ebp - 0xc], esi
push esi
jmp 0x3001f850
mov eax, dword [ebx]
cmp eax, edi
je 0x3001f7fd
push eax
call fcn.30028a9c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp eax, edi
jne 0x3001f809
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], edi
mov esi, eax
je 0x3001f826
push dword [ebp - 4]
call fcn.3001e62e
push esi
call fcn.3001ebbb
test eax, eax
pop ecx
je 0x3001f86b
push 0x796d7468
push edi
call fcn.3001eafe
push dword [ebp + 8]
mov ecx, 0x30069838
call fcn.3001f13b
push edi
push dword [ebp - 0xc]
mov dword [ebp + 8], edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebx + 8]
call fcn.3001f1fd
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x3001f7ee
jmp 0x3001f878
push dword [ebp + 8]
mov ecx, 0x30069838
call fcn.3001f0b9
xor eax, eax
cmp esi, edi
sete al
cmp dword [0x30069834], edi
mov esi, eax
je 0x3001f894
push 0x300697e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x3001fc39
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x3001fc4f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push esi
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
pop ebx
cmp dword [ebp - 4], ebx
mov edi, eax
jae 0x3001fc81
cmp dword [ebp + 0xc], 1
je 0x3001fc7f
cmp dword [ebp + 0xc], ebx
jne 0x3001fc81
mov edi, ebx
push edi
call fcn.3001ebbb
test eax, eax
pop ecx
je 0x3001fca7
push 0x796d746b
push 0
call fcn.3001eafe
push dword [ebp + 8]
mov ecx, 0x30069838
call fcn.3001f13b
jmp 0x3001fd06
test edi, edi
jne 0x3001fcf9
cmp dword [ebp + 0xc], ebx
je 0x3001fcb6
cmp dword [ebp + 0xc], 1
jne 0x3001fcc1
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2 - 2], 0
cmp dword [ebp + 0xc], ebx
je 0x3001fccb
cmp byte [ebp + 0x1c], bl
jne 0x3001fce4
mov eax, dword [ebp + 0x18]
shr eax, 1
push eax
push esi
call fcn.3001ec12
test eax, eax
pop ecx
pop ecx
jne 0x3001fce4
mov edi, 0xea
jmp 0x3001fcf9
movzx eax, byte [ebp + 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.3001ebe8
test eax, eax
pop ecx
pop ecx
jne 0x3001fcf9
mov edi, ebx
push dword [ebp + 8]
mov ecx, 0x30069838
call fcn.3001f0b9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3001fd0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
jne 0x3001fd28
mov eax, 0xa0
jmp 0x3001fe75
mov eax, dword [ebx]
cmp eax, esi
mov dword [ebp - 0xc], esi
je 0x3001fd3a
push eax
call fcn.30028a9c
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], esi
push edi
cmp dword [ebp + 8], esi
jne 0x3001fd54
cmp dword [0x3006982c], esi
je 0x3001fd62
mov dword [ebp - 0x10], 2
jmp 0x3001fd6f
cmp dword [ebp + 8], 1
jne 0x3001fd62
cmp dword [0x3006a844], esi
je 0x3001fd6c
test byte [ebx + 0xc], 0x10
je 0x3001fe34
mov dword [ebp - 0x10], esi
lea ecx, [ebp + 0x13]
call fcn.3001ef9d
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
push esi
jmp 0x3001fdd4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x3001fd94
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push ecx
push 0
push dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
call fcn.3001ebbb
test eax, eax
pop ecx
je 0x3001fdf0
push 0x796d746c
xor edi, edi
push edi
call fcn.3001eafe
push esi
mov ecx, 0x30069838
call fcn.3001f13b
mov dword [ebp - 8], edi
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebx + 8]
call fcn.3001f1fd
add esp, 0x14
test eax, eax
je 0x3001fd80
jmp 0x3001fe1f
push esi
mov ecx, 0x30069838
call fcn.3001f0b9
test edi, edi
jne 0x3001fe1f
movzx eax, word [ebx + 0xc]
mov ecx, eax
and ecx, 0xf
cmp dword [ebp - 0x18], ecx
je 0x3001fe7b
cmp dword [ebp - 0x18], 3
jne 0x3001fe1f
cmp dword [ebp - 4], 4
jne 0x3001fe1f
and al, 0xf
cmp al, 4
je 0x3001fe7b
xor esi, esi
cmp dword [0x30069834], esi
je 0x3001fe34
push 0x300697e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [ebp + 8]
cmp dword [ebp + 8], 2
jl 0x3001fd3e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.3001ecae
add esp, 0x10
mov edi, eax
cmp dword [ebp - 0xc], 0
je 0x3001fe6a
push dword [ebp - 0xc]
call fcn.3001e62e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x30069834], 0
je 0x3001fe5c
push 0x300697e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3001fe5c
Function at 0x30020187
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x3002019f
xor eax, eax
jmp 0x30020316
mov eax, dword [esi]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
je 0x300201b7
push eax
call fcn.30028a9c
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], ebx
push edi
or edi, 0xffffffff
cmp dword [ebp - 8], ebx
jne 0x300201d4
cmp dword [0x3006982c], ebx
je 0x300201e2
mov dword [ebp - 0x1c], 2
jmp 0x300201ef
cmp dword [ebp - 8], 1
jne 0x300201e2
cmp dword [0x3006a844], ebx
je 0x300201ec
test byte [esi + 0xc], 0x10
je 0x300202b0
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x10], ebx
call fcn.3001ef9d
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
jmp 0x30020278
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov esi, dword [ebp - 0x10]
jne 0x30020217
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], 2
mov edi, eax
jae 0x30020242
cmp dword [ebp - 0x14], 1
je 0x3002023f
cmp dword [ebp - 0x14], 2
jne 0x30020242
push 2
pop edi
push edi
call fcn.3001ebbb
test eax, eax
pop ecx
je 0x3002028b
push 0x796d746f
push ebx
call fcn.3001eafe
push esi
mov ecx, 0x30069838
call fcn.3001f13b
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.3001f1fd
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x3002020b
jmp 0x3002029a
push esi
mov ecx, 0x30069838
call fcn.3001f0b9
cmp edi, ebx
je 0x300202bf
cmp dword [0x30069834], ebx
je 0x300202ad
push 0x300697e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + 8]
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x300201bb
jmp 0x300202d2
cmp dword [0x30069834], ebx
je 0x300202d6
push 0x300697e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, ebx
jne 0x300202f6
cmp dword [ebp - 0x14], 2
je 0x300202e8
mov eax, dword [ebp + 8]
mov al, byte [eax + 0xc]
and al, 0xf
cmp al, 2
jne 0x300202f6
push dword [ebp - 4]
call fcn.3001eddc
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], ebx
je 0x30020303
push dword [ebp - 0x18]
call fcn.3001e62e
cmp edi, ebx
pop edi
je 0x30020313
push dword [ebp + 8]
call fcn.3001edf7
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x300204a7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x3001c404]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x30020548
cmp dword [ebp - 0x90], 2
mov edx, dword [ebp - 0x98]
mov dword [0x30069808], edx
jne 0x3002053c
mov eax, dword [ebp - 0x9c]
cmp eax, 5
mov cx, word [ebp - 0xc]
mov dword [0x30069804], eax
mov word [0x3006980c], cx
jne 0x30020526
xor eax, eax
inc eax
cmp edx, eax
jb 0x30020548
test cx, cx
mov dword [0x30069810], eax
ja 0x3002051a
cmp edx, eax
jbe 0x3002051f
mov dword [0x30069814], eax
cmp cx, ax
jbe 0x30020548
jmp 0x30020535
jbe 0x30020548
xor eax, eax
inc eax
mov dword [0x30069810], eax
mov dword [0x30069814], eax
mov dword [0x30069818], eax
jmp 0x30020548
push 0
push 0x77617376
call fcn.3001eabf
push 0x56
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
neg eax
xor ecx, ebp
mov dword [section..data], eax
call fcn.300320dd
leave
ret

Function at 0x3002071b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x3001c404]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x30069abc], 0
je 0x3002073e
mov eax, dword [0x30069ab8]
jmp 0x300207bd
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
je 0x3002077a
test byte [ebp - 8], 0x10
je 0x3002077a
xor eax, eax
inc eax
jmp 0x300207ad
mov ecx, dword [0x30069804]
xor eax, eax
cmp ecx, 5
mov dword [0x30069ab8], eax
jg 0x30020796
jne 0x300207b2
cmp dword [0x30069808], eax
jbe 0x300207b2
lea eax, [ebp - 0xa0]
push eax
call esi
test eax, eax
je 0x300207ab
test word [ebp - 8], 0x100
jne 0x30020775
xor eax, eax
mov dword [0x30069ab8], eax
mov dword [0x30069abc], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.300320dd
leave
ret

Function at 0x30021298
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x300212de
push edi
push esi
push esi
push 0x80
push 2
push esi
push 1
push 0xc0000000
push dword [ebp + 8]
call fcn.3002bfb0
mov edi, eax
cmp edi, 0xffffffff
je 0x300212dd
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret