joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100617c2
Capabilities:
Set registry value

Disassembly:
push 0x18
mov eax, 0x100e17d4
call fcn.1000131b
mov esi, edx
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
lea ecx, [ebp - 0x14]
cmp dword [ebp + 8], ebx
mov edi, 0x100ea6e8
mov eax, edi
mov dword [ebp - 0x20], ebx
cmovne eax, dword [ebp + 8]
push eax
call sym.fpsrvutl.dll_Ordinal_902
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sym.fpsrvutl.dll_Ordinal_2209
cmp dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x10]
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call sym.fpsrvutl.dll_Ordinal_902
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push ebx
mov byte [ebp - 4], al
call sym.fpsrvutl.dll_Ordinal_2209
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x20006
push ebx
push edi
push ebx
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100618b4
mov dword [ebp + 8], 0x1017c79c
lock inc dword [0x1017c790]
xor ecx, ecx
mov byte [ebp - 4], 2
inc ecx
cmp dword [ebp - 0x1c], ecx
jne 0x10061876
cmp dword [ebp + 0x18], eax
lea ecx, [ebp + 8]
cmovne edi, dword [ebp + 0x18]
push edi
call sym.fpsrvutl.dll_Ordinal_902
push ebx
lea ecx, [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_2209
mov esi, dword [ebp + 8]
mov eax, dword [esi - 4]
jmp 0x1006187f
mov esi, dword [ebp + 0x18]
push esi
call sym.fpsrvutl.dll_Ordinal_902
inc eax
push eax
push esi
xor eax, eax
inc eax
push eax
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
xor ecx, ecx
inc ecx
movzx ebx, cl
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.100013b7
ret 0x14
Function at 0x10061fd8
Capabilities:
Get common file path

Disassembly:
push 0x13c
mov eax, 0x100e199b
call fcn.10001af6
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x128], ecx
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], ecx
mov edi, dword [sym.imp.kernel32.dll_GetTempPathA]
push eax
push ecx
mov dword [ebp - 0x128], 1
call edi
test eax, eax
jle 0x10062148
lea eax, [ebp - 0x11c]
mov ebx, 0x104
push eax
push ebx
call edi
cmp eax, ebx
jae 0x10062152
xor ebx, ebx
lea ecx, [ebp - 0x120]
mov byte [ebp + eax - 0x11c], bl
lea eax, [ebp - 0x11c]
push eax
call sym.fpsrvutl.dll_Ordinal_902
xor edi, edi
lea ecx, [ebp - 0x120]
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x120]
push ebx
push dword [eax - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_1496
push str.WebTempDir
lea ecx, [ebp - 0x124]
call sym.fpsrvutl.dll_Ordinal_902
push 0x100ea6e8
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_3585
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x124]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_2147
test al, al
jne 0x10062113
push ebx
push ebx
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_3988
test eax, eax
je 0x10062113
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_902
push 0x5c
push 2
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_902
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_902
jmp 0x10062121
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_902
cmp dword [ebp + 0xc], 0
jne 0x1006212f
push ebx
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2209
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_974
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b2d
ret 8
call sym.fpsrvutl.dll_Ordinal_902
int3
Function at 0x10062158
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x100e1a02
call fcn.10001af6
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x228], ebx
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
push ebx
push 0x20
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ebx
xor edi, edi
push eax
inc edi
push ebx
mov dword [ebp - 0x228], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10062256
push str.WebTempDir
lea ecx, [ebp - 0x220]
call sym.fpsrvutl.dll_Ordinal_902
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x224]
call sym.fpsrvutl.dll_Ordinal_150
push 0x100ea6e8
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_3585
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_2147
test al, al
jne 0x1006223a
push ebx
push ebx
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_3988
mov ecx, eax
test ecx, ecx
je 0x1006223a
mov eax, dword [ecx]
push edi
call dword [eax]
jmp 0x10062248
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_902
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_974
mov eax, dword [esi]
cmp dword [eax - 4], ebx
jne 0x10062280
push edi
lea eax, [ebp - 0x220]
push eax
call sym.fpsrvutl.dll_Ordinal_5240
push eax
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b2d
ret 4

Function at 0x10062d2b
Capabilities:
Get thread local storage value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10062d46
mov ecx, eax
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_2134
pop ebp
ret 0x18

Function at 0x10062d4a
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10062d67
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ecx, eax
pop ebp
jmp edx
xor eax, eax
pop ebp
ret 4
Function at 0x10075b02
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x24
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
inc esi
push 2
pop ebx
cmp eax, esi
je 0x10075b48
cmp eax, ebx
je 0x10075b48
cmp eax, 3
je 0x10075b48
cmp dword [edi], 0
je 0x10075b44
dec eax
xor edx, edx
div dword [edi]
inc eax
mov dword [ecx], eax
cmp eax, 4
jbe 0x10075b4a
cmp eax, 0x200
sbb esi, esi
add esi, 3
jmp 0x10075b4a
mov esi, ebx
jmp 0x10075b4a
mov esi, eax
cmp dword [edi], 0
jne 0x10075b8b
mov eax, dword [0x1017ca08]
test eax, eax
jne 0x10075b6a
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [0x1017ca08], eax
mov ecx, esi
sub ecx, 1
je 0x10075b84
sub ecx, 1
je 0x10075b80
sub ecx, 1
jne 0x10075b8b
shl eax, 2
jmp 0x10075b89
add eax, eax
jmp 0x10075b89
cmp eax, ebx
cmovg eax, ebx
mov dword [edi], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1007de6b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
xor ebx, ebx
mov eax, edi
mov dword [ebp - 4], ebx
mov esi, ebx
sub eax, ebx
je 0x1007de91
dec eax
sub eax, 1
je 0x1007dea1
sub eax, 1
jne 0x1007debc
push dword [0x1017be80]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x1007deac
mov eax, dword [0x1017ca0c]
test eax, eax
je 0x1007debc
jmp 0x1007deb5
cmp eax, 0xffffffff
je 0x1007debc
test edi, edi
jne 0x1007deb9
mov esi, dword [eax]
jmp 0x1007debc
mov esi, dword [eax + 4]
mov eax, dword [ebp - 8]
cmp eax, 0x40000000
ja 0x1007df76
lea edx, [eax + 0xf]
and edx, 0xfffffff8
test esi, esi
je 0x1007defd
mov eax, dword [esi + 0xc]
and eax, 0x20
mov dword [ebp - 0xc], eax
je 0x1007dee5
add edx, 0x1f
and edx, 0xfffffff8
mov ecx, dword [esi]
lea edi, [ebp - 4]
push ebx
mov dword [ebp - 4], edx
push edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
cmp dword [ebp - 0xc], ebx
setne bl
jmp 0x1007df05
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov edi, eax
test edi, edi
je 0x1007df76
test bl, bl
je 0x1007df6c
test byte [esi + 0xc], 0x80
je 0x1007df1c
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [0x1017ca0c]
mov ecx, dword [eax]
test ecx, ecx
je 0x1007df36
cmp ecx, esi
je 0x1007df36
test byte [ecx + 0xc], 0x80
je 0x1007df36
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, esi
call fcn.1007dbb9
mov dword [edi], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
or dword [edi + 0xc], 0xffffffff
mov ecx, dword [ebp - 8]
mov dword [edi + 0x10], ecx
mov ecx, esi
mov dword [edi + 4], eax
mov dword [edi + 8], str._unknown_file_
mov eax, dword [ebp - 4]
mov dword [edi + 0x14], eax
push dword [ebp - 4]
call sym.fpsrvutl.dll_Ordinal_902
add edi, 0x18
mov dword [edi], esi
lea eax, [edi + 8]
pop edi
pop esi
pop ebx
leave
ret
call sym.fpsrvutl.dll_Ordinal_902
int3
Function at 0x1007df7c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [0x1017be80]
mov ebx, ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, dword [0x1017ca0c]
test eax, eax
cmovne ecx, eax
mov edi, dword [ecx]
mov ecx, dword [edi]
cmp ebx, 0x40000000
ja 0x1007e041
lea edx, [ebx + 0xf]
mov ebx, dword [edi + 0xc]
and edx, 0xfffffff8
and ebx, 0x20
je 0x1007dfc4
add edx, 0x1f
and edx, 0xfffffff8
mov eax, dword [ecx]
lea esi, [ebp - 4]
push 0
push esi
push edx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
je 0x1007e041
test ebx, ebx
je 0x1007e037
test byte [edi + 0xc], 0x80
je 0x1007dfe7
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [0x1017ca0c]
mov ecx, dword [eax]
test ecx, ecx
je 0x1007e001
cmp ecx, edi
je 0x1007e001
test byte [ecx + 0xc], 0x80
je 0x1007e001
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, edi
call fcn.1007dbb9
mov dword [esi], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
or dword [esi + 0xc], 0xffffffff
mov ecx, edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], str._unknown_file_
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
push dword [ebp - 4]
call sym.fpsrvutl.dll_Ordinal_902
add esi, 0x18
mov dword [esi], edi
lea eax, [esi + 8]
pop edi
pop esi
pop ebx
leave
ret
call sym.fpsrvutl.dll_Ordinal_902
int3

Function at 0x1007e242
Capabilities:
Get system information on windows

Disassembly:
push 0x28
mov eax, 0x100e38cc
call fcn.1000131b
mov edi, ecx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
push 0x18
mov eax, ebx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
cmp dword [0x1017ca10], 0
je 0x1007e28e
push 2
pop edx
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_902
jmp 0x1007e296
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x1007e2ba
push 0x1007f877
push 0x1007e2c4
push ebx
lea esi, [eax + 4]
mov dword [eax], ebx
push 0x18
push esi
call fcn.100db088
mov dword [edi], esi
mov eax, edi
call fcn.100013b7
ret
Function at 0x1007eb3d
Capabilities:
Get system information on windows

Disassembly:
push 0x28
mov eax, 0x100e38cc
call fcn.1000131b
mov edi, ecx
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [edi + 8], esi
push ebx
mov dword [edi + 0x10], esi
call fcn.1007eec0
mov dword [edi], eax
cmp dword [0x1017ca10], esi
je 0x1007eb73
push 2
pop edx
push 4
pop ecx
call sym.fpsrvutl.dll_Ordinal_902
jmp 0x1007eb7c
push 4
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x1007eb8f
mov ecx, eax
call fcn.1007e242
jmp 0x1007eb91
mov eax, esi
push esi
mov esi, dword [sym.imp.kernel32.dll_CreateMemoryResourceNotification]
mov dword [edi + 4], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x1007ebcb
mov eax, dword [eax]
test eax, eax
je 0x1007ebcb
cmp dword [eax + 0x28], 0xdeadbeef
je 0x1007ebcd
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov eax, edi
call fcn.100013b7
ret

Function at 0x1007ed05
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10148250]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1017ca0c]
xor eax, eax
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x1007ed7e
cmp dword [ecx + 0x10], eax
je 0x1007ed7e
lea eax, [ebp - 0x48]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.kernel32.dll_QueryMemoryResourceNotification]
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x1007ed7e
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1007ed7b
cmp dword [ebp - 0x10], 0
ja 0x1007ed77
jb 0x1007ed72
cmp dword [ebp - 0x14], 0x18000000
jae 0x1007ed77
xor eax, eax
inc eax
jmp 0x1007ed7e
xor eax, eax
jmp 0x1007ed7e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100013a8
leave
ret

Function at 0x1007f3d6
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push dword [0x1017be80]
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [0x1017ca0c]
test ecx, ecx
jne 0x1007f403
call fcn.1007ebd8
mov ecx, dword [0x1017ca0c]
lea eax, [ebp - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_902
test eax, eax
je 0x1007f451
cmp dword [0x1017ca10], esi
je 0x1007f425
push 2
pop edx
push 0x1c
pop ecx
call sym.fpsrvutl.dll_Ordinal_902
jmp 0x1007f42e
push 0x1c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1007f43e
push dword [ebp - 4]
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_902
mov esi, eax
test esi, esi
je 0x1007f451
push esi
push dword [0x1017be80]
call dword [sym.imp.kernel32.dll_TlsSetValue]
jmp 0x1007f466
cmp dword [ebp - 4], 0
je 0x1007f466
mov ecx, dword [0x1017ca0c]
lea eax, [ebp - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_4892
mov eax, esi
pop esi
leave
ret
Function at 0x10084f0d
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x10084f2e
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
pop esi
ret
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
pop esi
ret

Function at 0x10084f36
Capabilities:
Set file attributes

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, 0x10178fec
push edi
mov edi, edx
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push edi
push ecx
cmp eax, 2
jne 0x10084f5c
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x10084f62
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
pop edi
pop esi
pop ecx
ret

Function at 0x10084f66
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x10084f87
call dword [sym.imp.kernel32.dll_DeleteFileW]
pop esi
ret
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
ret

Function at 0x10085838
Capabilities:
Copy file

Disassembly:
push 0x438
mov eax, 0x100e4404
call fcn.10001af6
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x434]
call fcn.10005575
push edi
call sym.fpsrvutl.dll_Ordinal_902
xor esi, esi
lea ecx, [ebp - 0x444]
push ebx
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_4804
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.10005575
lea eax, [ebp - 0x444]
push eax
call sym.fpsrvutl.dll_Ordinal_902
push edi
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100858d2
lea eax, [ebp - 0x444]
push eax
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100858d2
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x234]
cmp eax, 2
jne 0x100858c8
call dword [sym.imp.kernel32.dll_CopyFileW]
jmp 0x100858ce
call dword [sym.imp.kernel32.dll_CopyFileA]
test al, al
jne 0x100858e2
push dword [ebx]
mov ecx, 0x20055
push dword [edi]
call fcn.1008503f
mov esi, eax
lea ecx, [ebp - 0x224]
call fcn.100057a4
lea ecx, [ebp - 0x444]
call sym.fpsrvutl.dll_Ordinal_974
lea ecx, [ebp - 0x434]
call fcn.100057a4
mov eax, esi
call fcn.10001b2d
ret 4

Function at 0x10086590
Capabilities:
Delete directory

Disassembly:
push 0x214
mov eax, 0x100dedc4
call fcn.10001af6
mov edi, ecx
call sym.fpsrvutl.dll_Ordinal_1195
lea ecx, [ebp - 0x220]
call fcn.10005575
push edi
call sym.fpsrvutl.dll_Ordinal_902
xor esi, esi
mov ecx, 0x10178fec
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_2694
push dword [ebp - 0x20]
cmp eax, 2
jne 0x100865d6
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x100865dc
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
test eax, eax
jne 0x100865f7
mov esi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20004
call fcn.1005ca7d
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.100057a4
mov eax, esi
call fcn.10001b2d
ret
Function at 0x10086a7b
Capabilities:
Delete file
Move file

Disassembly:
push 0x444
mov eax, 0x100e46fc
call fcn.10001af6
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x224]
xor ebx, ebx
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], ebx
call fcn.10005575
push edi
call sym.fpsrvutl.dll_Ordinal_902
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], ebx
call fcn.10005575
push esi
call sym.fpsrvutl.dll_Ordinal_902
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], bl
jne 0x10086b2b
push edi
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_4804
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_542
test al, al
je 0x10086b1c
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_1248
test al, al
jne 0x10086b1c
push dword [edi]
mov ecx, 0x20019
push dword [esi]
call fcn.1008503f
lea ecx, [ebp - 0x450]
mov ebx, eax
call sym.fpsrvutl.dll_Ordinal_974
jmp 0x10086c58
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 1
call sym.fpsrvutl.dll_Ordinal_974
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_542
test al, al
jne 0x10086b44
push dword [esi]
xor edx, edx
mov ecx, 0x20015
jmp 0x10086bf5
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_1195
push esi
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x10086b85
push edi
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_4804
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x43c], 1
call sym.fpsrvutl.dll_Ordinal_4730
mov byte [ebp - 0x435], bl
test al, al
je 0x10086b8c
mov byte [ebp - 0x435], 1
mov dword [ebp - 4], 1
test byte [ebp - 0x43c], 1
je 0x10086ba7
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_974
cmp byte [ebp - 0x435], 0
je 0x10086bb7
push dword [esi]
push 0xd
pop edx
jmp 0x10086bf0
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
jne 0x10086bfe
xor eax, eax
cmp byte [ebp + 0xc], al
setne al
add eax, 8
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x10086c50
mov esi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20014
call fcn.1005ca7d
mov ebx, eax
jmp 0x10086c58
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
jne 0x10086c50
cmp byte [ebp + 0xc], al
je 0x10086be5
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
sub eax, 0x50
je 0x10086c28
sub eax, 0x67
jne 0x10086c44
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileA]
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
jne 0x10086c4a
mov esi, dword [esi]
call edi
jmp 0x10086bed
mov edi, dword [ebp - 0x440]
push edi
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_902
lea ecx, [ebp - 0x434]
call fcn.100057a4
lea ecx, [ebp - 0x224]
call fcn.100057a4
mov eax, ebx
call fcn.10001b2d
ret 8
Function at 0x10087b36
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
jne 0x10087ba6
cmp byte [0x1017bdd7], 0
je 0x10087ba6
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push 0xc
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x10087bb1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x10087b9b
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
call fcn.10087a32
push eax
call sym.fpsrvutl.dll_Ordinal_902
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10087bb1
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
leave
ret 4

Function at 0x1008947e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp byte [0x1017bdd7], 0
mov ecx, eax
je 0x100894a8
test ecx, ecx
je 0x100894a8
cmp byte [ecx + 5], 0
je 0x100894a8
xor ebx, ebx
jmp 0x100894ab
push 2
pop ebx
test ecx, ecx
je 0x100894b6
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100894bb
call sym.fpsrvutl.dll_Ordinal_981
mov esi, eax
test esi, esi
je 0x100894f9
push edi
mov edi, dword [esi + 0x1c]
cmp edi, 3
je 0x100894cd
mov dword [esi + 0x1c], ebx
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, eax
test ecx, ecx
jne 0x100894e9
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_5512
jmp 0x100894ef
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1c], 3
je 0x100894f8
mov dword [esi + 0x1c], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8