joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011e04
Capabilities:
Create thread

Disassembly:
mov eax, 0x100b85a5
call fcn.100a0664
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
call fcn.1000181e
push str.AfterInit
push dword [ebp + 8]
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
je 0x10011e54
push str.AfterReInit
push dword [ebp + 8]
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10011f34
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov edi, 0x100c6828
push edi
call fcn.100057f4
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
mov esi, str.fb_firstrun
push esi
mov byte [ebp - 4], 1
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.10044598
add esp, 0xc
cmp eax, ebx
jne 0x10011f34
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push edi
call fcn.100057f4
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
mov byte [ebp - 4], 2
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.10044774
add esp, 0xc
push 0x20
call fcn.100a00a4
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x10011ed5
call fcn.1000bfd2
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x58]
mov byte [ebp - 4], 0
test edi, edi
je 0x10011ef2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10011ef6
xor eax, eax
jmp 0x10011f0f
lea esi, [eax + eax]
mov eax, esi
call fcn.100a2940
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.1000b154
push eax
mov ecx, ebx
call fcn.10005060
lea ecx, [ebx + 0x1c]
push str.www.freecause.com
call fcn.100049c6
push ebx
push 0
push 0x10011b7f
call fcn.100a287e
add esp, 0xc
xor eax, eax
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10013006
Capabilities:
Get geographical location

Disassembly:
push esi
push 0
mov esi, ecx
push 1
lea eax, [esi + 0x64]
push eax
push str.LANGUAGE
push dword [esp + 0x18]
call fcn.10012bf0
push 0
push 1
add esi, 0x7c
push esi
push str.COUNTRY
push dword [esp + 0x2c]
call fcn.10012bf0
add esp, 0x28
pop esi
ret 4
Function at 0x1001488d
Capabilities:
Parse url

Disassembly:
mov eax, 0x100b876b
call fcn.100a0664
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [esi], vtable.DataPoster.0
call fcn.1000be8d
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.1000be8d
lea ecx, [esi + 0x3c]
call fcn.1000be8d
lea ecx, [esi + 0x58]
call fcn.1000be8d
lea edi, [esi + 0x74]
mov ecx, edi
call fcn.1000be8d
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.1000481b
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.1009f9b0
mov edi, pe_nt_image_headers32
push edi
mov dword [ebp - 0x4c], 0x3c
call fcn.1009f1f8
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edi
call fcn.1009f1f8
add esp, 0x14
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edi
jae 0x1001492b
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x3c]
mov ecx, ebx
call fcn.10005060
push dword [ebp - 0x20]
lea ecx, [esi + 0x3c]
call fcn.10005060
movzx eax, word [ebp - 0x34]
push dword [ebp - 0x3c]
mov dword [esi + 0x90], eax
call fcn.1009f549
push dword [ebp - 0x20]
call fcn.1009f549
pop ecx
pop ecx
push str.1BEF0A57BE110FD467A
lea ecx, [esi + 0x58]
call fcn.10005060
push 0
push 1
lea ecx, [ebp + 8]
call fcn.100033aa
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x100153ee
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x1010c224
push esi
push 0x1010c1f2
push 0x1010c1ec
call fcn.10015374
push 0x10103ba0
push 6
push esi
push 4
push dword [esp + 0x30]
call fcn.1001509e
mov ecx, dword [esp + 0x38]
add esp, 0x20
push 6
mov eax, esi
sub ecx, esi
pop esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x10015428
mov ebx, 0x1010c220
push ebx
mov ebp, 0x1010c1ec
push ebp
mov edi, 0x1010c1e8
push edi
call fcn.10015374
movzx eax, byte [0x1010c224]
movzx ecx, byte [0x1010c225]
mov esi, eax
shr eax, 2
movzx eax, byte [eax + 0x10103ce0]
mov al, byte [eax + 0x10103ce0]
mov edx, ecx
shr edx, 4
shl al, 4
and esi, 3
shl esi, 4
or edx, esi
movzx edx, byte [edx + 0x10103d20]
or al, byte [edx + 0x10103d20]
and ecx, 0xf
or byte [0x1010c220], al
movzx eax, byte [0x1010c226]
mov edx, eax
shl ecx, 2
shr edx, 6
or edx, ecx
movzx ecx, byte [edx + 0x10103d60]
mov cl, byte [ecx + 0x10103d60]
and eax, 0x3f
movzx eax, byte [eax + 0x10103da0]
shl cl, 4
or cl, byte [eax + 0x10103da0]
movzx eax, byte [0x1010c227]
or byte [0x1010c221], cl
movzx ecx, byte [0x1010c228]
mov esi, eax
mov edx, ecx
shr eax, 2
movzx eax, byte [eax + 0x10103de0]
mov al, byte [eax + 0x10103de0]
shr edx, 4
and esi, 3
shl esi, 4
or edx, esi
movzx edx, byte [edx + 0x10103e20]
shl al, 4
or al, byte [edx + 0x10103e20]
and ecx, 0xf
or byte [0x1010c222], al
movzx eax, byte [0x1010c229]
mov edx, eax
shl ecx, 2
shr edx, 6
or edx, ecx
movzx ecx, byte [edx + 0x10103e60]
mov cl, byte [ecx + 0x10103e60]
and eax, 0x3f
movzx eax, byte [eax + 0x10103ea0]
mov esi, 0x1010c21c
shl cl, 4
or cl, byte [eax + 0x10103ea0]
push esi
or byte [0x1010c223], cl
push ebp
push edi
call fcn.10015374
push 0x10103c60
push esi
push ebx
push 4
pop edi
call fcn.1001504a
add esp, 0x24
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x10015843
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x101039a0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor ebx, ebx
push 8
pop edi
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
call fcn.1001504a
add esp, 0xc
xor edi, edi
push edi
mov ecx, 0x1010c204
call fcn.100151cc
push eax
push dword [eax + 0xc]
lea ecx, [ebp - 0x14]
call fcn.100161e4
lea ecx, [ebp - 0x14]
call fcn.10079b4b
push eax
lea eax, [ebp - 8]
push eax
call fcn.100153ee
pop ecx
pop ecx
mov cl, byte [ebp - 8]
mov byte [ebp - 4], cl
mov cl, byte [ebp - 7]
mov byte [ebp - 3], cl
mov cl, byte [ebp - 6]
mov byte [ebp - 2], cl
mov cl, byte [ebp - 5]
mov byte [ebp - 1], cl
lea ecx, [ebp - 8]
mov edx, ecx
push 4
sub eax, edx
pop esi
mov dl, byte [eax + ecx]
xor dl, byte [ecx - 4]
mov byte [ecx], dl
inc ecx
dec esi
jne 0x100158cc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10015374
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x1001587f
push dword [ebp + 0xc]
push 0x1010c204
push 0x1010c1fc
call fcn.10015374
push 0x10103aa0
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 8
pop edi
call fcn.1001504a
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10015920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor al, al
push esi
push edi
push 0x101039a0
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], al
mov byte [ebp - 0xa], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 8
pop edi
call fcn.1001504a
add esp, 0xc
push 0xf
pop edi
push edi
mov ecx, 0x1010c204
call fcn.100151cc
push eax
push dword [eax + 0xc]
lea ecx, [ebp - 0x14]
call fcn.100161e4
lea ecx, [ebp - 0x14]
call fcn.10079b4b
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100153ee
pop ecx
pop ecx
mov cl, byte [ebp - 0xc]
mov byte [ebp - 4], cl
mov cl, byte [ebp - 0xb]
mov byte [ebp - 3], cl
mov cl, byte [ebp - 0xa]
mov byte [ebp - 2], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 1], cl
lea ecx, [ebp - 0xc]
mov edx, ecx
push 4
sub eax, edx
pop esi
mov dl, byte [eax + ecx]
xor dl, byte [ecx + 4]
mov byte [ecx], dl
inc ecx
dec esi
jne 0x100159a9
lea eax, [ebp - 8]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10015374
add esp, 0xc
dec edi
jns 0x1001595c
push dword [ebp + 0xc]
push 0x1010c204
push 0x1010c1fc
call fcn.10015374
push 0x10103aa0
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 8
pop edi
call fcn.1001504a
add esp, 0x18
pop edi
pop esi
leave
ret
Function at 0x1001f892
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100b8df6
call fcn.100a0664
sub esp, 0x228
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
cmp eax, 0x101
jne 0x1001f8e1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push str.UpdateEditableItems
call dword [eax + 0xb8]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
cmp eax, 0x100
jne 0x1001f8cd
cmp dword [edi + 8], 0xd
je 0x1001f93f
mov ecx, dword [esi + 0x78]
add ecx, 0xe4
mov byte [esi + 0xfe], bl
call fcn.10058142
cmp al, bl
jne 0x1001f8cd
cmp byte [0x1010c900], bl
je 0x1001f92f
mov eax, dword [edi + 8]
cmp eax, 0x25
je 0x1001f92f
cmp eax, 0x27
je 0x1001f92f
cmp eax, 0x24
je 0x1001f92f
cmp eax, 0x23
je 0x1001f92f
cmp eax, 8
je 0x1001f92f
cmp eax, 0x2e
jne 0x1001f8cd
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1001f9ae
push 0x104
lea eax, [ebp - 0x234]
push eax
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x234]
lea ecx, [esi + 0x84]
push eax
call fcn.100049c6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
cmp al, bl
je 0x1001f8cd
cmp dword [esi + 0x10], 0xffffffff
mov byte [esi + 0x130], 1
je 0x1001f9ae
push ebx
lea ecx, [esi + 0x50]
call fcn.10003413
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push str.Current_Link
call dword [edx + 0x44]
mov eax, dword [esi]
push ebx
push ebx
push dword [esi + 0x10]
mov ecx, esi
call dword [eax + 0x8c]
xor eax, eax
jmp 0x1001f8d0
Function at 0x10020133
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100b8eae
call fcn.100a0664
sub esp, 0x830
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0xa9], 0
push edi
mov dword [ebp - 0x10], esp
je 0x100201af
lea edi, [esi + 0xb0]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100201af
push 0x400
lea eax, [ebp - 0x83c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 0x90]
lea eax, [ebp - 0x83c]
push eax
call fcn.1009fb99
pop ecx
pop ecx
lea ecx, [esi + 0x84]
test eax, eax
jne 0x100201a3
push 0x100c503c
jmp 0x100201aa
lea eax, [ebp - 0x83c]
push eax
call fcn.100049c6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x10020c7c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100b8fc1
call fcn.100a0664
sub esp, 0x228
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
cmp eax, 0x101
jne 0x10020ccb
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push str.UpdateEditableItems
call dword [eax + 0xb8]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
cmp eax, 0x100
jne 0x10020cb7
cmp dword [edi + 8], 0xd
je 0x10020d29
mov ecx, dword [esi + 0x78]
add ecx, 0xe4
mov byte [esi + 0xfe], bl
call fcn.10058142
cmp al, bl
jne 0x10020cb7
cmp byte [0x1010c900], bl
je 0x10020d19
mov eax, dword [edi + 8]
cmp eax, 0x25
je 0x10020d19
cmp eax, 0x27
je 0x10020d19
cmp eax, 0x24
je 0x10020d19
cmp eax, 0x23
je 0x10020d19
cmp eax, 8
je 0x10020d19
cmp eax, 0x2e
jne 0x10020cb7
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x10020d98
push 0x104
lea eax, [ebp - 0x234]
push eax
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x234]
lea ecx, [esi + 0x84]
push eax
call fcn.100049c6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
cmp al, bl
je 0x10020cb7
cmp dword [esi + 0x10], 0xffffffff
mov byte [esi + 0x130], 1
je 0x10020d98
push ebx
lea ecx, [esi + 0x50]
call fcn.10003413
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push str.Current_Link
call dword [edx + 0x44]
mov eax, dword [esi]
push ebx
push ebx
push dword [esi + 0x10]
mov ecx, esi
call dword [eax + 0x8c]
xor eax, eax
jmp 0x10020cba
Function at 0x1002153b
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100b9079
call fcn.100a0664
sub esp, 0x830
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0xa9], 0
push edi
mov dword [ebp - 0x10], esp
je 0x100215b7
lea edi, [esi + 0xb0]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100215b7
push 0x400
lea eax, [ebp - 0x83c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 0x90]
lea eax, [ebp - 0x83c]
push eax
call fcn.1009fb99
pop ecx
pop ecx
lea ecx, [esi + 0x84]
test eax, eax
jne 0x100215ab
push 0x100c503c
jmp 0x100215b2
lea eax, [ebp - 0x83c]
push eax
call fcn.100049c6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x100275b9
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
push 0x139
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x100275db
push 5
push 0x100c9f78
call dword [sym.imp.KERNEL32.dll_WinExec]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10

Function at 0x10027d59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10027dc2
cmp dword [ebp + 0x10], 1
je 0x10027d9a
cmp dword [ebp + 0x10], 2
je 0x10027d9a
push 0xd
pop eax
jmp 0x10027dc2
mov eax, dword [ebp - 4]
test edi, edi
je 0x10027dbc
test eax, eax
je 0x10027db7
test al, 1
jne 0x10027d95
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10027dbc
jmp 0x10027d95
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x1002804c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [0x1010c29c]
lea ecx, [ebp - 4]
call fcn.10028018
xor esi, esi
push esi
push esi
push 0x2001f
push esi
push esi
push str.SoftwareAppDataLowSoftwareFreecauseToolbars
push SysReAllocString
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.10001485
push str.ActiveToolbar
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0xc]
call fcn.1000146a
cmp dword [ebp - 4], esi
pop esi
je 0x100280af
cmp dword [ebp - 4], 0xffffffff
je 0x100280af
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
leave
ret
Function at 0x1002861e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100b9367
call fcn.100a0664
sub esp, 0x810
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser
push SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.100014df
xor eax, eax
mov ebx, 0x7fe
push ebx
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x81a]
push esi
push eax
mov dword [ebp - 0x10], esi
call fcn.1009f9b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x81c]
push eax
push esi
jmp 0x100286ee
lea eax, [ebp - 0x81c]
push eax
mov ecx, 0x1010c400
call fcn.1000272b
test eax, eax
je 0x100286bf
cmp word [ebp - 0x81c], 0x7b
jne 0x100286bf
push esi
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call fcn.1004ba21
add esp, 0xc
inc dword [ebp - 0x10]
xor eax, eax
push ebx
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x81a]
push esi
push eax
call fcn.1009f9b0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x400
call edi
test eax, eax
je 0x1002868d
lea ecx, [ebp - 0x1c]
call fcn.1000146a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10029e5b
Capabilities:
Create directory

Disassembly:
mov eax, 0x100b943f
call fcn.100a0664
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
inc esi
push esi
push 0x7f02
xor edi, edi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.1002849b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [ebp - 4], 1
cmp eax, edi
jne 0x10029eb4
lea ecx, [ebp - 0x1c]
call fcn.10027ffa
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
dec eax
push eax
lea ecx, [ebp + 8]
call fcn.10009b9f
cmp ax, 0x5c
je 0x10029ed1
push 0x100c6e54
lea ecx, [ebp + 8]
call fcn.1000c121
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 0xc], edi
jle 0x10029f23
push esi
lea ecx, [ebp + 8]
call fcn.10009b9f
cmp ax, 0x5c
jne 0x10029f1a
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.100288fc
mov eax, dword [eax]
push edi
push eax
call fcn.100a4119
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
setne bl
add ecx, 0xfffffff0
call fcn.10001ccd
test bl, bl
je 0x10029f33
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x10029edb
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 0xc]
jl 0x10029f44
xor esi, esi
inc esi
jmp 0x10029e90
call fcn.100a4047
cmp dword [eax], 2
je 0x10029f23
xor esi, esi
jmp 0x10029e90
push 0xc
pop ebx
push ebx
call fcn.100a00a4
mov edi, eax
and dword [edi + 4], 0
pop ecx
mov dword [edi], ebx
mov dword [edi + 8], 1
push esi
lea ecx, [ebp + 8]
call fcn.10009b9f
cmp ax, 0x5c
jne 0x10029f9d
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.100288fc
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.10001ccd
test bl, bl
jne 0x10029fb2
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x10029f5d
push edi
call fcn.1009f549
pop ecx
jmp 0x10029f2b
push edi
call fcn.1009f549
pop ecx
jmp 0x10029f3d
Function at 0x1002af0f
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x100b9682
call fcn.100a0664
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
call fcn.1002ae9a
cmp eax, ebx
jne 0x1002af38
xor eax, eax
inc eax
jmp 0x1002b071
lea eax, [ebp - 0x18]
push eax
push ebx
push 8
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x1002af8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x1002b06f
lea eax, [ebp - 0x18]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002b06f
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x1002b06f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1002b06f
mov eax, dword [ebp - 0x14]
call fcn.100a2940
mov edi, esp
mov dword [ebp - 0x10], esp
cmp edi, ebx
je 0x1002b06f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push edi
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x1002b06f
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1002b06f
xor esi, esi
cmp ebx, dword [edi]
jae 0x1002b020
push dword [ebp - 0x1c]
push dword [edi + ebx*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1002b02d
xor esi, esi
inc esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, esi
jmp 0x1002b071
inc ebx
jmp 0x1002b008
xor eax, eax
lea esp, [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002b98f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100b9780
call fcn.100a0664
sub esp, 0x30
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.100449b3
pop ecx
pop ecx
push str.Helper.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.1000c4dd
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100046db
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001ccd
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002ba45
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1002ba0b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1002ba0f
xor eax, eax
jmp 0x1002ba28
lea esi, [eax + eax]
mov eax, esi
call fcn.100a2940
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.1000b154
push eax
lea eax, [ebp - 0x30]
push str.Helper_not_found__path_s
push eax
call fcn.10001dd9
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.10002908
push dword [ebp - 0x14]
call fcn.100279d8
mov esi, eax
push str.IsUnicode
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1002ba7c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x30]
push str.Helper_entry_point_not_found
push eax
call fcn.10001dd9
pop ecx
pop ecx
mov byte [ebp - 4], 4
jmp 0x1002ba3e
call eax
test al, al
jne 0x1002ba9f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x30]
push str.Helper_dll_encoding_does_not_match_core
push eax
call fcn.10001dd9
pop ecx
pop ecx
mov byte [ebp - 4], 5
jmp 0x1002ba3e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov eax, esi
lea esp, [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret