joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11095ba0
Capabilities:
Check for time delay via gettickcount
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
push eax
mov esi, ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
xor ebx, ebx
cmp dword [ebp - 0x88], 2
mov dword [esi + 0x114], ebx
jne 0x11095ce4
cmp dword [ebp - 0x94], 5
jb 0x11095ce4
cmp dword [esi + 0xc], ebx
je 0x11095ce4
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
push ebx
call dword [sym.imp.uSEr32.dll_GetDC]
mov dword [ebp - 0x244], eax
cmp eax, ebx
je 0x11095cde
push 0x1a8
lea ecx, [ebp - 0x240]
push ebx
push ecx
call fcn.11162be0
mov eax, dword [esi + 0xc]
add esp, 0xc
push ebx
lea edx, [ebp - 0x240]
push edx
push ebx
push ebx
mov dword [ebp - 0x240], 0x1a8
xor edi, edi
call eax
test eax, eax
je 0x11095cc3
lea esp, [esp]
lea ecx, [ebp - 0x21c]
push ecx
push 0x111a608c
call fcn.11081e70
add esp, 8
test eax, eax
je 0x11095c7e
mov eax, dword [esi + 0xc]
push ebx
lea edx, [ebp - 0x240]
push edx
inc edi
push edi
push ebx
call eax
test eax, eax
jne 0x11095c50
jmp 0x11095cc3
lea eax, [ebp - 0x23c]
mov edx, eax
mov ecx, esi
mov edi, 1
sub ecx, edx
mov dword [esi + 0x118], edi
lea edx, [ecx + 0x120]
jmp 0x11095ca0
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, edi
cmp cl, bl
jne 0x11095ca0
cmp dword [ebp - 0x94], 6
jb 0x11095cc3
test byte [ebp - 0x19c], 1
je 0x11095cc3
mov dword [esi + 0x11c], edi
mov edi, dword [ebp - 0x244]
mov eax, dword [esi + 8]
push esi
push 0x11095b80
push ebx
push edi
call eax
push edi
push ebx
call dword [sym.imp.uSEr32.dll_ReleaseDC]
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
cmp dword [esi + 0x114], ebx
jne 0x11095d26
push ebx
xor edi, edi
call dword [sym.imp.uSEr32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x24c], eax
call dword [sym.imp.uSEr32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x114]
mov edx, dword [ebp - 0x24c]
add ecx, ecx
lea ecx, [esi + ecx*8 + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
inc dword [esi + 0x114]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret

Function at 0x11095ee0
Capabilities:
Check for time delay via gettickcount
Check os version

Disassembly:
push ebx
push esi
xor eax, eax
push edi
mov esi, ecx
push 0x100
push eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
lea eax, [esi + 0x14]
push eax
call fcn.11162be0
add esp, 0xc
lea edi, [esi + 0x140]
mov ebx, 0x10
mov eax, dword [edi]
test eax, eax
je 0x11095f25
push eax
call fcn.11162777
add esp, 4
add edi, 4
dec ebx
jne 0x11095f16
push pe_nt_image_headers32
lea eax, [esi + 0x140]
push ebx
push eax
call fcn.11162be0
add esp, 0xc
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.11095ba0
Function at 0x11096870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x3c]
mov dword [esi], 0x111a6154
cmp edi, dword [esi + 0x40]
je 0x110968a1
mov ebx, dword [edi]
test ebx, ebx
je 0x11096899
mov ecx, ebx
call fcn.11096490
push ebx
call fcn.11162777
add esp, 4
add edi, 4
cmp edi, dword [esi + 0x40]
jne 0x11096883
mov ebx, 0x10
cmp dword [esi + 0x7c], ebx
jb 0x110968b7
mov eax, dword [esi + 0x68]
push eax
call fcn.11162777
add esp, 4
mov edi, 0xf
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], 0
mov byte [esi + 0x68], 0
cmp dword [esi + 0x60], ebx
jb 0x110968db
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.11162777
add esp, 4
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], 0
mov byte [esi + 0x4c], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x110968f9
push eax
call fcn.11162777
add esp, 4
xor eax, eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
cmp dword [esi + 0x34], ebx
jb 0x11096915
mov edx, dword [esi + 0x20]
push edx
call fcn.11162777
add esp, 4
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
cmp dword [esi + 0x18], ebx
jb 0x11096934
mov eax, dword [esi + 4]
push eax
call fcn.11162777
add esp, 4
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], 0
pop edi
mov byte [esi + 4], 0
pop esi
pop ebx
ret

Function at 0x11096950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x208], 0x200
call fcn.11162be0
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
push 0
push 0x111a6168
push esi
call dword [sym.imp.aDvapi32.DLL_RegQueryValueExA]
test eax, eax
jne 0x11096a2b
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x110969b5
sub eax, edx
je 0x11096a2b
lea esi, [edi + 0x20]
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x110969d1
mov eax, dword [esi]
jmp 0x110969d3
mov eax, esi
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.1116558e
add esp, 8
test eax, eax
je 0x11096a14
cmp dword [esi + 0x14], edi
jb 0x110969ee
mov esi, dword [esi]
lea ecx, [ebp - 0x204]
push esi
push ecx
call fcn.11165250
add esp, 8
test eax, eax
jne 0x11096a14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 4
Function at 0x11096e70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor bl, bl
cmp dword [ecx + 0x34], 0x10
lea esi, [ecx + 0x20]
push edi
mov dword [ebp - 0x118], ecx
mov byte [ebp - 0x105], bl
jb 0x11096ea1
mov eax, dword [esi]
jmp 0x11096ea3
mov eax, esi
push 0
push eax
call sub.VeRsion.DLl_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x11096fe4
push edi
call fcn.11163a11
add esp, 4
cmp dword [esi + 0x14], 0x10
mov ebx, eax
jb 0x11096ec8
mov esi, dword [esi]
push ebx
push edi
push 0
push esi
call sub.VeRsion.DLl_GetFileVersionInfoA
test eax, eax
je 0x11096fc4
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0x111a61d0
push ebx
call sub.VeRsion.DLl_VerQueryValueA
test eax, eax
je 0x11096fc4
mov edx, dword [ebp - 0x10c]
shr edx, 2
xor esi, esi
test edx, edx
jle 0x11096fc4
mov edi, dword [sym.imp.uSEr32.dll_wsprintfA]
jmp 0x11096f20
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x110], 0
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [ebp - 0x104]
push 0x111a61a4
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.VeRsion.DLl_VerQueryValueA
test eax, eax
jne 0x11096f99
mov ecx, dword [ebp - 0x10c]
inc esi
shr ecx, 2
cmp esi, ecx
jl 0x11096f20
push ebx
call fcn.11163aa5
mov al, byte [ebp - 0x105]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x110]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11096fa4
mov ecx, dword [ebp - 0x118]
sub eax, esi
push eax
push edx
add ecx, 0x3c
call fcn.11009270
mov byte [ebp - 0x105], 1
push ebx
call fcn.11163aa5
mov al, byte [ebp - 0x105]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11097130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], 0x200
call fcn.11162be0
mov edi, dword [sym.imp.aDvapi32.DLL_RegQueryValueExA]
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
push 0
push 0x111a61f8
push esi
call edi
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11097197
sub eax, edx
jne 0x1109720e
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x204]
push ecx
push 0
push 0
push 0x111a61ec
push esi
mov dword [ebp - 0x208], 0x200
call edi
test eax, eax
jne 0x1109720e
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x110971d3
sub eax, edx
je 0x1109720e
lea edx, [ebp - 0x204]
push 0x2c
push edx
call fcn.11165010
add esp, 8
test eax, eax
je 0x110971f6
mov byte [eax], 0
lea eax, [ebp - 0x204]
push 0x5c
push eax
call fcn.111640b0
add esp, 8
test eax, eax
je 0x1109720e
mov byte [eax], 0
lea eax, [ebp - 0x204]
pop edi
lea edx, [eax + 1]
pop esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11097220
sub eax, edx
push eax
lea ecx, [ebp - 0x204]
push ecx
mov ecx, dword [ebp - 0x20c]
add ecx, 0x4c
call fcn.11009270
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 4
Function at 0x11097ef0
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111841e0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push esi
push 0x111a6320
push 1
push 0
push 0x111a6340
call dword [sym.imp.OLE32.dlL_CoCreateInstance]
test eax, eax
jns 0x11097f4a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.11097860
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call fcn.11097860
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x11097f78
mov ecx, dword [ebx]
jmp 0x11097f7a
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x11097f90
mov ecx, dword [edi]
jmp 0x11097f92
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x30]
call eax
mov eax, dword [esi]
mov edx, dword [ebp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 1
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push bind
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x88]
push 0xffffffffffffffff
push esi
call ecx
mov esi, dword [sym.imp.KeRneL32.DLl_InterlockedDecrement]
test edi, edi
je 0x11098021
lea edx, [edi + 8]
push edx
call esi
test eax, eax
jne 0x11098021
mov eax, dword [edi]
test eax, eax
je 0x11098008
push eax
call dword [sym.imp.OLeAuT32.dLL_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x11098018
push eax
call fcn.11162bc6
add esp, 4
push edi
call fcn.11162777
add esp, 4
test ebx, ebx
je 0x11098055
lea eax, [ebx + 8]
push eax
call esi
test eax, eax
jne 0x11098055
mov eax, dword [ebx]
test eax, eax
je 0x1109803c
push eax
call dword [sym.imp.OLeAuT32.dLL_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x1109804c
push eax
call fcn.11162bc6
add esp, 4
push ebx
call fcn.11162777
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x11098830
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111842f3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x111ec774]
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 ebx, dword [ebp + 8]
push 1
xor edi, edi
push 0x111a6438
push edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], edi
call dword [sym.imp.aDvapi32.DLL_OpenSCManagerA]
mov esi, eax
mov dword [ebp - 0x44], esi
cmp esi, edi
je 0x11098a07
cmp dword [ebx + 0x14], 0x10
jb 0x1109888b
mov eax, dword [ebx]
jmp 0x1109888d
mov eax, ebx
push 1
push eax
push esi
call dword [sym.imp.aDvapi32.DLL_OpenServiceA]
mov ebx, eax
mov dword [ebp - 0x40], ebx
cmp ebx, edi
je 0x11098a00
lea eax, [ebp - 0x38]
push eax
push edi
push edi
mov dword [ebp - 0x38], edi
mov edi, dword [sym.imp.aDvapi32.DLL_QueryServiceConfigA]
push ebx
call edi
mov esi, eax
call dword [sym.imp.KeRneL32.DLl_GetLastError]
test esi, esi
jne 0x110989f3
cmp eax, 0x7a
jne 0x110989f3
mov esi, dword [ebp - 0x38]
push esi
call fcn.11163a11
mov edx, dword [ebp - 0x40]
add esp, 4
lea ecx, [ebp - 0x38]
push ecx
push esi
mov ebx, eax
push ebx
push edx
call edi
test eax, eax
je 0x110989be
mov eax, dword [ebx + 0xc]
push 0x22
push eax
call fcn.11165010
add esp, 8
test eax, eax
je 0x11098906
inc eax
jmp 0x11098909
mov eax, dword [ebx + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.11009460
push 1
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov byte [ebp - 0x30], 0x22
call fcn.1100e870
test eax, eax
jle 0x1109893a
push eax
lea ecx, [ebp - 0x2c]
call fcn.11096e40
push 1
push 0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x30], 0x2f
call fcn.1100e870
test eax, eax
jle 0x1109895c
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.11096e40
push 0x74
call fcn.111101b0
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x1109898a
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, esi
call fcn.110973b0
mov dword [esi], 0x111a6410
jmp 0x1109898c
xor esi, esi
mov edx, dword [ebx + 0x20]
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], esi
test edx, edx
je 0x110989b4
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x110989a0
sub eax, edi
je 0x110989b4
push edx
lea ecx, [esi + 0x58]
call fcn.11010a70
lea ecx, [ebp - 0x2c]
call fcn.11050bb0
jmp 0x110989e7
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
push 0x111a6418
push 0x111f2468
call fcn.11019660
add esp, 8
mov ecx, eax
call fcn.11096a50
push eax
call fcn.11019aa0
add esp, 4
push ebx
call fcn.11163aa5
mov ebx, dword [ebp - 0x40]
add esp, 4
push ebx
call dword [sym.imp.aDvapi32.DLL_CloseServiceHandle]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x34]
push esi
call dword [sym.imp.aDvapi32.DLL_CloseServiceHandle]
mov eax, edi
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.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11098d10
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push 0x111a6448
push reloc.wsOcK32.dll_bind
mov dword [ebp - 0x410], ecx
call dword [sym.imp.aDvapi32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x11098e0e
push ebx
push esi
push edi
xor bl, bl
xor edi, edi
test bl, bl
jne 0x11098dfe
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, dword [ebp - 0x408]
push 0
push 0
push 0
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x404]
push eax
push edi
push ecx
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.aDvapi32.DLL_RegEnumKeyExA]
mov esi, eax
test esi, esi
jne 0x11098df5
mov ecx, dword [ebp - 0x408]
lea edx, [ebp - 0x40c]
push edx
push 0x20019
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
call dword [sym.imp.aDvapi32.DLL_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x11098df5
mov edx, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
push edx
call fcn.11096950
test al, al
je 0x11098de8
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
push eax
call fcn.11097130
mov bl, 1
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
inc edi
test esi, esi
je 0x11098d56
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x1109b490
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x160
mov esi, ecx
lea ecx, [ebp - 0x164]
push ebx
push ecx
mov dword [ebp - 0x17c], eax
mov byte [ebp - 0x166], 1
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x170], ebx
call fcn.11162be0
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
call dword [sym.imp.ShELL32.dll_SHGetMalloc]
test eax, eax
setns cl
mov byte [ebp - 0x165], cl
cmp cl, bl
je 0x1109b60a
lea ebx, [ebx]
cmp byte [ebp - 0x166], bl
je 0x1109b604
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x170]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
sete al
mov byte [ebp - 0x166], al
cmp al, bl
je 0x1109b510
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x16c]
push edx
push eax
push edi
mov ecx, esi
call fcn.1109a7c0
mov edx, dword [ebp - 0x174]
push 0xc00
push 0x160
lea ecx, [ebp - 0x164]
push ecx
push ebx
push edx
call dword [sym.imp.ShELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x15c]
test eax, 0x20000000
je 0x1109b5a4
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
push eax
push ecx
push edi
mov ecx, esi
call fcn.1109b650
jmp 0x1109b5c0
test eax, 0x10000
je 0x1109b5c0
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x16c]
push edx
push eax
mov ecx, esi
call fcn.1109b2d0
mov ecx, dword [ebp - 0x170]
cmp ecx, ebx
je 0x1109b5d9
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [ebp - 0x16c]
cmp eax, ebx
je 0x1109b5ea
push eax
call dword [sym.imp.OLE32.dlL_CoTaskMemFree]
mov eax, dword [ebp - 0x174]
cmp eax, ebx
je 0x1109b510
push eax
call dword [sym.imp.OLE32.dlL_CoTaskMemFree]
jmp 0x1109b510
mov cl, byte [ebp - 0x165]
mov eax, dword [ebp - 0x178]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x1109b635
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [ebp - 0x165]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 8
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 8
Function at 0x1109d590
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4158
call fcn.11164040
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
mov ebx, ecx
call fcn.11162be0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x105
call dword [sym.imp.KeRneL32.DLl_GetCurrentDirectoryA]
push edi
call dword [sym.imp.KeRneL32.DLl_SetCurrentDirectoryA]
mov edx, dword [ebx]
mov edx, dword [edx]
lea eax, [ebp - 0x4158]
push eax
mov ecx, ebx
call edx
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1109d5f5
sub eax, ecx
inc eax
push eax
call fcn.11163a11
mov ecx, esi
add esp, 4
mov dword [ebp - 0x4114], eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1109d613
sub ecx, edi
inc ecx
push ecx
push 0
push eax
call fcn.11162be0
mov edx, dword [ebp - 0x4114]
add esp, 0xc
mov ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1109d631
push 0x105
mov dword [ebp - 0x4118], 1
call fcn.11163a11
push 0x105
push 0
push eax
mov dword [ebp - 0x410c], eax
call fcn.11162be0
mov ecx, dword [ebp + 0x10]
add esp, 0x10
test ecx, ecx
jne 0x1109d67a
mov eax, dword [ebp - 0x410c]
mov dword [eax], 0x2a2e2a
jmp 0x1109d68a
mov edx, dword [ebp - 0x410c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1109d680
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x4158]
push ecx
call edx
mov esi, eax
test esi, esi
jne 0x1109d6aa
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
mov ecx, ebx
call fcn.1109d3d0
lea eax, [ebp - 0x4158]
push eax
mov ecx, ebx
call fcn.1109d550
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KeRneL32.DLl_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1109dda0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x9c], ecx
je 0x1109ddea
push 0x111a6b8c
push 0xf0
call fcn.1109dce0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 8
cmp byte [ecx + 5], 0
je 0x1109de13
push 0x111a6b7c
push 0xf2
call fcn.1109dce0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
push 0x5c
push ebx
mov byte [edi], 0
call fcn.111640b0
add esp, 8
cmp dword [ebp - 0x94], 5
jae 0x1109de4a
test eax, eax
je 0x1109de69
lea ebx, [eax + 1]
jmp 0x1109de69
test eax, eax
jne 0x1109de69
mov ecx, dword [0x111a6b74]
mov dword [edi], ecx
mov dx, word [0x111a6b78]
mov word [edi + 4], dx
mov al, byte [0x111a6b7a]
mov byte [edi + 6], al
mov eax, ebx
mov edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1109de70
sub eax, edx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1109de80
push esi
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
pop esi
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1109dea0
sub eax, edx
cmp eax, 0x40
jbe 0x1109ded7
mov ecx, dword [ebp - 0x9c]
push 0x111a6b64
push 0x10c
call fcn.1109dce0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x9c]
add edx, 0x3c
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1109dee4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 8
Function at 0x1109ed30
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
test esi, esi
je 0x1109ede8
mov ebx, dword [sym.imp.aDvapi32.DLL_GetTokenInformation]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 1
push esi
mov dword [ebp - 0x10], 1
call ebx
mov eax, dword [ebp - 0x10]
call fcn.11167010
mov edi, esp
test edi, edi
je 0x1109ede6
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push edx
push edi
push 1
push esi
call ebx
test eax, eax
je 0x1109ede6
mov eax, dword [0x111efb64]
test eax, eax
jne 0x1109edbf
push 0x111efb64
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.aDvapi32.DLL_AllocateAndInitializeSid]
mov eax, dword [0x111efb64]
test eax, eax
je 0x1109ede6
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.aDvapi32.DLL_EqualSid]
test eax, eax
je 0x1109ede6
mov eax, 1
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret