joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7319f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x9369f0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x731a36
cmp word [ebx], dx
jne 0x731a36
or byte [eax + edi + 0x28], 4
jmp 0x731a3b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x731b9e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x731b7e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x731a7c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x731ab2
cmp eax, edx
jae 0x731ac0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x731a57
jmp 0x731b9e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x731b79
cmp dword [ebp - 0x18], 0
je 0x731b79
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x9369f0]
test byte [eax + edi + 0x28], 0x48
je 0x731b4f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x731b13
mov word [esi], cx
jmp 0x731b4a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x9369f0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x9369f0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x9369f0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x731b9e
pop eax
cmp word [ebp - 4], ax
jne 0x731b5f
cmp esi, ebx
jne 0x731b5f
mov word [esi], ax
jmp 0x731b9b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0073666d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x731b9e
push 0xd
pop eax
jmp 0x731b5a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x9369f0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x731b98
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x731b9e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x733413
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x733452
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x733452
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x733452
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x733452
cmp dword [ecx + 0x74], 0xe
jbe 0x733452
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x73c11b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x8692f4
push 0x8692ec
push str.FlsAlloc
push 0x1f
call fcn.0073bf46
mov esi, eax
add esp, 0x10
test esi, esi
je 0x73c14f
push dword [ebp + 8]
mov ecx, esi
call dword [0x7b66b4]
call esi
jmp 0x73c155
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x73c199
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x869304
push 0x8692fc
push str.FlsGetValue
push 0x21
call fcn.0073bf46
mov esi, eax
add esp, 0x10
test esi, esi
je 0x73c1d0
push dword [ebp + 8]
mov ecx, esi
call dword [0x7b66b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x73c1d8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x86930c
push 0x869304
push str.FlsSetValue
push 0x22
call fcn.0073bf46
mov esi, eax
add esp, 0x10
test esi, esi
je 0x73c212
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x7b66b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x73eca2
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x73ece5
call fcn.00727dd0
mov dword [eax], 0xf
call fcn.00727de3
mov dword [eax], 0xd
call fcn.0072040b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fedff
leave
ret
test eax, eax
jne 0x73ecec
inc eax
jmp 0x73ecd9
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x73ecd7
xor eax, eax
cmp ecx, 1
setne al
jmp 0x73ecd9
Function at 0x74364d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x7436ea
push ebx
push esi
call fcn.00743616
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0073ee8f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x743697
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x7436e9
push edi
push eax
call fcn.0073cf2e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x7436b7
call fcn.0073bc0a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x7436e8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0073ee8f
add esp, 0x20
test eax, eax
jne 0x7436d6
push edi
call fcn.0073bc0a
jmp 0x7436de
push ebx
call fcn.0073bc0a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x7436ed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x7436fe
pop esi
ret
push ebx
push edi
push esi
call fcn.00743616
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0073cf2e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x743726
push ebx
push esi
push edi
call fcn.00717660
add esp, 0xc
push 0
call fcn.0073bc0a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x743e80
Capabilities:
Set environment variable

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

Function at 0x745d92
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0073b91f
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x745e01
cmp esi, dword [ebp - 4]
je 0x745dfc
cmp dword [ebp + 0xc], 0
je 0x745dfc
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x745dd9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.007458e4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x745e03
xor eax, eax
inc eax
jmp 0x745e03
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x745e68
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0073b91f
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0073b91f
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x745edf
cmp word [ecx], dx
je 0x745edf
mov eax, dword [0x86dadc]
push edi
dec eax
push eax
push 0x86d9c8
call fcn.00745e07
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x745f52
cmp word [eax], dx
je 0x745f52
mov eax, dword [edi]
test eax, eax
je 0x745f03
cmp word [eax], dx
je 0x745f03
lea eax, [ebp - 0x10]
push eax
call fcn.007457ea
jmp 0x745f0c
lea eax, [ebp - 0x10]
push eax
call fcn.00745885
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x745f7c
mov eax, dword [0x86d9c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x86d6b8
call fcn.00745e07
add esp, 0xc
test al, al
je 0x745f7c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x745f47
cmp word [eax], di
je 0x745f47
lea eax, [ebp - 0x10]
push eax
call fcn.007457ea
pop ecx
jmp 0x745f7e
lea eax, [ebp - 0x10]
push eax
call fcn.00745885
jmp 0x745f44
mov eax, dword [edi]
test eax, eax
je 0x745f69
cmp word [eax], dx
je 0x745f69
lea eax, [ebp - 0x10]
push eax
call fcn.0074579f
pop ecx
jmp 0x745f7c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x746047
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00745c8c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x746047
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x746047
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x746047
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x745fd4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0073c3b4
test ebx, ebx
je 0x746042
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0073c3b4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x746047
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x746047
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00749166
add esp, 0x10
xor eax, eax
inc eax
jmp 0x746049
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret
Function at 0x76186b
Capabilities:
Reference sql statements

Disassembly:
push 0x84
mov eax, 0x7b234f
call fcn.006fee7b
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov esi, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 0x6c], esi
call fcn.00761763
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x38], eax
jne 0x7618b6
lea ecx, [esi + 0xc]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 8], reloc.WS2_32.dll_ntohs
mov byte [ecx], al
mov dword [ebp - 4], 1
jmp 0x76194f
mov ebx, str.SELECT_SerialNumber_FROM_Win32_DiskDrive_WHERE_Index_
push ebx
call fcn.00762e6b
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x68]
call fcn.00762c7a
push dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
push dword [ebp - 0x3c]
call fcn.00762da3
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.00775009
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0043fef8
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 4
je 0x76192a
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 4], 0
je 0x76192a
push dword [eax]
push esi
call fcn.0076b6fa
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
call fcn.007611f9
mov dword [ebp - 4], 7
jmp 0x76194f
and dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi], eax
lea ecx, [ebp - 0x90]
mov dword [esi + 8], reloc.WS2_32.dll_ntohs
mov byte [eax], 0
call fcn.007611f9
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.0043fef8
mov eax, esi
call fcn.006fee25
ret
Function at 0x76211f
Capabilities:
Get system information on windows

Disassembly:
push 0x88
mov eax, 0x7b24b8
call fcn.006fee7b
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], eax
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [esi], eax
mov dword [esi + 8], reloc.WS2_32.dll_ntohs
mov byte [eax], cl
mov eax, dword [edi]
mov dword [ebp - 4], ecx
mov ecx, edi
mov dword [ebp - 0x8c], 1
call dword [eax + 4]
test al, al
je 0x7621d7
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00774676
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004ae0a6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.0043fef8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0076161e
push eax
push dword [ebp - 0x90]
mov dword [ebp - 4], 3
call fcn.00762b48
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call fcn.0043fef8
mov byte [ebp - 4], 0
cmp dword [esi + 4], 0
push 5
pop edi
jne case.0x7622b1.8
mov ecx, ebx
call fcn.007733a2
test al, al
je 0x76228e
push 0x3c
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
lea ecx, [ebp - 0x2c]
call fcn.004402ae
push 0
push 0x7b6c78
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], edi
call fcn.004402ae
push 0x16
push str.PROCESSOR_ARCHITECTURE
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.004402ae
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0077320c
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004ae0a6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0043fef8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.0043fef8
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0043fef8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xc
call fcn.0043fef8
mov byte [ebp - 4], 0
cmp dword [esi + 4], 0
jne case.0x7622b1.8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x34]
push 0xd
pop ebx
cmp eax, ebx
ja case.0x7622b1.8
jmp dword [eax*4 + 0x76239b]
push 7
push str.intel32
jmp 0x76238c
push 4
push str.mips
jmp 0x76238c
push edi
push 0x7c08e4
jmp 0x76238c
push 3
push 0x8722a4
mov ecx, esi
call fcn.004405dc
mov eax, dword [ebp - 0x1c]
cmp eax, 0x259
je 0x762310
cmp eax, 0x25a
jbe case.0x7622b1.8
cmp eax, 0x25c
jbe 0x762310
cmp eax, 0x26c
jne case.0x7622b1.8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00760ab9
pop ecx
pop ecx
push dword [eax + 4]
mov ecx, esi
mov dword [ebp - 4], ebx
push dword [eax]
call fcn.0047f98d
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xe
call fcn.0043fef8
jmp case.0x7622b1.8
push 3
push 0x8722a8
jmp 0x76238c
push 3
push 0x8722ac
jmp 0x76238c
push 7
push str.intel64
jmp 0x76238c
push 7
push str.alpha64
jmp 0x76238c
push edi
push str.amd64
jmp 0x76238c
push 0xb
push str.intel32on64
jmp 0x76238c
push 7
push str.neutral
jmp 0x76238c
push edi
push str.arm64
jmp 0x76238c
push 9
push str.arm32on64
mov ecx, esi
call fcn.004405dc
mov eax, esi
call fcn.006fee25
ret
add byte [eax], al
Function at 0x771e8c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
mov edx, ecx
xor edi, edi
mov ebx, closesocket
mov esi, 0xe3
mov ecx, dword [edx + edi*4 + 4]
xor ecx, dword [edx + edi*4]
and ecx, ebx
xor ecx, dword [edx + edi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
xor eax, ecx
xor eax, dword [edx + edi*4 + 0x634]
mov dword [edx + edi*4], eax
inc edi
cmp edi, esi
jb 0x771e9d
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
xor eax, ecx
xor eax, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], eax
inc esi
cmp esi, 0x26f
jb 0x771ec7
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and dword [edx + 0x9c0], 0
and ecx, ebx
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
pop edi
pop esi
pop ebx
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
ret

Function at 0x772163
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
inc edx
cmp dword [ebp + 8], 0
mov eax, edx
cmovne eax, dword [ebp + 8]
push esi
mov dword [ecx], eax
mov esi, 0x270
mov eax, dword [ecx + edx*4 - 4]
shr eax, 0x1e
xor eax, dword [ecx + edx*4 - 4]
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx + edx*4], eax
inc edx
cmp edx, esi
jb 0x77217b
mov dword [ecx + 0x9c0], esi
pop esi
pop ebp
ret 4

Function at 0x772f8a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x85c
mov eax, 0x7b418b
call fcn.006fee7b
mov esi, ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x868], edi
and dword [ebp - 0x85c], 0
push dword [eax + 4]
push dword [eax]
call fcn.004402ae
xor eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], eax
cmp dword [esi], ecx
je 0x7730ac
mov dword [ebp - 0x864], eax
mov eax, 0x800
push eax
mov dword [ebp - 0x860], eax
lea eax, [ebp - 0x810]
push ecx
push eax
call fcn.00718210
lea eax, [ebp - 0x83c]
push ebx
push eax
call fcn.0076b681
add esp, 0x14
lea ecx, [ebp - 0x860]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x864]
push ecx
push 0
push dword [eax]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
call fcn.0043fef8
mov byte [ebp - 4], 0
test esi, esi
jne 0x7730ac
lea eax, [ebp - 0x810]
push eax
call fcn.00762e6b
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00762c7a
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.0076b6fa
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004ae0a6
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 4
call fcn.0043fef8
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 5
call fcn.0043fef8
mov eax, edi
call fcn.006fee25
ret 0xc
Function at 0x77311c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x444
mov eax, 0x7b41fa
call fcn.006fee7b
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x448], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea edx, [ebp - 0x444]
mov dword [ebp - 4], ebx
push edx
push 1
push ebx
push dword [eax]
mov dword [ebp - 0x448], 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x773204
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x44c], 3
push esi
push eax
mov dword [ebp - 0x440], 0x400
call fcn.0076b681
pop ecx
pop ecx
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
push ebx
push dword [eax]
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 1
call fcn.0043fef8
mov byte [ebp - 4], bl
test esi, esi
jne 0x7731f8
push dword [ebp - 0x450]
mov eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x410]
add eax, ecx
push eax
mov eax, ecx
mov ecx, edi
push eax
push dword [edi]
call fcn.00769ff1
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.006fee25
ret
Function at 0x77322f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x864
mov eax, 0x7b425a
call fcn.006fee7b
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x864], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x870], edi
and dword [ebp - 0x860], 0
push dword [eax + 4]
push dword [eax]
call fcn.004402ae
and dword [ebp - 4], 0
xor ecx, ecx
inc ecx
cmp dword [ebx + 4], 0
mov dword [ebp - 0x860], ecx
jne 0x77328b
mov dword [ebp - 0x85c], esi
jmp 0x7732a9
lea eax, [ebp - 0x85c]
push eax
push ecx
push 0
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x77339a
xor ecx, ecx
inc ecx
mov eax, 0x800
mov dword [ebp - 0x86c], ecx
push eax
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00718210
push dword [ebp - 0x864]
lea eax, [ebp - 0x83c]
push eax
call fcn.0076b681
add esp, 0x14
lea ecx, [ebp - 0x868]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x86c]
push ecx
push 0
push dword [eax]
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
call fcn.0043fef8
mov byte [ebp - 4], 0
test esi, esi
jne 0x773388
lea eax, [ebp - 0x810]
push eax
call fcn.00762e6b
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00762c7a
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.0076b6fa
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004ae0a6
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 4
call fcn.0043fef8
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 5
call fcn.0043fef8
cmp dword [ebx + 4], 0
je 0x77339a
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.006fee25
ret
Function at 0x784ee5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7972a7
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x8d5f40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi]
call fcn.0069bf2d
pop ecx
and dword [ebp - 4], 0
lea ecx, [esi + 0x214]
call fcn.0043fef8
lea ecx, [esi + 0x98]
call fcn.005189da
lea ecx, [esi + 0x30]
call fcn.005189da
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 1
call fcn.0043fef8
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x784f56
call fcn.00403a43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x10069281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10069290
pop dword [ebp - 0x50]
mov eax, 0x2f44baa9
add eax, 0xe0c1d7e7
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x36492
push 0
mov eax, 0x371a77b0
sub eax, 0x2712f888
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x41f1377a
sub ecx, 0x41f0f2f0
mov ebx, eax
mov esi, 0x9eed0d84
sub esi, 0x8ee4df84
add esi, dword [ebp - 0x50]
mov edi, 0x97dd26da
xor dword [ebp - 0x30], ecx
mov edx, dword [esi]
xor dword [ebp - 0x20], ebx
xor edx, edi
mov dword [ebp - 0x40], 0xb01e0aad
mov dword [ebx], edx
sub dword [ebp - 0x10], 0x89eb39f4
add ebx, 4
add esi, 0x198c4abf
sub esi, 0x198c4abb
loop 0x100692e9
add eax, 0x104fb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x90d9c614
sub ecx, 0x80d9c614
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx