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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101061a6
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x10150440]
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 eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.10027040
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.100273f0
test eax, eax
jne 0x1001f0bb
xor esi, esi
jmp 0x1001f189
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1001f1b4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 1
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.100275f0
test eax, eax
je 0x1001f165
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x810]
push str.netul.dll
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f165
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x810]
push eax
push 0x400
push dword [ebp - 0x818]
call fcn.100aa1af
add esp, 0xc
mov esi, 1
jmp 0x1001f167
xor esi, esi
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f189
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.10027060
mov eax, esi
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.10073638
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.100047f0
int3
Function at 0x1001f1c0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101061e6
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x10150440]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.10027040
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.100273f0
test eax, eax
jne 0x1001f22b
xor edi, edi
jmp 0x1001f323
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1001f34e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.100275f0
test eax, eax
je 0x1001f2ff
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x1011c94c
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.100753b0
add esp, 4
test eax, eax
je 0x1001f2ff
lea eax, [ebp - 0x810]
push eax
call fcn.1007b0a0
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
mov edi, eax
lea esi, [edx + 2]
lea ecx, [ecx + 0x180]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001f2d0
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.10005b40
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1001f301
xor edi, edi
mov esi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f323
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.10027060
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.10073638
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.100047f0
int3
Function at 0x1001fc00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106260
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10150440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1001fd81
push esi
lea ecx, [ebp + 0xc]
call fcn.100044e0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or ebx, 0xffffffff
test eax, eax
je 0x1001fd40
mov eax, dword [ebp + 8]
add eax, 4
push 0x101188f8
push eax
lea eax, [ebp + 8]
push eax
call fcn.1001e810
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1000adf0
mov edx, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001fc98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fca0
mov eax, dword [ebp + 0xc]
sub ecx, edx
mov edx, esi
sub edx, eax
sar edx, 1
sar ecx, 1
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
js 0x1001fd95
push ecx
push esi
call fcn.100aa9d3
mov ecx, SysReAllocString
mov dword [ebp - 0x18], eax
sub ecx, eax
add esp, 8
cmp ecx, edi
jl 0x1001fd9f
add edi, eax
js 0x1001fda9
mov eax, dword [ebp + 0xc]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x1001fd0b
push edi
lea ecx, [ebp + 0xc]
call fcn.10005720
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
ja 0x1001fd18
lea esi, [eax + ecx*2]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + edx*2]
add ecx, ecx
push ecx
push esi
push ecx
push eax
call fcn.10020300
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp edi, dword [eax - 8]
jg 0x1001fd95
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edi*2], cx
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001fd62
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10026de0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001fd81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.100047f0
push 0x80070057
call fcn.100047f0
push 0x80070057
call fcn.100047f0
int3
Function at 0x1001fdc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x1001fe26
push esi
mov esi, dword [edx + 4]
test esi, esi
je 0x1001fe25
mov eax, esi
push ebx
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001fde0
sub eax, ebx
sar eax, 1
je 0x1001fe24
mov ebx, dword [edx + 0xc]
mov ecx, ebx
lea eax, [ecx + 2]
mov dword [ebp + 0xc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fe00
sub ecx, dword [ebp + 0xc]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push dword [edx + 0x10]
push dword [edx + 8]
push esi
push dword [edx]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebx
pop esi
pop ebp
ret 8
Function at 0x10020ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106480
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10150440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov dword [esi], vtable.CFileManager.0
mov dword [esi + 4], vtable.CFileManager.1.0
mov dword [esi + 0x68], 1
test eax, eax
je 0x1002104a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021062
push dword [esi + 0x40]
call fcn.10004ef0
add esp, 4
lea ecx, [esi + 0x44]
call fcn.100093c0
mov edx, dword [esi + 0x40]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021087
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x28]
mov dword [esi + 0x24], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100210b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10021120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101064a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10150440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CFileManager.0
mov dword [esi + 4], vtable.CFileManager.1.0
mov dword [esi + 0x68], 1
test eax, eax
je 0x10021181
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021199
push dword [esi + 0x40]
call fcn.10004ef0
add esp, 4
lea ecx, [esi + 0x44]
call fcn.100093c0
mov edx, dword [esi + 0x40]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100211be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x28]
mov dword [esi + 0x24], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100211e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x100211f8
push 0x6c
push esi
call fcn.1007364e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10021880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.10073a60
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x1318], ecx
cmp dword [edi - 0xc], 0x104
jg 0x10021a48
push 0x800
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.1008e9b0
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.1008e9b0
push edi
lea eax, [ebp - 0x1304]
push 0x400
push eax
call fcn.100aa1af
add esp, 0x24
test esi, esi
je 0x1002190b
cmp word [esi], 0
je 0x1002190b
push esi
lea eax, [ebp - 0x1304]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.1008e9b0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
nop
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.1008e9b0
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.100044b0
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100219d6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.100aa2e0
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.100aa0da
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x10021a5b
inc esi
cmp esi, 0xa
jl 0x10021930
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10021a64
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.10005b40
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x10023d40
Capabilities:
Get session user name
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010689b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10150440]
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 esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x10023d8e
mov eax, 1
jmp 0x10023ec3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x10023da0
xor eax, eax
jmp 0x10023ec3
lea ecx, [ebp - 0x220]
call fcn.1002d700
push 0x1a
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.1002d8d0
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10023df0
push 0xf003f
push eax
push 0x1011cdc0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.1002da10
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x105
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.1002d770
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10023e51
push 0xf003f
push eax
push 0x1011cdc0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.1002da10
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x10023e65
mov esi, 1
jmp 0x10023eb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x10023e74
xor esi, esi
jmp 0x10023eb6
push 1
lea ecx, [ebp - 0x220]
call fcn.1002d8d0
mov esi, eax
test esi, esi
je 0x10023ea9
push 0xf003f
push esi
push 0x1011cdc0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.1002da10
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.1002d710
mov eax, esi
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.10073638
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10025840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106c6b
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa30], eax
mov edx, dword [eax + 4]
mov eax, dword [edx - 0xc]
add eax, eax
push eax
push edx
push 1
push str.Setup_Path
push str.SOFTWARELhpBrowserProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
sbb edi, edi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x10025a4d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa2c], eax
movzx eax, word [ebp - 0x21c]
push eax
movzx eax, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x220]
push eax
movzx eax, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 4], 0
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.10009530
mov esi, dword [ebp - 0xa2c]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.InstallDate
push str.SOFTWARELhpBrowserProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x800
lea eax, [ebp - 0xa28]
push 0
push eax
call fcn.1008e9b0
mov eax, dword [ebp - 0xa30]
add esp, 0xc
push str.BrowserProtect.exe
push dword [eax + 4]
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xa28]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025980
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa28]
push eax
push 1
push 0
push str.SOFTWARELhpBrowserProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1007ebe0
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100259e0
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x1011cdb4
push str.SOFTWARELhpBrowserProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10025a2f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100047f0
int3
Function at 0x100264d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x100265ab
test ecx, ecx
je 0x100265ab
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x100265ab
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x100265ab
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10026596
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.100ade5d
add esp, 0xc
test eax, eax
je 0x100265be
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x10026540
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.10026f80
xor ecx, ecx
test edi, edi
je 0x100265dc
cmp edi, 0x7fffffff
jbe 0x100265e1
mov ecx, 0x80070057
test ecx, ecx
js 0x10026617
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x100265ff
cmp word [eax], 0
je 0x100265ff
add eax, 2
sub esi, 1
jne 0x100265f1
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x10026619
xor esi, esi
test ecx, ecx
js 0x1002666a
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x1002665d
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x1002665d
movzx eax, word [edi + ecx]
test ax, ax
je 0x1002665d
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x10026644
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x10026680
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100266f8
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret

Function at 0x100267b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.10073a60
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x100268ea
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jl 0x100268ea
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100268ea
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x100268bf
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.1008e9b0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.1008fdf2
add esp, 0x14
test eax, eax
je 0x10026884
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x10026884
mov ecx, 1
jmp 0x10026886
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push ebx
call fcn.10026f80
mov edi, dword [ebp - 0x1008]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1002689f
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.100264d0
add esp, 0xc
mov edi, eax
jmp 0x100268a5
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10073638
mov esp, ebp
pop ebp
ret