joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006b77a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x238
mov eax, 0x100e491e
call fcn.10001b03
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x21c]
push esi
push 0x104
call fcn.1004ba3f
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call fcn.1004ba3f
mov ebx, dword [edi + 0xc]
mov ecx, 0x1017e06c
mov dword [ebp - 0x220], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x1c]
push ebx
jne 0x1006b811
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x1006b817
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1006b826
mov ecx, eax
call fcn.1006a6e9
mov esi, eax
jmp 0x1006b841
mov eax, dword [ebp - 0x224]
inc eax
mov byte [edi + 0x10], 1
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x228]
inc eax
mov dword [edi + 0x54], esi
mov dword [edi + 0x5c], eax
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret

Function at 0x1006b854
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x430
mov eax, 0x100e4967
call fcn.10001b03
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x428]
push 0
push dword [esi + 0x58]
mov dword [ebp - 0x43c], eax
call fcn.1004ba3f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
xor ebx, ebx
inc ebx
push ebx
push dword [esi + 0x5c]
call fcn.1004ba3f
push 0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call fcn.1004ba3f
mov edi, dword [esi + 0x54]
mov ecx, 0x1017e06c
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x430], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x42c], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x438]
push eax
push 0
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x228]
push edi
push dword [ebp - 0x42c]
jne 0x1006b8fd
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1006b903
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1006b95f
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x42c]
call sym.fpsrvutl.dll_Ordinal_2271
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x42c]
push dword [ebp - 0x430]
push eax
push dword [ebp - 0x438]
call fcn.1006ad79
mov ecx, eax
test ecx, ecx
je 0x1006b94c
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [ebp - 0x42c]
inc dword [esi + 0x54]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
jmp 0x1006b965
mov byte [esi + 0x10], 0
xor bl, bl
lea ecx, [ebp - 0x21c]
call fcn.100058ed
lea ecx, [ebp - 0x428]
call fcn.100058ed
mov al, bl
call fcn.10001b39
ret 4
Function at 0x1006ba6b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x238
mov eax, 0x100e491e
call fcn.10001b03
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x21c]
push esi
push 0x104
call fcn.1004ba3f
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call fcn.1004ba3f
mov ebx, dword [edi + 0xc]
mov ecx, 0x1017e06c
mov dword [ebp - 0x220], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x1c]
push ebx
jne 0x1006bb02
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x1006bb08
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1006bb17
mov ecx, eax
call fcn.1006a6e9
mov esi, eax
jmp 0x1006bb2b
mov eax, dword [ebp - 0x224]
inc eax
mov dword [edi + 0x5c], esi
mov dword [edi + 0x58], eax
mov byte [edi + 0x35], 1
mov dword [edi + 0x54], esi
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret

Function at 0x1006bb3e
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x224
mov eax, 0x100e49d8
call fcn.10001b03
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
xor ebx, ebx
mov dword [ebp - 0x228], edi
push ebx
push dword [esi + 0x58]
call fcn.1004ba3f
push ebx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.1004ba3f
push 0x100ee700
mov ecx, edi
mov dword [ebp - 0x220], eax
call fcn.1004ba3f
mov eax, dword [esi + 0xc]
mov ecx, 0x1017e06c
mov edi, dword [esi + 0x54]
mov dword [ebp - 0x224], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebp - 0x224]
jne 0x1006bbc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1006bbce
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1006bbeb
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
call fcn.1004ba3f
inc dword [esi + 0x54]
mov bl, 1
jmp 0x1006bbee
mov byte [esi + 0x35], bl
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov al, bl
call fcn.10001b39
ret 4
Function at 0x1006d52b
Capabilities:
Set thread local storage value

Disassembly:
push 4
mov eax, 0x100df3d0
call fcn.10001371
mov ebx, ecx
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x1006d5a5
mov eax, dword [vtable.VprocessGlobals.0]
mov edi, dword [eax + 0x24]
call fcn.1006e97b
mov ecx, dword [ebx + 0x5c]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
and dword [ebp - 4], 0
push esi
push dword [eax]
mov esi, 0x1017e06c
push str.The_error___s__with_hr:_d_in_the_thread_context_was_not_processed_before_thread_detach._The_full_error_log_entry_follows.
push 1
push 0
push esi
call edi
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push dword [ebx + 0x5c]
mov eax, dword [vtable.VprocessGlobals.0]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x1006d5a1
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x5c], 0
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x1006d5ba
mov ecx, esi
call fcn.1004ba3f
push esi
call fcn.1004ba3f
pop ecx
and dword [ebx + 0x30], 0
cmp dword [ebx + 0x74], 0
jle 0x1006d5d2
mov ecx, ebx
mov dword [ebx + 0x74], 1
call sym.fpsrvutl.dll_Ordinal_2309
push 0
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.1000140a
ret

Function at 0x1006e28b
Capabilities:
Get thread local storage value

Disassembly:
push 0xc
mov eax, 0x100e4df6
call fcn.10001371
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 0x10], 0x10181f8c
lock inc dword [0x10181f80]
mov dword [ebp - 4], ebx
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1006e2de
lea eax, [edi + 0x60]
mov ecx, dword [eax]
cmp dword [ecx - 4], ebx
je 0x1006e2de
push eax
lea ecx, [ebp - 0x10]
call fcn.1004ba3f
mov eax, dword [edi + 0x2c]
shr eax, 2
and al, 1
jmp 0x1006e306
lea eax, [ebp - 0x14]
push eax
call fcn.1004ba3f
push eax
lea ecx, [ebp - 0x10]
call fcn.1004ba3f
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push ebx
call fcn.100048a4
mov al, byte [0x101827c8]
test al, al
jne 0x1006e31f
mov dword [esi], 0x10181f8c
lock inc dword [0x10181f80]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
jmp 0x1006e32a
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
lea ecx, [eax - 0xc]
lock inc dword [ecx]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.1000140a
ret

Function at 0x1006e89f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov word [esi], ax
test ebx, ebx
je 0x1006e8ea
push edi
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1006e8e9
movzx ecx, word [edi + 0x68]
movzx eax, bx
mov word [esi], cx
cmp cx, ax
jne 0x1006e8db
xor eax, eax
mov word [esi], ax
jmp 0x1006e8e9
push eax
call fcn.1004ba3f
push eax
mov ecx, edi
call fcn.1004ba3f
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1007e2b9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x1014d250]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x1007e2df
xor eax, eax
jmp 0x1007e314
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1007e307
mov eax, dword [esp + 8]
cmp al, 2
jne 0x1007e307
shr eax, 8
cmp al, 2
jne 0x1007e307
mov byte [esi], 1
jmp 0x1007e2db
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1007e0c4
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.100013fd
mov esp, ebp
pop ebp
ret

Function at 0x10081178
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x100e6538
call fcn.10001371
mov esi, edx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x18]
mov ebx, 0x100ee700
mov eax, ebx
cmovne eax, dword [ebp + 8]
push eax
call fcn.1004ba3f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push 0
call sym.fpsrvutl.dll_Ordinal_2209
cmp dword [ebp + 0xc], 0
lea ecx, [ebp - 0x10]
mov eax, ebx
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.1004ba3f
xor ebx, ebx
lea ecx, [ebp - 0x10]
inc ebx
push 0
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_2209
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100812c3
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100812ba
cmp dword [esi], ebx
je 0x1008121c
cmp dword [esi], 4
jne 0x100812ba
xor edi, edi
cmp dword [esi], ebx
jne 0x1008122c
mov ecx, dword [ebp - 0x14]
call fcn.1003b713
mov edi, eax
cmp dword [esi], ebx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0x14]
push ecx
cmove eax, edi
push eax
push esi
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x100812a9
cmp dword [esi], ebx
jne 0x100812a9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x10081261
mov eax, 0x100ee700
jmp 0x10081283
cmp byte [edi + ecx - 1], 0
je 0x10081279
mov esi, dword [ebp + 0x18]
push ecx
push edi
push ecx
push 0
mov ecx, esi
call fcn.1004ba3f
jmp 0x1008128e
test edi, edi
mov eax, 0x100ee700
cmovne eax, edi
mov esi, dword [ebp + 0x18]
mov ecx, esi
push eax
call fcn.1004ba3f
push edi
call fcn.1004ba3f
pop ecx
cmp dword [ebp - 0x1c], ebx
jne 0x100812a9
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [eax - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_1496
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0
jne 0x100812c3
jmp 0x100812c5
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.1000140a
ret 0x14
Function at 0x100812e5
Capabilities:
Set registry value

Disassembly:
push 0x14
mov eax, 0x100e656b
call fcn.10001371
mov esi, edx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x14]
mov edi, 0x100ee700
mov eax, edi
cmovne eax, dword [ebp + 8]
push eax
call fcn.1004ba3f
xor ebx, ebx
lea ecx, [ebp - 0x14]
push ebx
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 fcn.1004ba3f
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 - 0x20]
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 0x100813d5
mov dword [ebp + 8], 0x10181f8c
lock inc dword [0x10181f80]
xor ecx, ecx
mov byte [ebp - 4], 2
inc ecx
cmp dword [ebp - 0x1c], ecx
jne 0x10081397
cmp dword [ebp + 0x18], eax
lea ecx, [ebp + 8]
cmovne edi, dword [ebp + 0x18]
push edi
call fcn.1004ba3f
push ebx
lea ecx, [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_2209
mov esi, dword [ebp + 8]
mov eax, dword [esi - 4]
jmp 0x100813a0
mov esi, dword [ebp + 0x18]
push esi
call fcn.1004ba3f
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.1000140a
ret 0x14
Function at 0x10081af8
Capabilities:
Get common file path

Disassembly:
push 0x13c
mov eax, 0x100e6732
call fcn.10001b03
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x128], ecx
mov dword [esi], 0x10181f8c
lock inc dword [0x10181f80]
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 0x10081c68
lea eax, [ebp - 0x11c]
mov ebx, 0x104
push eax
push ebx
call edi
cmp eax, ebx
jae 0x10081c72
xor ebx, ebx
lea ecx, [ebp - 0x120]
mov byte [ebp + eax - 0x11c], bl
lea eax, [ebp - 0x11c]
push eax
call fcn.1004ba3f
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 fcn.1004ba3f
push 0x100ee700
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 0x10081c33
push ebx
push ebx
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_3988
test eax, eax
je 0x10081c33
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.1004ba3f
push 0x5c
push 2
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.1004ba3f
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.1004ba3f
jmp 0x10081c41
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call fcn.1004ba3f
cmp dword [ebp + 0xc], 0
jne 0x10081c4f
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.10001b39
ret 8
call fcn.1004ba3f
int3
Function at 0x10081c78
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x100e6799
call fcn.10001b03
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x228], ebx
mov dword [esi], 0x10181f8c
lock inc dword [0x10181f80]
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 0x10081d76
push str.WebTempDir
lea ecx, [ebp - 0x220]
call fcn.1004ba3f
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x224]
call sym.fpsrvutl.dll_Ordinal_150
push 0x100ee700
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 0x10081d5a
push ebx
push ebx
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_3988
mov ecx, eax
test ecx, ecx
je 0x10081d5a
mov eax, dword [ecx]
push edi
call dword [eax]
jmp 0x10081d68
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call fcn.1004ba3f
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 0x10081da0
push edi
lea eax, [ebp - 0x220]
push eax
call sym.fpsrvutl.dll_Ordinal_5240
push eax
mov ecx, esi
call fcn.1004ba3f
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b39
ret 4
Function at 0x1009416c
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 0x100941b2
cmp eax, ebx
je 0x100941b2
cmp eax, 3
je 0x100941b2
cmp dword [edi], 0
je 0x100941ae
dec eax
xor edx, edx
div dword [edi]
inc eax
mov dword [ecx], eax
cmp eax, 4
jbe 0x100941b4
cmp eax, 0x200
sbb esi, esi
add esi, 3
jmp 0x100941b4
mov esi, ebx
jmp 0x100941b4
mov esi, eax
cmp dword [edi], 0
jne 0x100941f5
mov eax, dword [0x10182798]
test eax, eax
jne 0x100941d4
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [0x10182798], eax
mov ecx, esi
sub ecx, 1
je 0x100941ee
sub ecx, 1
je 0x100941ea
sub ecx, 1
jne 0x100941f5
shl eax, 2
jmp 0x100941f3
add eax, eax
jmp 0x100941f3
cmp eax, ebx
cmovg eax, ebx
mov dword [edi], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x100a1a80
Capabilities:
Get file attributes

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

Function at 0x100a1aa9
Capabilities:
Set file attributes

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

Function at 0x100a2384
Capabilities:
Copy file

Disassembly:
push 0x438
mov eax, 0x100e8e9b
call fcn.10001b03
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x434]
push edi
call fcn.1004ba3f
xor esi, esi
lea ecx, [ebp - 0x444]
push ebx
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_4804
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x224]
call fcn.1004ba3f
push edi
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100a2414
lea eax, [ebp - 0x444]
push eax
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100a2414
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x234]
cmp eax, 2
jne 0x100a240a
call dword [sym.imp.kernel32.dll_CopyFileW]
jmp 0x100a2410
call dword [sym.imp.kernel32.dll_CopyFileA]
test al, al
jne 0x100a2424
push dword [ebx]
mov ecx, 0x20055
push dword [edi]
call fcn.100a1b8d
mov esi, eax
lea ecx, [ebp - 0x224]
call fcn.100058ed
lea ecx, [ebp - 0x444]
call sym.fpsrvutl.dll_Ordinal_974
lea ecx, [ebp - 0x434]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret 4
Function at 0x100a3053
Capabilities:
Delete directory

Disassembly:
push 0x214
mov eax, 0x100e243e
call fcn.10001b03
mov edi, ecx
call sym.fpsrvutl.dll_Ordinal_1195
push edi
lea ecx, [ebp - 0x220]
call fcn.1004ba3f
xor esi, esi
mov ecx, 0x1017e06c
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_2694
push dword [ebp - 0x20]
cmp eax, 2
jne 0x100a3094
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x100a309a
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
test eax, eax
jne 0x100a30b5
mov esi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20004
call fcn.1006a99f
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret
Function at 0x100a3534
Capabilities:
Delete file
Move file

Disassembly:
push 0x444
mov eax, 0x100e9193
call fcn.10001b03
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x224]
xor ebx, ebx
mov dword [ebp - 0x440], edi
push edi
mov dword [ebp - 0x43c], ebx
call fcn.1004ba3f
push esi
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], ebx
call fcn.1004ba3f
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], bl
jne 0x100a35da
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 0x100a35cb
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_1248
test al, al
jne 0x100a35cb
push dword [edi]
mov ecx, 0x20019
push dword [esi]
call fcn.100a1b8d
lea ecx, [ebp - 0x450]
mov ebx, eax
call sym.fpsrvutl.dll_Ordinal_974
jmp 0x100a3707
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 0x100a35f3
push dword [esi]
xor edx, edx
mov ecx, 0x20015
jmp 0x100a36a4
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_1195
push esi
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100a3634
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 0x100a363b
mov byte [ebp - 0x435], 1
mov dword [ebp - 4], 1
test byte [ebp - 0x43c], 1
je 0x100a3656
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_974
cmp byte [ebp - 0x435], 0
je 0x100a3666
push dword [esi]
push 0xd
pop edx
jmp 0x100a369f
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
jne 0x100a36ad
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 0x100a36ff
mov esi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20014
call fcn.1006a99f
mov ebx, eax
jmp 0x100a3707
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
jne 0x100a36ff
cmp byte [ebp + 0xc], al
je 0x100a3694
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
sub eax, 0x50
je 0x100a36d7
sub eax, 0x67
jne 0x100a36f3
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 0x100a36f9
mov esi, dword [esi]
call edi
jmp 0x100a369c
mov edi, dword [ebp - 0x440]
push edi
mov ecx, esi
call fcn.1004ba3f
lea ecx, [ebp - 0x434]
call fcn.100058ed
lea ecx, [ebp - 0x224]
call fcn.100058ed
mov eax, ebx
call fcn.10001b39
ret 8