joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066bf0
Capabilities:
Check if file exists
Move file

Disassembly:
push ecx
push ebp
push esi
test ebx, ebx
je 0x10066cd8
test edi, edi
je 0x10066cd8
cmp byte [ebx], 0
je 0x10066cd8
cmp byte [edi], 0
je 0x10066cd8
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push edi
push ebx
call esi
cmp eax, 1
jne 0x10066c2d
mov eax, 1
pop esi
pop ebp
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10066cd8
cmp eax, 0xb7
jne 0x10066c58
mov eax, edi
call fcn.1005ad10
cmp eax, 1
jne 0x10066c58
push edi
push ebx
call esi
cmp eax, 1
je 0x10066c24
xor ebp, ebp
push ebp
push ebp
xor edx, edx
mov ecx, edi
call fcn.10060eb0
add esp, 8
test eax, eax
jne 0x10066c76
mov esi, edi
lea ebp, [eax + 1]
call fcn.10088c50
mov esi, ebx
mov dword [esp + 8], 0x28
call fcn.1006a6c0
test eax, eax
je 0x10066c94
mov esi, edi
call fcn.1006a6c0
test eax, eax
jne 0x10066c9c
mov dword [esp + 8], 1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x28
call esi
test ebp, ebp
je 0x10066cb5
mov eax, edi
call fcn.1005ad10
push 0xa
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, 1
je 0x10066c24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10066cd8
sub dword [esp + 8], 1
jne 0x10066ca2
pop esi
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x10066ce0
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ecx
push esi
mov eax, edi
call fcn.1005ad10
test eax, eax
jne 0x10066d02
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x10066d0a
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop esi
pop ecx
ret
mov eax, edi
call fcn.100611f0
cmp eax, 0xffffffff
je 0x10066d26
test al, 7
je 0x10066d26
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, edi
call fcn.1005ad10
test eax, eax
jne 0x10066d02
call esi
mov esi, eax
cmp esi, 2
je 0x10066cfa
cmp dword [esp + 0xc], 0
je 0x10066d4a
push edi
call fcn.10066990
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x10066e50
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x90
lea eax, [esp + 0x10]
push 0
push eax
mov byte [ebx], 0
call fcn.1012e060
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xc], 6
jb 0x10066f52
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp]
push edx
push 0x18
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10066f52
mov ecx, dword [esp]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x19
push ecx
call edi
test eax, eax
jne 0x10066f47
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10066f47
mov edx, dword [esp + 8]
push esi
push 4
push edx
call fcn.1006aa20
mov esi, eax
add esp, 8
test esi, esi
je 0x10066f46
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push esi
push 0x19
push edx
call edi
test eax, eax
je 0x10066f3d
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov cl, byte [eax]
mov eax, dword [esi]
dec cl
movzx edx, cl
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov eax, dword [eax]
cmp eax, 0x2000
jae 0x10066f31
mov byte [ebx], 1
jmp 0x10066f3d
cmp eax, 0x3000
sbb cl, cl
add cl, 3
mov byte [ebx], cl
push esi
call fcn.1006a910
add esp, 4
pop esi
lea edx, [esp + 4]
push edx
call fcn.10082e10
pop edi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
xor eax, eax
call fcn.10127db1
add esp, 0xa0
ret
Function at 0x10067610
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
lea eax, [esp + 8]
push eax
xor ebp, ebp
push str.SystemCurrentControlSetControlProductOptions
xor ebx, ebx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100676f5
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x100676f4
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x100676f4
push edi
push 6
push eax
call fcn.1006aa20
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x100676f3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x20]
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x100676e4
cmp dword [esp + 0x18], 7
jne 0x100676e4
mov esi, edi
cmp byte [edi], bl
je 0x100676e4
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esp, [esp]
push str.Terminal_Server
push esi
call ebp
test eax, eax
je 0x100676dc
push esi
call ebx
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x100676c0
jmp 0x100676e4
mov dword [esp + 0x1c], 1
push edi
call fcn.1006a910
mov ebx, dword [esp + 0x20]
add esp, 4
xor ebp, ebp
pop edi
pop esi
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x10067704
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret

Function at 0x100677f0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp dword [0x101c85f8], 0
je 0x10067827
mov eax, dword [0x101c85fc]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10127db1
add esp, 0xa0
ret
push 0x9c
lea eax, [esp + 4]
push 0
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10067869
or eax, 0xffffffff
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10127db1
add esp, 0xa0
ret
mov edx, 2
mov eax, 1
mov dword [0x101c85f8], eax
cmp dword [esp + 0x10], edx
je 0x1006789f
mov dword [0x101c85fc], 0
xor eax, eax
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10127db1
add esp, 0xa0
ret
mov cl, byte [esp + 0x9a]
cmp cl, al
jne 0x100678e3
cmp dword [esp + 4], 5
jb 0x100678c6
cmp dword [esp + 8], eax
jb 0x100678c6
mov ecx, 0x200
cmp word [esp + 0x98], cx
je 0x10067900
mov dword [0x101c85fc], edx
mov eax, edx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10127db1
add esp, 0xa0
ret
mov eax, 3
cmp cl, al
jne 0x10067900
mov edx, 0x80
cmp word [esp + 0x98], dx
jne 0x10067900
mov eax, 4
mov ecx, dword [esp + 0x9c]
xor ecx, esp
mov dword [0x101c85fc], eax
call fcn.10127db1
add esp, 0xa0
ret
Function at 0x1006a320
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101814d8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
je 0x1006a4f4
mov al, byte [ecx]
test al, al
je 0x1006a4f4
cmp al, 0x5c
je 0x1006a4f4
mov dl, 0x3a
cmp byte [ecx + 1], dl
jne 0x1006a4f4
cmp al, 0x61
jl 0x1006a387
cmp al, 0x7a
jg 0x1006a387
sub al, 0x20
mov bl, al
sub al, 0x41
cmp al, 0x19
ja 0x1006a4f4
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0
mov dword [ebp - 4], esi
jmp 0x1006a3b0
push 1
push 0x101b5970
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x1006a3ca
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006a3b0
cmp dword [0x101b5968], esi
jne 0x1006a402
mov dword [0x101b5968], 1
xor eax, eax
mov dword [0x101cd6cc], eax
mov dword [0x101cd6d0], eax
mov dword [0x101cd6d4], eax
mov dword [0x101cd6d8], eax
mov dword [0x101cd6dc], eax
mov dword [0x101cd6e0], eax
mov word [0x101cd6e4], ax
movsx esi, bl
sub esi, 0x41
mov al, byte [esi + 0x101cd6cc]
cmp al, 1
jne 0x1006a426
mov edi, 3
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x1006a4af
cmp al, 2
je 0x1006a47c
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 2
jne 0x1006a44d
mov byte [esi + 0x101cd6cc], al
mov dword [ebp - 4], 0xfffffffe
jmp 0x1006a4af
cmp edi, 3
jne 0x1006a484
mov cl, bl
call fcn.10085ee0
test eax, eax
setne dl
inc dl
mov byte [esi + 0x101cd6cc], dl
mov al, dl
cmp al, 1
jne 0x1006a478
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x1006a4af
cmp al, 2
jne 0x1006a484
mov edi, 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x1006a4af
cmp dword [0x101b596c], 0
jne 0x1006a4d3
mov dword [0x101b596c], 1
push 0
push 0
push 0x1006a2c0
call fcn.10127f7d
add esp, 0xc
push 0
push 0x101b5970
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006ac60
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push edi
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x1006ad6a
cmp byte [ebx], 0
je 0x1006ad6a
lea edi, [esp + 0x10]
call fcn.100812b0
cmp eax, 1
jne 0x1006acd9
test esi, esi
je 0x1006acae
mov ecx, dword [esp + 0x30]
mov dword [esi], ecx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1006acc3
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
push 0x80
push 3
push 1
push bind
mov edi, ebx
call fcn.1005aa40
mov edi, eax
add esp, 0x10
mov dword [esp + 8], edi
cmp edi, 0xffffffff
je 0x1006ad1a
mov edx, dword [esp + 0xc]
push edx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1006ad3e
lea eax, [esp + 8]
push eax
call fcn.10082e10
push 1
push 0
mov edx, esi
mov ecx, ebx
call fcn.10060eb0
add esp, 8
pop edi
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1006ad4d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi], eax
lea ecx, [esp + 8]
push ecx
call fcn.10082e10
test esi, esi
je 0x1006acc3
cmp dword [esi], 0xffffffff
jne 0x1006acc3
jmp 0x1006ad1a
mov ecx, dword [esp + 0x154]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10127db1
mov esp, ebp
pop ebp
ret

Function at 0x1006b1f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push 0x103
lea eax, [esp + 0x15]
push 0
push eax
mov dword [esp + 0x10], 0
mov byte [esp + 0x1c], 0
call fcn.1012e060
call fcn.1006b040
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and esi, 0x100
push ecx
add esi, 0x20019
call fcn.10127dc0
add esp, 0x14
lea edx, [esp + 8]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push reloc.WS2_32.dll_bind
call fcn.1007ebc0
pop esi
test eax, eax
jne 0x1006b295
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x1016ab7c
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, dword [esp]
xor ecx, esp
call fcn.10127db1
add esp, 0x114
ret
Function at 0x1006b2b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
call fcn.1006b040
neg eax
sbb eax, eax
and eax, 0x100
lea ecx, [esp]
push ecx
add eax, 0x20019
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call fcn.1007ebc0
test eax, eax
jne 0x1006b30d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
lea edx, [esp + 4]
push edx
push eax
push 0
push 0
push str.DisplayVersion
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x1006b610
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x101c8630], 0
je 0x1006b647
mov eax, dword [0x101c8634]
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x101c8630], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 2
cmp dword [esp + 0x10], ecx
jne 0x1006b6bc
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x1006b6bc
jbe 0x1006b6b1
mov dword [0x101c8634], 1
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret
cmp eax, 5
jne 0x1006b6bc
cmp dword [esp + 8], ecx
jae 0x1006b68d
mov ecx, dword [esp + 0x94]
xor ecx, esp
mov dword [0x101c8634], 0
xor eax, eax
call fcn.10127db1
add esp, 0x98
ret

Function at 0x1006b740
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x101c8638], 0
je 0x1006b777
mov eax, dword [0x101c863c]
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret
push esi
push 0x90
lea eax, [esp + 0xc]
push 0
mov esi, 1
push eax
mov dword [0x101c8638], esi
call fcn.1012e060
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x1006b7e5
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x1006b7e5
ja 0x1006b7c7
cmp eax, 5
jne 0x1006b7e5
cmp dword [esp + 0xc], esi
jb 0x1006b7e5
mov dword [0x101c863c], esi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10127db1
add esp, 0x98
ret

Function at 0x1006b820
Capabilities:
Check os version

Disassembly:
sub esp, 0x12c
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x128], eax
cmp dword [0x101c8640], 0
jne 0x1006b8e9
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x101c8640], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 2
cmp dword [esp + 0x10], ecx
jne 0x1006b8e9
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x1006b88d
jne 0x1006b8e9
cmp dword [esp + 8], ecx
jb 0x1006b8e9
push 0x90
lea edx, [esp + 0x9c]
push 0
push edx
mov dword [esp + 0xa0], 0
call fcn.1012e060
add esp, 0xc
xor edx, edx
lea ecx, [esp + 0x94]
call fcn.1005a1e0
cmp eax, 1
jne 0x1006b8e9
mov eax, dword [esp + 0x98]
cmp eax, 6
jne 0x1006b8da
cmp dword [esp + 0x9c], 3
jae 0x1006b8df
jmp 0x1006b8e9
cmp eax, 0xa
jb 0x1006b8e9
mov dword [0x101c8644], 1
mov ecx, dword [esp + 0x128]
mov eax, dword [0x101c8644]
xor ecx, esp
call fcn.10127db1
add esp, 0x12c
ret
Function at 0x1006b910
Capabilities:
Check os version

Disassembly:
sub esp, 0x13c
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x138], eax
cmp dword [0x101c8648], 0
je 0x1006b95f
mov eax, dword [0x101c864c]
test esi, esi
je 0x1006ba1f
test eax, eax
je 0x1006ba1f
mov ecx, dword [0x101c8650]
mov dword [esi], ecx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.10127db1
add esp, 0x13c
ret
push 0x90
lea edx, [esp + 0xc]
push 0
push edx
call fcn.1012e060
add esp, 0xc
lea eax, [esp + 4]
push eax
mov dword [0x101c8648], 1
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 2
cmp dword [esp + 0x14], ecx
jne 0x1006ba1a
mov eax, dword [esp + 8]
cmp eax, 6
ja 0x1006b9ac
jne 0x1006ba1a
cmp dword [esp + 0xc], ecx
jb 0x1006ba1a
push 0x90
lea ecx, [esp + 0xa4]
push 0
push ecx
mov dword [esp + 0xa8], 0
call fcn.1012e060
add esp, 0xc
xor edx, edx
lea ecx, [esp + 0x9c]
call fcn.1005a1e0
cmp eax, 1
jne 0x1006ba1a
mov eax, dword [esp + 0xa0]
cmp eax, 6
jne 0x1006b9f9
cmp dword [esp + 0xa4], 4
jae 0x1006b9fe
jmp 0x1006ba1a
cmp eax, 0xa
jb 0x1006ba1a
mov eax, dword [esp + 0xa8]
mov dword [0x101c8650], eax
test esi, esi
je 0x1006ba10
mov dword [esi], eax
mov dword [0x101c864c], 1
mov eax, dword [0x101c864c]
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.10127db1
add esp, 0x13c
ret

Function at 0x1006bad0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x101c8664], 0
jne 0x1006bb40
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x101c8664], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x1006bb40
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x1006bb36
jne 0x1006bb40
cmp dword [esp + 8], 1
jb 0x1006bb40
mov dword [0x101c8668], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x101c8668]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret

Function at 0x1006bb60
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x101c866c], 0
jne 0x1006bbcc
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x101c866c], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x1006bbcc
cmp dword [esp + 4], 6
jne 0x1006bbcc
cmp dword [esp + 8], 0
jne 0x1006bbcc
mov dword [0x101c8670], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x101c8670]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret
Function at 0x1006bd20
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x101c868c], 0
jne 0x1006bd9d
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x101c868c], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x1006bd9d
cmp dword [esp + 4], 5
jne 0x1006bd9d
mov eax, dword [esp + 8]
cmp eax, 1
je 0x1006bd93
cmp eax, 2
jne 0x1006bd9d
call fcn.100677f0
cmp eax, 2
jg 0x1006bd9d
mov dword [0x101c8690], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x101c8690]
xor ecx, esp
call fcn.10127db1
add esp, 0x98
ret
Function at 0x1006ecd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
xor eax, eax
push 0x10163160
push ecx
mov byte [esp + 0x10], 0
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov byte [esp + 0x19], al
call fcn.1012982a
mov esi, eax
add esp, 8
test esi, esi
je 0x1006ed5f
push ebx
push 0x10169b40
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push esi
push edi
lea eax, [esp + 0x14]
push 1
push eax
call fcn.1012a83e
push esi
mov ebx, eax
call fcn.10129ad3
add esp, 0x14
cmp ebx, edi
pop ebx
jne 0x1006ed5f
push edi
mov eax, 0x10169b40
lea ecx, [esp + 0xc]
call fcn.1005a0e0
add esp, 4
test eax, eax
jne 0x1006ed5f
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.10127db1
add esp, 0x10
ret
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10127db1
add esp, 0x10
ret
Function at 0x10071ff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [esi], 0
sub esp, 8
mov byte [edi], 0
call fcn.1006b040
test eax, eax
je 0x1007208b
lea eax, [esp + 4]
push eax
push 0x20119
push str.SoftwareLotusDomino
push reloc.WS2_32.dll_bind
call fcn.1007ebc0
test eax, eax
jne 0x1007208b
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 4]
push ecx
push edi
push eax
push eax
push str.Path
push edx
mov dword [esp + 0x1c], 0x104
call ebx
push edi
call fcn.1005f590
mov ecx, dword [esp + 0xc]
add esp, 4
lea eax, [esp + 4]
push eax
push esi
push 0
push 0
push str.DataPath
push ecx
mov dword [esp + 0x1c], 0x104
call ebx
push esi
call fcn.1005f590
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebx
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x100720a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ecx
mov byte [esi], 0
push reloc.WS2_32.dll_bind
mov byte [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x100720d6
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 4]
push edx
push edi
push 0
push 0
push str.Path
push eax
mov dword [esp + 0x1c], 0x104
call ebx
push edi
call fcn.1005f590
mov edx, dword [esp + 0xc]
add esp, 4
lea ecx, [esp + 4]
push ecx
push esi
push 0
push 0
push str.DataPath
push edx
mov dword [esp + 0x1c], 0x104
call ebx
push esi
call fcn.1005f590
mov eax, dword [esp + 0xc]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x100733a0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x730
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x72c], eax
push esi
push edi
push 0x207
lea eax, [esp + 0x1d]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x24], 0
call fcn.1012e060
push 0x207
lea ecx, [esp + 0x53d]
push 0
push ecx
mov byte [esp + 0x544], 0
call fcn.1012e060
push 0x207
lea edx, [esp + 0x341]
push 0
push edx
mov byte [esp + 0x348], 0
call fcn.1012e060
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x24
push esi
lea eax, [esp + 0x530]
push eax
mov dword [esp + 0x14], 0
call edi
push esi
lea ecx, [esp + 0x328]
push ecx
call edi
lea edx, [esp + 0x324]
push 0x5c
push edx
call fcn.10128490
add esp, 8
test eax, eax
je 0x10073456
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
call fcn.10128490
add esp, 8
test eax, eax
jne 0x10073443
push ebx
push ebp
lea eax, [esp + 0x32c]
push eax
lea ecx, [esp + 0x24]
push str.SoftwareMicrosoftWindowsCurrentVersionModuleUsage_s
push ecx
call fcn.10127dc0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
lea eax, [esp + 0x2c]
push eax
push reloc.WS2_32.dll_bind
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call ebx
test esi, esi
jne 0x100734c0
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x20]
mov eax, reloc.WS2_32.dll_bind
call fcn.10064bc0
lea edx, [esp + 0x20]
push str.SoftwareMicrosoftWindowsCurrentVersionSharedDlls
push edx
call fcn.10127dc0
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x2c]
push ecx
push reloc.WS2_32.dll_bind
call ebp
mov esi, eax
push esi
call ebx
pop ebp
pop ebx
test esi, esi
jne 0x100735ad
push 0x103
lea edx, [esp + 0x225]
push 0
push edx
mov byte [esp + 0x22c], 0
call fcn.1012e060
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x224]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x53c]
push eax
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10073585
lea edx, [esp + 0x52c]
lea esi, [eax + 1]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x72c]
xor ecx, esp
call fcn.10127db1
add esp, 0x730
ret
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x72c]
xor ecx, esp
call fcn.10127db1
add esp, 0x730
ret
mov ecx, dword [esp + 0x734]
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.10127db1
add esp, 0x730
ret