joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9b6060
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
test ecx, ecx
je 0x9b610e
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x9b610e
jno 0x9b607e
stc
jne 0x9b6087
lea eax, [eax]
je 0x9b6087
mov eax, 0xff81eb
add byte [ecx], al
add byte [ebx + 0x26], dh
cmp edi, 0x10000
jae 0x9b60b5
cld
or eax, 0
jbe 0x9b60ac
pushf
jbe 0x9b6099
popf
lea esi, [esi + 0x4f14]
lea esi, [esi - 0x4f14]
jno 0x9b60a9
ja 0x9b60ac
mov edi, 0xde85157
or bh, dh
invalid
push edi
push ecx
call 0x996ac0
jmp 0x9b60e6
jne 0x9b60b7
push ecx
pop ecx
ror ebx, 0x17
ror ebx, 9
cmp ebx, 0x5cc3
jl 0x9b60dc
jns 0x9b60c9
lea edx, [edx + 0x3b33]
lea edx, [edx - 0x3b33]
xchg esi, esi
jb 0x9b60d9
jge 0x9b60dc
xor eax, 0x5708458b
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.009a6f90
add esp, 8
test eax, eax
je 0x9b6119
shr ebx, 0
jo 0x9b6107
pushf
shl esp, 0
jbe 0x9b60f9
shr edi, 0
mov esp, esp
popf
jle 0x9b6102
jl 0x9b6104
jno 0x9b6107
mov esp, 0x5d5b5e5f
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0x9909bc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x10001480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [esi + 8]
call fcn.100012d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x100014a9
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov edi, dword [esi + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push edi
push 0x10001250
push 0
push 0
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10], eax
test eax, eax
je 0x100014ed
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100014ed
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], 0
mov eax, dword [esi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x10001ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100727a8
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x638], edi
lea eax, [edi + 8]
mov dword [edi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], edi
jb 0x10001d3a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x34], 8
jb 0x10001d57
mov eax, dword [edi + 0x20]
jmp 0x10001d5a
lea eax, [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x10001d74
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x10001d8e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 3
call fcn.10028ef9
push eax
call fcn.10028e68
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100191c0
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x10001e41
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.100191c0
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10001e32
test eax, eax
je 0x10001e32
add eax, eax
cmp eax, 0x412
jae 0x10001e2d
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x10001e38
call fcn.1000af2e
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x20]
call fcn.10001650
mov eax, dword [edi + 0x30]
test eax, eax
je 0x10001e6d
cmp dword [edi + 0x34], 8
jb 0x10001e53
mov ecx, dword [edi + 0x20]
jmp 0x10001e56
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10001e6d
push 1
push 0x1008a214
lea ecx, [edi + 0x20]
call fcn.10003330
cmp dword [edi + 0x30], 0
jne 0x10001e82
push 3
push 0x1008a218
lea ecx, [edi + 0x20]
call fcn.100016a0
mov dword [edi + 4], 0
mov eax, edi
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.1000a6d9
mov esp, ebp
pop ebp
ret
Function at 0x10008a10
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x234], ecx
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
add edx, 2
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x210]
mov cx, word [eax]
mov word [ebp - 0x21e], cx
add dword [ebp - 0x210], 2
cmp word [ebp - 0x21e], 0
jne 0x10008a58
mov edx, dword [ebp - 0x210]
sub edx, dword [ebp - 0x228]
sar edx, 1
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10008aa7
jmp 0x10008bbb
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
mov ax, word [edx + 2]
mov word [ebp - 0x220], ax
add dword [ebp - 0x214], 2
cmp word [ebp - 0x220], 0
jne 0x10008ab6
mov edi, dword [ebp - 0x214]
mov ecx, dword [0x10075908]
mov dword [edi], ecx
lea edx, [ebp - 0x20c]
add edx, 0xfffffffe
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov cx, word [eax + 2]
mov word [ebp - 0x222], cx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x222], 0
jne 0x10008af5
mov edi, dword [ebp - 0x218]
mov edx, dword [0x1007590c]
mov dword [edi], edx
mov eax, dword [str.mething]
mov dword [edi + 4], eax
mov ecx, dword [0x10075914]
mov dword [edi + 8], ecx
mov edx, dword [0x10075918]
mov dword [edi + 0xc], edx
mov eax, dword [0x1007591c]
mov dword [edi + 0x10], eax
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
mov ax, word [edx + 2]
mov word [ebp - 0x224], ax
add dword [ebp - 0x21c], 2
cmp word [ebp - 0x224], 0
jne 0x10008b56
mov edi, dword [ebp - 0x21c]
mov ecx, dword [0x10075920]
mov dword [edi], ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008ba6
lea eax, [ebp - 0x20c]
push eax
call fcn.1000e475
add esp, 4
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0x1c
call fcn.10001650
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret

Function at 0x10008d00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.100015d0
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10009330
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072deb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.100015d0
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10075924
push str.b3679
push 0x10075948
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x4c
call fcn.10001650
mov byte [ebp - 0x219], 1
mov ecx, dword [ebp - 0x220]
add ecx, 0x4c
call fcn.10003020
movzx edx, al
test edx, edx
je 0x100093cb
mov byte [ebp - 0x219], 0
jmp 0x100093eb
mov ecx, dword [ebp - 0x220]
add ecx, 0x4c
call fcn.100015d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100093eb
mov byte [ebp - 0x219], 0
movzx eax, byte [ebp - 0x219]
test eax, eax
jne 0x1000946a
lea ecx, [ebp - 0x22c]
call fcn.10007000
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x22c]
push ecx
push str..exe
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.100015d0
push eax
call fcn.1000e98a
add esp, 0x10
lea ecx, [ebp - 0x22c]
call fcn.100087d0
test eax, eax
jbe 0x10009458
push 0
lea ecx, [ebp - 0x22c]
call fcn.100089f0
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x4c
call fcn.10003090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10007260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret

Function at 0x10009490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push 0x10075968
mov ecx, dword [ebp - 0x210]
add ecx, 0x1c
call fcn.100015d0
push eax
push 0x10075978
lea eax, [ebp - 0x20c]
push eax
call fcn.10008820
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100094f1
lea edx, [ebp - 0x20c]
push edx
call fcn.1000e475
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret

Function at 0x10009570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.100191c0
add esp, 0xc
mov ecx, dword [ebp - 0x210]
add ecx, 0x34
call fcn.100015d0
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str.NULL
push str.e034b
push 0x100759a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x64
call fcn.10001650
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret
Function at 0x100096c0
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100096ec
xor al, al
jmp 0x1000974a
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000970c
xor al, al
jmp 0x1000974a
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1000972c
xor al, al
jmp 0x1000974a
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x1000973e
xor al, al
jmp 0x1000974a
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret
Function at 0x10009d60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x10009d82
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x10009d8b
mov eax, 1
jmp 0x10009d8d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10009f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x1000a0f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10009f30
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10009f5c
xor al, al
jmp 0x10009fb6
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10009f7c
xor al, al
jmp 0x10009fb6
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x10009fa0
lea ecx, [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret

Function at 0x1000a040
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.10009f30
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x1000a067
xor eax, eax
jmp 0x1000a0d9
mov edx, dword [ebp + 8]
push edx
call fcn.100096c0
add esp, 4
movzx eax, al
test eax, eax
jne 0x1000a07e
xor eax, eax
jmp 0x1000a0d9
lea ecx, [ebp - 0x20]
push ecx
push 0xf003f
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindows_NTCurrentVersionSvchost
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000a0d4
push str.LocalWorkSvc
lea ecx, [ebp - 0x1c]
call fcn.10001540
lea ecx, [ebp - 0x1c]
call fcn.100015d0
push eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.10001500
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b15e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x1000b23f
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x1000b182
inc edx
cmp edx, 2
jg 0x1000b1c0
cmp al, 0x7f
ja 0x1000b1c0
movzx eax, al
mov al, byte [eax + 0x10075d58]
cmp al, 0x7f
je 0x1000b1c0
cmp al, 0x40
jae 0x1000b19b
test edx, edx
jne 0x1000b1c0
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x1000b175
test ecx, ecx
je 0x1000b23f
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x1000b1c5
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x1000b1c2
push 0xffffffffffffffee
pop eax
jmp 0x1000b241
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x1000b239
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x10075d58]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x1000b22a
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x1000b215
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x1000b222
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x1000b22a
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x1000b1da
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x1000e475
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.10020feb
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a39b
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.100288af
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x1000e4ef
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x1000e4e6
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e4dc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000e4ed
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x1000e4b9
jmp 0x1000e4ef
xor edi, edi
push esi
call fcn.1000a3a4
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e4ff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.1000ebf9
lea eax, [ebp - 0x20c]
push eax
call fcn.10020feb
add esp, 0x14
test eax, eax
je 0x1000e5b7
lea eax, [ebp - 0x20c]
push 0x1008a214
push eax
call fcn.1002883e
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1002883e
lea eax, [ebp - 0x20c]
push 0x1008a214
push eax
call fcn.1002883e
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e590
lea eax, [ebp - 0x20c]
push eax
call fcn.1000e475
pop ecx
cmp word [ebp - 0x20c], si
je 0x1000e5a8
lea eax, [ebp - 0x20c]
push eax
call fcn.10020feb
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.100016a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret

Function at 0x1000e66b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10090014]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x10091adc]
test al, al
jne 0x1000e704
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100191c0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000e6fb
lea eax, [ebp - 0x20c]
push eax
call fcn.10028a9f
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.1001a981
pop ecx
pop ecx
test eax, eax
jne 0x1000e6f3
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.1001a981
pop ecx
pop ecx
test eax, eax
je 0x1000e6fb
mov byte [0x10091adc], bl
jmp 0x1000e701
mov bl, byte [0x10091adc]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a6d9
mov esp, ebp
pop ebp
ret
Function at 0x1000e712
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x10073394
call fcn.1003d449
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.100191c0
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100191c0
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100191c0
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100191c0
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100191c0
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.100191c0
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.1000ebf9
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100288af
lea eax, [ebp - 0x218]
push eax
call fcn.10020feb
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.10019354
add esp, 0x24
test eax, eax
jne 0x1000e816
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.1000e4ff
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.10003770
push esi
push 1
jmp 0x1000e977
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.100288af
lea eax, [ebp - 0x830]
push 0x100772ac
push eax
call fcn.1002883e
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.100288af
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.1002883e
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.100288af
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.1002883e
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x1000e954
cmp dword [ebp - 0xc5c], 0
je 0x1000e954
test ecx, ecx
je 0x1000e954
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.10008820
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e924
lea eax, [ebp - 0x420]
push eax
call fcn.1000e475
pop ecx
cmp word [ebp - 0x420], 0
jne 0x1000e932
xor eax, eax
jmp 0x1000e93f
lea eax, [ebp - 0x420]
push eax
call fcn.10020feb
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.100016a0
jmp 0x1000e963
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.1000e4ff
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.10003770
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.100015e0
mov eax, edi
call fcn.1003d404
ret