joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dc60
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45dc8a
xor eax, eax
jmp 0x45de80
mov dword [ebp - 8], 0
push 0
push 0x80
push 4
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x45dcc5
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.004154e8
add esp, 4
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], 0
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xe
mov esi, 0x4749d4
lea edi, [ebp - 0x130]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xcb
push 0
lea ecx, [ebp - 0xf7]
push ecx
call fcn.00415da0
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
call fcn.00415870
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x134], 0
jmp 0x45dd7a
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [ebp - 8]
jge 0x45de59
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x134]
movsx eax, byte [edx]
movsx ecx, byte [ebp - 0x130]
cmp eax, ecx
jne 0x45de54
cmp dword [ebp - 0x1c], 0
je 0x45ddaf
jmp 0x45de59
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x138], 0
jmp 0x45ddda
mov eax, dword [ebp - 0x138]
add eax, 1
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp - 4]
jge 0x45de54
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + edx]
mov edx, dword [ebp - 0x138]
movsx eax, byte [ebp + edx - 0x130]
cmp ecx, eax
jne 0x45de46
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jne 0x45de44
cmp dword [ebp - 0xc], 0
je 0x45de3d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.00416a89
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, 1
jmp 0x45de80
jmp 0x45de4f
mov dword [ebp - 0x10], 0
jmp 0x45de54
jmp 0x45ddcb
jmp 0x45dd6b
cmp dword [ebp - 0xc], 0
je 0x45de7e
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
push eax
call fcn.00416a89
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret
Function at 0x45df40
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00415da0
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00415da0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0041620d
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0041620d
add esp, 8
lea eax, [ebp - 0x418]
push eax
call fcn.004174d8
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
call fcn.004174d8
add esp, 4
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0041557a
add esp, 8
test eax, eax
jne 0x45dff4
jmp 0x45e10d
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0
mov ecx, 1
test ecx, ecx
je 0x45e10d
mov word [ebp - 0x628], 0
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.00415da0
add esp, 0xc
cmp dword [ebp - 0x41c], 0
jne 0x45e054
mov eax, dword [ebp + 0xc]
push eax
push 0x474848
lea ecx, [ebp - 0x628]
push ecx
call fcn.00416420
add esp, 0xc
jmp 0x45e073
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x474858
lea ecx, [ebp - 0x628]
push ecx
call fcn.00416420
add esp, 0x10
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e091
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041acc2
add esp, 8
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45e0dd
push 5
push 0
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x45e10d
push 5
push 0
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x41c], 0xa
jl 0x45e0f9
jmp 0x45e10d
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
jmp 0x45e005
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret
Function at 0x45e1a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x45e1c0
xor eax, eax
jmp 0x45e319
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00415da0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0041620d
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.0041aeaa
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x450], 0
push 0x228
push 0
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00415da0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x45e254
xor eax, eax
jmp 0x45e319
mov dword [ebp - 0x450], 0x22c
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45e30a
mov word [ebp - 0x660], 0
push 0x206
push 0
lea ecx, [ebp - 0x65e]
push ecx
call fcn.00415da0
add esp, 0xc
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x660]
push eax
call fcn.0041620d
add esp, 8
lea ecx, [ebp - 0x660]
push ecx
call fcn.0041aeaa
add esp, 4
mov dword [ebp - 0x454], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x454]
push eax
call fcn.0041557a
add esp, 8
test eax, eax
jne 0x45e2ef
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x448]
jmp 0x45e319
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45e279
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret

Function at 0x45e330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00415da0
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00415da0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x4747c0
lea eax, [ebp - 0x7d8]
push eax
call fcn.00416420
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45e3ba
jmp 0x45e3d4
mov ecx, dword [ebp - 0x7e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x7e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret
Function at 0x45e3f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.004155ac
add esp, 4
test eax, eax
jne 0x45e408
jmp 0x45e45b
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00415da0
add esp, 0xc
mov dword [ebp - 0x30], 0x4747a8
mov dword [ebp - 0x38], 0x200
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x4747b4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x45e45b
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045e330
add esp, 4
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.004155ac
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004154e8
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0041620d
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x45e5da
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x45e648
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x45e646
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e62f
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45e62f
mov byte [ebp - 1], 0
jmp 0x45e648
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x45e5d1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00416a89
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x45e990
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e9b6
jmp 0x45eb8f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45e9ce
jmp 0x45eb8f
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00415da0
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00415da0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045e800
add esp, 8
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x424], 0
mov ecx, 1
test ecx, ecx
je 0x45eb8f
mov dword [ebp - 0x428], 1
mov word [ebp - 0x630], 0
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.00415da0
add esp, 0xc
cmp dword [ebp - 0x424], 0
jne 0x45eaa8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x420]
push ecx
push str._s_s.del
lea edx, [ebp - 0x630]
push edx
call fcn.00416420
add esp, 0x10
jmp 0x45ead1
mov eax, dword [ebp - 0x424]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
push str._s_s.del_d
lea eax, [ebp - 0x630]
push eax
call fcn.00416420
add esp, 0x14
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45eaf5
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x45eb20
cmp dword [ebp - 0x424], 0xa
jl 0x45eb0c
jmp 0x45eb8f
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
jmp 0x45ea45
lea ecx, [ebp - 0x630]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041acc2
add esp, 8
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45eb57
push 5
push 0
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x45eb88
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45eb88
push 0x4748ec
mov eax, dword [ebp + 8]
push eax
call fcn.00416185
add esp, 8
test eax, eax
je 0x45eb88
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x45eb8f
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret
Function at 0x45ee00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ecx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45ee2b
xor al, al
jmp 0x45ee99
push str.SHGetKnownFolderPath
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x45ee47
xor al, al
jmp 0x45ee99
lea ecx, [ebp - 0x18]
push ecx
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x45ee75
xor al, al
jmp 0x45ee99
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041620d
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ee97
xor al, al
jmp 0x45ee99
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret 8

Function at 0x45eeb0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x45eef5
push str.AppDataLocalLow
mov edx, dword [ebp + 8]
push edx
call fcn.004161e3
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45eef1
xor al, al
jmp 0x45eef7
mov al, 1
jmp 0x45eef7
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x45ef00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00415da0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jne 0x45ef71
cmp dword [ebp - 0x120], 0
je 0x45ef61
cmp dword [ebp - 0x120], 1
jne 0x45ef71
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x45ef71
mov eax, 1
jmp 0x45ef73
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret
Function at 0x45f050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x62c], ecx
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00415da0
add esp, 0xc
push 0x475ac4
lea ecx, [ebp - 0x420]
push ecx
call fcn.0041620d
add esp, 8
push str.DongFangInput
lea edx, [ebp - 0x420]
push edx
call fcn.004161e3
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x40
call fcn.00401200
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041620d
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x24
call fcn.00401200
push eax
lea ecx, [ebp - 0x628]
push ecx
call fcn.0041620d
add esp, 8
lea edx, [ebp - 4]
push edx
push 2
push 0
lea eax, [ebp - 0x420]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x45f153
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 1
push 0
push 0x475af4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push 0x475b0c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415da0
add esp, 0xc
push 0x4756a4
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401200
push eax
push 0x4756ac
lea ecx, [ebp - 0x210]
push ecx
call fcn.00416420
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f260
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Dict
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00401200
push eax
push 0x4756c4
lea ecx, [ebp - 0x210]
push ecx
call fcn.00416420
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f2a8
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret
Function at 0x45f2c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415da0
add esp, 0xc
push str.AllSkin
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401200
push eax
push 0x475698
lea ecx, [ebp - 0x210]
push ecx
call fcn.00416420
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f340
lea eax, [ebp - 0x210]
push eax
call fcn.0045e570
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret

Function at 0x45f350
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.0045c810
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call fcn.0045c320
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
call fcn.0045c8a0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
call fcn.0045c340
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
call fcn.0045c420
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
call fcn.0045c3b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
add eax, 0x1a0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1b8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1a8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
add eax, 0x1e8
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1c8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1d8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
mov ecx, dword [0x47ebd8]
mov dword [eax + 0x190], ecx
mov esp, ebp
pop ebp
ret

Function at 0x45f4e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.004011a0
push str.Skin_
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.004011e0
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401200
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f533
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401200
push eax
call fcn.0045e570
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x45f540
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415da0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.0045f170
movzx edx, al
test edx, edx
jne 0x45f5c9
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.004155ac
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x45f5c9
jmp 0x45f63a
push 0x475a98
lea edx, [ebp - 0x210]
push edx
call fcn.004161e3
add esp, 8
push 0x475a9c
lea eax, [ebp - 0x210]
push eax
call fcn.004161e3
add esp, 8
push 0x475ac0
lea ecx, [ebp - 0x210]
push ecx
call fcn.004161e3
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f625
lea eax, [ebp - 0x210]
push eax
call fcn.0045e570
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.004011c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret

Function at 0x45f650
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415da0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.0045f170
movzx edx, al
test edx, edx
jne 0x45f6d9
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.004155ac
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x45f6d9
jmp 0x45f74a
push 0x475a78
lea edx, [ebp - 0x210]
push edx
call fcn.004161e3
add esp, 8
push 0x475a7c
lea eax, [ebp - 0x210]
push eax
call fcn.004161e3
add esp, 8
push 0x475a94
lea ecx, [ebp - 0x210]
push ecx
call fcn.004161e3
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f735
lea eax, [ebp - 0x210]
push eax
call fcn.0045e570
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x40
call fcn.004011c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret