joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11b0c290
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x11b595d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x11b65ac8]
push ebx
xor ebx, ebx
cmp eax, 0xffffffff
push esi
mov dword [esp + 0x10], ebx
jne 0x11b0c3f8
lea eax, [esp + 0x10]
mov dword [0x11b65ac8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, ebx
je 0x11b0c3f8
cmp dword [esp + 0x10], 2
jl 0x11b0c3f1
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x10]
call fcn.11b179e0
mov edx, dword [0x11b5c714]
mov dword [esp + 0x24], ebx
mov dword [esp + 8], edx
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.11b19330
cmp eax, 0xffffffff
je 0x11b0c356
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx - 8]
cmp eax, edx
jge 0x11b0c356
mov ecx, edx
sub ecx, eax
lea eax, [esp + 0x18]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.11b1a6c0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.11b18310
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.11b18180
mov ecx, dword [str.winrdlv3.exe]
mov edx, dword [esp + 8]
push ecx
push edx
call fcn.11b3193b
add esp, 8
cmp eax, ebx
je 0x11b0c39d
mov eax, dword [str.ingress_sdm.exe]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.11b3193b
add esp, 8
cmp eax, ebx
je 0x11b0c39d
mov edx, dword [str.ist.exe]
mov eax, dword [esp + 8]
push edx
push eax
call fcn.11b3193b
add esp, 8
cmp eax, ebx
jne 0x11b0c3d3
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x18]
call fcn.11b179e0
mov edx, dword [esp + 0x14]
push str.OAgentTray.dll_RunOAgentTray32
push edx
call fcn.11b3193b
add esp, 8
cmp eax, ebx
jne 0x11b0c3ca
mov dword [0x11b65ac8], 1
lea ecx, [esp + 0x14]
call fcn.11b18180
lea ecx, [esp + 8]
mov byte [esp + 0x24], bl
call fcn.11b18180
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.11b18180
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x11b65ac8]
push eax
push str.IsOAgentTray_1___lu_
push str.OAgentTray
push 0xffffffffffffffff
push 0x11b70a5c
call fcn.11b10f30
mov ecx, dword [esp + 0x30]
mov eax, dword [0x11b65ac8]
add esp, 0x14
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x11b0f250
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x11b745e8]
push esi
test eax, eax
jne 0x11b0f2e8
mov eax, dword [esp + 8]
cmp eax, 0x10
je 0x11b0f2bd
cmp eax, 0x5c
je 0x11b0f2bd
cmp eax, 0x5b
je 0x11b0f2bd
cmp al, 0x53
jne 0x11b0f2e8
mov eax, dword [0x11b7143c]
test eax, eax
je 0x11b0f2b1
push 0x11b0f1d0
push 0x3e8
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
push eax
push str.TimerID_is__d
push str.Thook
push 0xffffffffffffffff
push 0x11b70a5c
mov dword [0x11b745e8], eax
call fcn.11b10f30
add esp, 0x14
mov dword [0x11b7143c], 0
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x5b
call esi
test ax, ax
jl 0x11b0f2d5
push 0x5c
call esi
test ax, ax
jge 0x11b0f2e8
push 0x10
call esi
test ax, ax
jge 0x11b0f2e8
mov dword [0x11b7143c], 1
pop esi
ret

Function at 0x11b0f2f0
Capabilities:
Open clipboard

Disassembly:
mov eax, dword [0x11b74004]
mov ecx, dword [section.ThooksV3]
push ebx
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov edx, dword [0x11b74004]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push eax
mov eax, dword [section.ThooksV3]
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
push eax
push esi
push edi
push ebx
push str.ProcessSnapShotMsg_VK_SNAPSHOT_0___lu____lu____lu____lu____lu____lu____lu____lu_
push str.VKSNAPSHOT
push 0xffffffffffffffff
push 0x11b70a5c
call fcn.11b10f30
mov eax, dword [0x11b7402c]
add esp, 0x30
test eax, eax
je 0x11b0f381
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x11b0f365
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
push edi
push ebx
push str.ProcessSnapShotMsg_VK_SNAPSHOT___lu__lu__lu_
push str.VKSNAPSHOT
push 0xffffffffffffffff
push 0x11b70a5c
call fcn.11b10f30
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x11b16840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x11b1688e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x11b1688e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x11b16893
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x11b16879
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x11b168a3
test esi, esi
jne 0x11b168c1
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x11b168bf
mov byte [eax + esi - 1], 0
jne 0x11b168c8
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x11b1c020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x11b1c070
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x11b1c070
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x11b1c075
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x11b1c05b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x11b1c082
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x11b24d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x11b24da1
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11b24da3
mov esi, edi
test esi, esi
je 0x11b24e18
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11b24e0d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x11b24e0d
cmp dword [esp + 0x1c], eax
jbe 0x11b24dde
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11b24e0d
cmp esi, edi
je 0x11b24dff
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x11b24e18
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x11b24e30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
mov dword [esp + 0xc], 0
je 0x11b24e95
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11b24e95
mov ecx, dword [esp + 0x10]
mov eax, 4
cmp ecx, eax
jne 0x11b24e95
cmp dword [esp + 0x18], eax
jbe 0x11b24e7b
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x11b24e99
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x11b24f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
je 0x11b24fcf
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11b24fcf
cmp dword [esp + 0xc], 3
jne 0x11b24fcf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x11b24fcf
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11b24fcf
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x11b250b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
test esi, esi
push edi
je 0x11b25124
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11b25124
cmp dword [esp + 0x10], 3
jne 0x11b25124
mov edx, dword [esp + 0x18]
push edx
call fcn.11b30a51
mov edi, eax
add esp, 4
test edi, edi
je 0x11b25124
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11b2511b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret 8
push edi
call fcn.11b30a46
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8

Function at 0x11b25130
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x11b5a0cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11b5c710]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x11b2519b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11b2519d
mov esi, edi
test esi, esi
je 0x11b25267
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x11b2525c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x11b251df
cmp eax, 2
je 0x11b251df
cmp eax, 6
je 0x11b251df
cmp eax, 7
jne 0x11b2525c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.11b30a51
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebp
jne 0x11b25242
lea ecx, [esp + 0x14]
call fcn.11b13060
cmp esi, dword [esp + 0x14]
je 0x11b25237
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.11b30a46
add esp, 4
jmp 0x11b25279
call fcn.11b30a46
add esp, 4
lea ecx, [esp + 0x10]
push 0x11b6d0d8
call fcn.11b13060
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x11b25267
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11b25279
push eax
lea ecx, [esp + 0x14]
call fcn.11b13060
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.11b123d0
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.11b12e00
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x11b25e90
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x11b25ebc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x11b25ebc
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc

Function at 0x11b25fe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11b5a198
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x11b26036
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11b26039
mov esi, dword [ebp + 8]
test esi, esi
je 0x11b26123
call fcn.11b2f3b0
test eax, eax
je 0x11b260be
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x11b26087
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
lea eax, [ebx + ebx]
add eax, 3
and al, 0xfc
call fcn.11b30a60
mov edi, esp
test edi, edi
je 0x11b26087
mov eax, dword [ebp + 0x10]
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x11b26089
xor edi, edi
mov ebx, dword [ebp + 0x18]
push ebx
call fcn.11b30f25
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x11b26117
cmp esi, dword [ebp + 8]
je 0x11b260b7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x11b26125
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x18]
push edx
call fcn.11b126a0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [ebp + 0x10]
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x11b26108
cmp esi, dword [ebp + 8]
je 0x11b260f2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.11b12e00
mov eax, 1
jmp 0x11b26125
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.11b12e00
cmp esi, dword [ebp + 8]
je 0x11b26123
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11b2e8c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11b5a95f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x11b5c710]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], 1
mov cl, byte [eax + 0xf]
mov dl, byte [eax + 0xe]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xd]
mov dl, byte [eax + 0xc]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xb]
mov dl, byte [eax + 0xa]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 9]
mov dl, byte [eax + 8]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 6]
mov dx, word [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str._08lX__04lX__04lX__02lX_02lX__02lX_02lX_02lX_02lX_02lX_02lX
push ecx
call fcn.11b15c60
mov esi, dword [esp + 0x50]
add esp, 0x34
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.11b123d0
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.11b12e00
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x11b2edb0
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x11b718b4]
test eax, eax
jne 0x11b2ee9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x11b71750
mov dword [0x11b718b4], 1
mov dword [0x11b71750], 0x94
call esi
mov edx, dword [0x11b71760]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x11b66f58], eax
je 0x11b2ee7e
push edi
push 0x11b717e8
mov dword [0x11b717e8], 0x9c
call esi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x11b718ac], eax
call edi
mov dword [0x11b718b0], eax
mov eax, dword [0x11b718ac]
pop edi
test eax, eax
push 0x11b71888
je 0x11b2ee4c
call eax
jmp 0x11b2ee52
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x11b717ec]
cmp eax, 6
jae 0x11b2ee6a
cmp eax, 5
jne 0x11b2ee7e
cmp dword [0x11b717f0], 2
jb 0x11b2ee7e
cmp word [0x11b71888], 9
jne 0x11b2ee7e
mov dword [0x11b71744], 1
push 0x11b71758
push 0x11b71754
call fcn.11b2f1d0
add esp, 8
call fcn.11b2eeb0
mov eax, 1
pop esi
ret
mov eax, 1
ret
Function at 0x11b2feb0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11b5cd60
push 0x11b3331c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x11b718b8]
xor ebx, ebx
cmp eax, ebx
jne 0x11b30010
mov byte [ebp - 0x11c], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x11b3000b
mov byte [ebp - 0x224], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.user32.dll
lea ecx, [ebp - 0x11c]
push ecx
push str._s_s
lea edx, [ebp - 0x224]
push edx
call fcn.11b316b5
add esp, 0x10
mov dword [ebp - 0x22c], ebx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x120], eax
push eax
call fcn.11b30a51
add esp, 4
mov esi, eax
mov dword [ebp - 0x238], esi
cmp esi, ebx
je 0x11b3000b
push esi
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x11b30002
mov dword [ebp - 0x230], ebx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x11b30002
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov ecx, dword [eax]
mov dword [0x11b718b8], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x11b30002
push esi
call fcn.11b30a46
add esp, 4
mov eax, dword [0x11b718b8]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11b47bb0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x11b47bfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x11b47bfb
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.11b30a51
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.11b30a51
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x11b47c40
test esi, esi
je 0x11b47c51
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x11b47c4d
push esi
call fcn.11b30a46
add esp, 4
test ebx, ebx
jne 0x11b47c60
mov edi, dword [edi]
test edi, edi
je 0x11b47c60
push edi
call fcn.11b30a46
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x11b52df0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jne 0x11b52e0c
xor eax, eax
pop ebx
add esp, 0x104
ret
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.11b30f80
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.11b311d0
mov esi, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x11b52e90
cmp byte [esp + 0x10], 0x5c
jne 0x11b52e90
cmp byte [esp + 0x11], 0x5c
jne 0x11b52e90
lea edx, [esp + 0x12]
push 0x5c
push edx
call fcn.11b311d0
add esp, 8
test eax, eax
je 0x11b52f0e
inc eax
push 0x5c
push eax
call fcn.11b311d0
add esp, 8
mov esi, eax
test esi, esi
je 0x11b52f0e
lea eax, [esp + 0x10]
mov byte [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x11b52ed2
test bl, 1
je 0x11b52ec1
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 0xfffffffe
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x11b52f44
cmp ebx, 0xffffffff
je 0x11b52edb
test edi, edi
jne 0x11b52eea
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
test ebp, ebp
je 0x11b52f44
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.11b311d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x11b52e94
test ebp, ebp
je 0x11b52f44
mov ebx, dword [esp + 0x118]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x11b52f39
test al, 0x10
jne 0x11b52f44
test al, 1
je 0x11b52f2c
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x11b52f44
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret