joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006710
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x848], eax
cmp dword [edi + 0x10], 3
jb 0x1000690a
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x810], 0
mov eax, edi
movups xmmword [ebp - 0x820], xmm0
jb 0x1000676a
mov eax, dword [edi]
lea ecx, [ebp - 0x830]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10006784
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x838], eax
test eax, eax
je 0x1000690a
lea esi, [eax + 2]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10094456
add esp, 4
mov dword [ebp - 0x834], eax
lea ecx, [esi + esi]
mov esi, eax
push ecx
push 0
push esi
call fcn.10096b80
add esp, 0xc
mov bl, 1
cmp dword [edi + 0x14], 8
jb 0x100067da
mov edi, dword [edi]
mov eax, dword [ebp - 0x838]
push esi
inc eax
push eax
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x10006810
push esi
xor bl, bl
call fcn.10093f36
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x840]
mov dword [ebp - 0x838], 0
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x100067f0
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.10096b80
mov eax, dword [ebp - 0x83c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1000685e
mov eax, dword [eax]
mov ecx, dword [ebp - 0x840]
push eax
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_s
push 0xffffffffffffffff
lea eax, [ebp - 0x80c]
push 0x400
push eax
call fcn.10005e90
add esp, 0x1c
mov dword [ebp - 0x844], 0
lea eax, [ebp - 0x844]
mov dword [ebp - 0x834], 0
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x80c]
push eax
push esi
call edi
test eax, eax
je 0x100067f0
mov edi, dword [ebp - 0x834]
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100068d0
sub edx, ecx
mov ecx, dword [ebp - 0x848]
sar edx, 1
push edx
push edi
call fcn.10004af0
push esi
call fcn.10093f36
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10093f25
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10009ac0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c65dd
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
call fcn.10010e70
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.10011770
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
call fcn.10011a70
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009b80
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10004af0
push 0xe
push str.2345Explorer_
mov ecx, esi
mov dword [ebp - 0x220], 1
call fcn.10005970
lea ecx, [ebp - 0x21c]
call fcn.10010ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1000df00
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x20
mov eax, dword [0x1010d03c]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x18], ebx
mov byte [esp + 0x13], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
test eax, eax
je 0x1000e0d1
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100ed758
push eax
call ebp
mov dword [esp + 0x28], eax
test eax, eax
je 0x1000e0d1
mov ecx, dword [esi]
mov dword [esp + 0x1c], 0
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x1000e0d1
push 0x100ed738
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x1000e0d1
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov ecx, dword [ecx]
or ecx, 0x20019
push ecx
mov ecx, dword [esp + 0x1c]
push 0
call fcn.10004ac0
push eax
push 0x80000002
call edi
test eax, eax
jne 0x1000e0d1
mov dword [esp + 0x20], eax
mov ecx, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.10004ac0
push eax
push dword [esp + 0x30]
call dword [esp + 0x40]
movzx ebx, byte [esp + 0x13]
test eax, eax
mov eax, dword [esi]
mov ecx, 1
cmove ebx, ecx
mov eax, dword [eax + 4]
test eax, eax
je 0x1000dff7
push 0x100ed76c
push eax
call ebp
test eax, eax
je 0x1000dff7
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1000dff7
push ecx
call eax
test bl, bl
je 0x1000e0d1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.1000dde0
test al, al
je 0x1000e0d1
mov edi, dword [esp + 0x20]
test edi, edi
je 0x1000e09c
mov eax, dword [esi]
mov eax, dword [eax + 4]
test eax, eax
je 0x1000e09c
push 0x100ed758
push eax
call ebp
mov ecx, dword [esi]
push str.RegDeleteValueW
mov dword [esp + 0x24], eax
push dword [ecx + 4]
call ebp
cmp dword [esp + 0x20], 0
mov ebx, eax
je 0x1000e09c
test ebx, ebx
je 0x1000e09c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0
push eax
push 0
mov dword [esp + 0x34], 0
call fcn.10004ac0
push eax
push edi
call dword [esp + 0x38]
cmp eax, 2
je 0x1000e09c
mov ecx, dword [esp + 0x18]
call fcn.10004ac0
push eax
push edi
call ebx
test eax, eax
sete bl
jmp 0x1000e09e
xor bl, bl
mov eax, dword [esi]
mov eax, dword [eax + 4]
test eax, eax
je 0x1000e0ba
push 0x100ed76c
push eax
call ebp
test eax, eax
je 0x1000e0ba
test edi, edi
je 0x1000e0ba
push edi
call eax
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10093f25
add esp, 0x20
ret 0xc
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10093f25
add esp, 0x20
ret 0xc
Function at 0x1000ec90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6d28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10004890
test al, al
je 0x1000ecd0
xor al, al
jmp 0x1000ee04
push esi
lea ecx, [ebp - 0x2c]
call fcn.10006950
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.100149c0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000edf1
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100206c0
test al, al
je 0x1000ed31
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
cmp esi, 0xffffffff
jne 0x1000edf1
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
cmp eax, 2
jbe 0x1000eded
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
lea ecx, [ebp - 0x2c]
lea ebx, [eax - 1]
call fcn.10004ad0
mov esi, eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000ed76
mov ecx, dword [esi]
cmp word [ecx + ebx*2], 0x5c
je 0x1000ed95
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
cmp dword [esi + 0x14], 8
jb 0x1000ed8d
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
jne 0x1000eded
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.100149c0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000edf1
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100206c0
test al, al
je 0x1000eddc
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
cmp esi, 0xffffffff
jne 0x1000edf1
xor bl, bl
jmp 0x1000edf3
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1000ee20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6d28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10004890
test al, al
je 0x1000ee60
xor al, al
jmp 0x1000ef9a
push esi
lea ecx, [ebp - 0x2c]
call fcn.10006950
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.100149c0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000eece
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100206c0
test al, al
je 0x1000eebd
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
cmp ebx, 0xffffffff
je 0x1000eed7
test bl, 0x10
je 0x1000ef87
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
cmp eax, 2
jbe 0x1000ef83
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
lea ecx, [ebp - 0x2c]
lea ebx, [eax - 1]
call fcn.10004ad0
mov esi, eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000ef07
mov ecx, dword [esi]
cmp word [ecx + ebx*2], 0x5c
je 0x1000ef26
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
cmp dword [esi + 0x14], 8
jb 0x1000ef1e
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
jne 0x1000ef83
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.100149c0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000ef7e
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100206c0
test al, al
je 0x1000ef6d
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
cmp ebx, 0xffffffff
je 0x1000ef83
test bl, 0x10
je 0x1000ef87
xor bl, bl
jmp 0x1000ef89
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1000efc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6d60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10004890
test al, al
je 0x1000efff
xor al, al
jmp 0x1000f089
push esi
lea ecx, [ebp - 0x2c]
call fcn.10006950
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.100149c0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000f06d
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100206c0
test al, al
je 0x1000f05c
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call esi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
cmp ebx, 0xffffffff
je 0x1000f076
test bl, 0x10
je 0x1000f076
mov bl, 1
jmp 0x1000f078
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1000f520
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6e50
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.10004890
test al, al
je 0x1000f560
xor al, al
jmp 0x1000f71b
push edi
call fcn.1000efc0
add esp, 4
test al, al
je 0x1000f574
mov al, 1
jmp 0x1000f71b
push 0
mov ecx, edi
call fcn.10004ac0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x1000f5c3
lea ecx, [ebp - 0x2c]
call fcn.10004950
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.100206c0
test al, al
je 0x1000f5b4
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
push edi
call fcn.1000efc0
add esp, 4
test al, al
jne 0x1000f56d
mov ecx, edi
call fcn.10004ae0
xor esi, esi
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1000f6bc
mov ecx, edi
call fcn.10004ad0
mov ebx, eax
nop dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, ebx
cmp ecx, 8
jb 0x1000f5fc
mov eax, dword [ebx]
mov edx, 0x2f
cmp dx, word [eax + esi*2]
mov edx, 0x5c
je 0x1000f61f
mov eax, ebx
cmp ecx, 8
jb 0x1000f615
mov eax, dword [ebx]
cmp dx, word [eax + esi*2]
jne 0x1000f6ac
push esi
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1000d2e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10004890
test al, al
jne 0x1000f69d
lea eax, [ebp - 0x2c]
push eax
call fcn.1000ec90
add esp, 4
test al, al
jne 0x1000f69d
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000f69d
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100206c0
test al, al
je 0x1000f691
push 0
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
inc esi
cmp esi, dword [ebp - 0x48]
jb 0x1000f5f0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.1000ec90
add esp, 4
test al, al
jne 0x1000f712
push 0
mov ecx, edi
call fcn.10004ac0
push eax
call ebx
test eax, eax
jne 0x1000f712
lea ecx, [ebp - 0x44]
call fcn.10004950
mov dword [ebp - 4], 3
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.100206c0
test al, al
je 0x1000f703
push 0
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100048a0
push edi
call fcn.1000efc0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x10010e70
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x1010d03c]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.10093f3b
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.10096b80
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x10010ecc
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.10093f25
add esp, 0x120
ret
Function at 0x10013d80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c76db
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x10013db9
call fcn.10013f20
cmp byte [0x10110204], 0
jne 0x10013dcc
mov eax, 0x80000001
jmp 0x10013efc
mov eax, dword [esi]
test eax, eax
jne 0x10013e4c
push 8
call fcn.10093f3b
mov edi, eax
add esp, 4
mov dword [ebp - 0x138], edi
mov dword [ebp - 4], 0
push 1
call fcn.10093f3b
add esp, 4
mov dword [edi + 4], eax
mov byte [eax], 0
lea eax, [ebp - 0x130]
push 0x118
push 0
push eax
call fcn.10096b80
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10013e3b
cmp dword [ebp - 0x130], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x10013eeb
call fcn.10011c50
test al, al
jne 0x10013e86
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.100121b0
test al, al
je 0x10013eeb
mov ecx, dword [esi]
add ecx, 4
call fcn.10011770
call fcn.10011c50
test al, al
je 0x10013eeb
push str.Advapi32.dll
lea ecx, [ebp - 0x150]
call fcn.10004900
mov dword [ebp - 4], 2
lea eax, [ebp - 0x150]
push eax
call fcn.1001ad80
mov ecx, eax
call fcn.1001ae40
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.100048a0
test edi, edi
je 0x10013eeb
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10013eeb
push dword [esi]
push dword [ebp + 8]
call eax
test eax, eax
je 0x10013eeb
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x10013efa
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 4

Function at 0x10014610
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x10014626
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov ecx, dword [esp + 8]
mov word [esi + 4], 0
call fcn.10004890
test al, al
jne 0x10014644
mov ecx, dword [esp + 8]
call fcn.10004ac0
jmp 0x10014646
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x10014668
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10014668
mov byte [esi + 5], 1
cmp dword [esi], 0
pop esi
setne al
ret 4
Function at 0x10014680
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7838
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x100146c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.1001e530
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x100146ef
lea ebx, [esi + 8]
jmp 0x100146f1
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.10004890
test al, al
jne 0x10014707
mov ecx, dword [ebp - 0x18]
call fcn.10004ac0
jmp 0x10014709
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1001472a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001472a
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x10014753
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10014768
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1009441c
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 4
Function at 0x100147a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7868
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x100147e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.1001e5f0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x10014810
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
jmp 0x10014817
mov dword [ebp - 0x18], 0
mov ecx, ebx
call fcn.10004890
test al, al
jne 0x1001482b
mov ecx, ebx
call fcn.10004ac0
jmp 0x1001482d
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test eax, eax
jne 0x1001487e
call ecx
cmp eax, 5
jne 0x10014878
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.10004890
test al, al
jne 0x10014868
mov ecx, ebx
call fcn.10004ac0
jmp 0x1001486a
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
test eax, eax
je 0x1001489c
call ecx
cmp eax, 0xb7
jne 0x10014891
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.10012530
mov eax, dword [edi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x100148c2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100148d7
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1009441c
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 4