joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b900
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
jne 0x40b90c
xor al, al
ret
and eax, 0xffffb1af
cmp dword [ecx + 0x18], 8
jb 0x40b928
mov ecx, dword [ecx + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
add ecx, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x40b940
Capabilities:
Move file

Disassembly:
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x40b94f
mov eax, dword [eax + 4]
jmp 0x40b952
add eax, 4
cmp dword [ecx + 0x18], edx
jb 0x40b968
mov ecx, dword [ecx + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
ret
add ecx, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
ret

Function at 0x40b980
Capabilities:
Create directory

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40b998
mov eax, dword [eax + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
ret
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
ret

Function at 0x40b9b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x446908
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
push 0x44a464
mov esi, ecx
call fcn.00435b0d
add esp, 4
push eax
mov eax, esi
call fcn.0040bf40
cmp eax, 0xffffffff
jne 0x40ba1d
cmp dword [esi + 0x18], 8
jb 0x40ba07
mov esi, dword [esi + 4]
jmp 0x40ba0a
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x40ba82
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x68], eax
call fcn.0040e7b0
add esp, 8
cmp dword [esp + 0x4c], 8
mov bl, al
jb 0x40ba80
mov eax, dword [esp + 0x38]
push eax
call fcn.00435b68
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0043579e
add esp, 0x58
ret
Function at 0x40d650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x446298
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
xor ebx, ebx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.00401318
push 0x24
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0040d040
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x40d6ca
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d6ed
cmp dword [esp + 0x24], esi
jb 0x40d6e9
mov edx, dword [esp + 0x10]
push edx
call fcn.00435b68
add esp, 4
mov al, 1
jmp 0x40d702
cmp dword [esp + 0x24], esi
jb 0x40d700
mov eax, dword [esp + 0x10]
push eax
call fcn.00435b68
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043579e
add esp, 0x2c
ret

Function at 0x40d720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x446298
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
xor ebx, ebx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.00401318
push 0x24
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0040d040
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x40d79a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d7c1
test al, 0x10
jne 0x40d7c1
cmp dword [esp + 0x24], esi
jb 0x40d7bd
mov edx, dword [esp + 0x10]
push edx
call fcn.00435b68
add esp, 4
mov al, 1
jmp 0x40d7d6
cmp dword [esp + 0x24], esi
jb 0x40d7d4
mov eax, dword [esp + 0x10]
push eax
call fcn.00435b68
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043579e
add esp, 0x2c
ret
Function at 0x40d800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x446298
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
xor ebx, ebx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.00401318
push 0x24
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0040d040
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x40d87a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d8a1
test al, 0x10
je 0x40d8a1
cmp dword [esp + 0x24], esi
jb 0x40d89d
mov edx, dword [esp + 0x10]
push edx
call fcn.00435b68
add esp, 4
mov al, 1
jmp 0x40d8b6
cmp dword [esp + 0x24], esi
jb 0x40d8b4
mov eax, dword [esp + 0x10]
push eax
call fcn.00435b68
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043579e
add esp, 0x2c
ret

Function at 0x40d8e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x40d8ee
mov eax, dword [esi]
jmp 0x40d8f0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d91d
and eax, 0xfffffffe
cmp eax, 0xffffffff
je 0x40d91d
and eax, 0xffffb1af
cmp dword [edi + 0x18], 8
jb 0x40d913
mov ecx, dword [esi]
jmp 0x40d915
mov ecx, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x40d925
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
pop esi
ret
Function at 0x40de60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4452c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov eax, dword [ebp + 0x14]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x40df91
cmp edi, dword [ebp + 0x14]
jbe 0x40deb1
call fcn.00435ed5
mov ebx, 8
cmp dword [ebp + 0x18], ebx
lea esi, [ebp + 4]
jb 0x40dec2
mov eax, dword [esi]
jmp 0x40dec4
mov eax, esi
cmp word [eax + edi*2], 0x2f
je 0x40deeb
cmp edi, dword [ebp + 0x14]
jbe 0x40ded5
call fcn.00435ed5
cmp dword [ebp + 0x18], ebx
jb 0x40dede
mov eax, dword [esi]
jmp 0x40dee0
mov eax, esi
cmp word [eax + edi*2], 0x5c
jne 0x40df84
push edi
push ebp
xor ebx, ebx
lea esi, [esp + 0x20]
call fcn.00407ef0
xor esi, esi
mov dword [esp + 0x40], esi
cmp dword [esp + 0x2c], esi
jne 0x40df13
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jmp 0x40df64
lea ecx, [esp + 0x18]
push ecx
call fcn.0040d650
add esp, 4
test al, al
mov ebx, 8
jne 0x40df58
cmp dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
jae 0x40df37
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40df58
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], ebx
jb 0x40df73
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40df6b
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], ebx
jb 0x40df73
mov eax, dword [esp + 0x1c]
push eax
call fcn.00435b68
add esp, 4
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
add edi, 1
cmp edi, dword [esp + 0x14]
jb 0x40dea7
push ebp
call fcn.0040d650
add esp, 4
test al, al
jne 0x40dfbd
cmp dword [ebp + 0x18], 8
jb 0x40dfa9
mov eax, dword [ebp + 4]
jmp 0x40dfac
lea eax, [ebp + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40dfbd
xor al, al
jmp 0x40dfc6
push ebp
call fcn.0040d800
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043579e
add esp, 0x30
ret
Function at 0x40ea70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445a38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x44a5c0
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
call fcn.0040124c
mov dword [esp + 0x30], ebx
cmp byte [edi], bl
je 0x40eae5
lea esi, [edi + 4]
push esi
call fcn.0040d940
add esp, 4
push esi
call fcn.0040d650
add esp, 4
test al, al
setne al
cmp al, bl
mov byte [edi], al
jne 0x40eae5
mov eax, esi
call fcn.00407e41
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0040bbe0
add esp, 8
cmp dword [esp + 0x24], 8
mov bl, al
mov byte [edi], bl
jb 0x40eb0e
mov edx, dword [esp + 0x10]
push edx
call fcn.00435b68
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x40ed50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44521e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a210]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
push 0x18
call fcn.00435aa3
add esp, 4
push eax
mov dword [ebx + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
lea ebp, [ebx + 0x24]
mov dword [esp + 0x38], eax
mov dword [ebp], eax
mov byte [ebp + 4], al
mov edx, 7
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x1c], eax
mov word [ebp + 0xc], ax
mov byte [esp + 0x38], 1
or ecx, 0xffffffff
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov byte [ebx + 8], al
mov dword [ebx + 0x18], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x1c], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
mov eax, 0x449dac
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], edx
call fcn.0040124c
mov edi, esi
mov esi, ebp
mov byte [esp + 0x38], 2
call fcn.00410660
cmp dword [esp + 0x2c], 8
jb 0x40ee09
mov eax, dword [esp + 0x18]
push eax
call fcn.00435b68
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x40f240
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x40f24e
xor al, al
pop esi
ret
push edi
lea edi, [eax + 0x20]
test edi, edi
je 0x40f263
mov eax, dword [edi]
test eax, eax
je 0x40f263
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x40f2ca
add eax, 0xc
push eax
push 4
push esi
push 0x40ee30
push 0
push 0
call fcn.00436b7f
mov ecx, dword [esi + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [esi + 8]
add esp, 0x18
cmp dword [edx + 0x10], 0
jne 0x40f297
mov esi, edx
jmp 0x40f2c5
mov eax, edx
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
add eax, 0x24
mov eax, dword [eax]
test eax, eax
je 0x40f2b0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x40f2e0
mov esi, dword [esi + 8]
call fcn.0040f060
test edi, edi
je 0x40f2db
mov edi, dword [edi]
test edi, edi
je 0x40f2db
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop esi
ret
test edi, edi
je 0x40f2f1
mov edi, dword [edi]
test edi, edi
je 0x40f2f1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov al, 1
pop esi
ret

Function at 0x40fc70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push 0x20a
lea eax, [esp + 0xa]
push 0
push eax
mov esi, ecx
mov word [esp + 0x10], 0
call fcn.00435a10
add esp, 0xc
push 0x105
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x40fce7
lea eax, [esp + 4]
mov word [esp + 0x20e], 0
call fcn.0040124c
mov al, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043579e
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor al, al
call fcn.0043579e
add esp, 0x210
ret

Function at 0x40fd60
Capabilities:
Set file attributes

Disassembly:
and ecx, 0xffffb1af
cmp dword [eax + 0x18], 8
jb 0x40fd7d
mov eax, dword [eax + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x40fd90
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, 8
cmp dword [ebp + 0x18], esi
push edi
lea edi, [ebp + 4]
jb 0x40fdab
mov eax, dword [edi]
jmp 0x40fdad
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40fdc1
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x1c
ret
cmp dword [ebp + 0x18], esi
jb 0x40fdca
mov eax, dword [edi]
jmp 0x40fdcc
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x40fea6
cmp dword [ebp + 0x18], esi
jb 0x40fde9
mov eax, dword [edi]
jmp 0x40fdeb
mov eax, edi
push ebx
xor ebx, ebx
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
call fcn.0040124c
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x40fe17
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
test al, al
mov esi, 8
sete bl
cmp dword [esp + 0x28], esi
jb 0x40fe41
mov eax, dword [esp + 0x14]
push eax
call fcn.00435b68
add esp, 4
test bl, bl
pop ebx
jne 0x40fea6
cmp dword [ebp + 0x18], esi
jb 0x40fe4f
mov eax, dword [edi]
jmp 0x40fe51
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40fdb8
cmp dword [ebp + 0x18], esi
jb 0x40fe69
mov eax, dword [edi]
jmp 0x40fe6b
mov eax, edi
xor ecx, ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ecx
mov word [esp + 0x10], cx
call fcn.0040124c
mov ecx, dword [esp + 0x2c]
mov eax, esi
call fcn.0040fd60
cmp dword [esp + 0x24], 8
jb 0x40fea6
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00435b68
add esp, 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x1c
ret
Function at 0x40feb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
xor edi, edi
cmp dword [0x45b84c], edi
mov esi, ecx
je 0x40fefc
push ebx
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov eax, 0x45b838
call fcn.00401318
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0043579e
add esp, 0x624
ret
push 0x20a
lea eax, [esp + 0xe]
push edi
push eax
mov word [esp + 0x14], di
call fcn.00435a10
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x40ffca
push 0x410
lea edx, [esp + 0x21a]
push edi
push edx
mov word [esp + 0x21e], di
mov word [esp + 0x220], di
call fcn.00435a10
add esp, 0xc
push 0x208
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40ffa8
cmp eax, edi
je 0x40ffa8
mov word [esp + eax*2 + 0x214], di
lea eax, [esp + 0x214]
call fcn.0040124c
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0043579e
add esp, 0x624
ret
lea eax, [esp + 8]
call fcn.0040124c
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0043579e
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0043579e
add esp, 0x624
ret

Function at 0x40fff0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
push 0x20a
lea eax, [esp + 0x12]
push 0
push eax
mov ebx, ecx
mov edi, edx
mov word [esp + 0x18], 0
call fcn.00435a10
mov eax, 8
add esp, 0xc
cmp dword [edi + 0x18], eax
jb 0x41003c
mov edi, dword [edi + 4]
jmp 0x41003f
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x410049
mov ebx, dword [ebx + 4]
jmp 0x41004c
add ebx, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x41008c
lea eax, [esp + 0xc]
mov word [esp + 0x216], 0
call fcn.0040124c
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043579e
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0043579e
add esp, 0x210
ret
Function at 0x4103e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x50
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
cdq
push esi
push edx
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040bfd0
add esp, 8
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov eax, edi
call fcn.00401318
push 0x44a5e0
call fcn.00435b0d
add esp, 4
mov ebx, eax
push 0x44a5e0
mov eax, esi
call fcn.004042f5
lea eax, [esp + 0x10]
push eax
call fcn.00435b0d
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, esi
call fcn.004042f5
push 0x44a5e4
call fcn.00435b0d
add esp, 4
mov ebx, eax
push 0x44a5e4
mov eax, esi
call fcn.004042f5
push 0xffffffffffffffff
push 0
mov eax, ebp
call fcn.00404251
cmp dword [esi + 0x18], 8
jb 0x41047d
mov esi, dword [esi + 4]
jmp 0x410480
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x54]
pop esi
xor edx, edx
cmp eax, 0xffffffff
pop ebp
sete dl
pop ebx
xor ecx, esp
mov al, dl
call fcn.0043579e
add esp, 0x50
ret

Function at 0x4104d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4622a0], ecx
add edx, 1
cmp edx, 0x100
jb 0x4104d3
cmp edx, 0x800
jae 0x4105bb
nop
mov eax, dword [edx*4 + 0x461ea0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4622a0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x46229c], eax
jb 0x410590
mov dword [0x45ea74], 0x4106c0
call fcn.00410890
test eax, eax
jne 0x4105d8
mov dword [0x45ea74], 0x410770
pop ecx
ret
Function at 0x41f57a
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41f591
add eax, eax
xor eax, 0x4c11db7
jmp 0x41f593
add eax, eax
dec edx
test edx, edx
jg 0x41f584
mov dword [ecx*4 + 0x45ea78], eax
inc ecx
cmp ecx, 0x100
jb 0x41f57c
ret
Function at 0x42d79b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x45a210]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
xor edi, edi
push 0x40e
lea eax, [ebp - 0x7a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x7c], di
call fcn.00435a10
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a0]
mov dword [ebp - 0x80], edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x42d7ee
xor al, al
jmp 0x42d827
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42d80f
cmp dword [ebp - 0x80], edi
je 0x42d7ea
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x42d7ea
lea eax, [ebp - 0x7c]
call fcn.0040124c
cmp dword [ebp - 0x80], edi
je 0x42d825
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
pop esi
call fcn.0043579e
add ebp, 0x398
leave
ret

Function at 0x42d83e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00435a10
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], str.regedit
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop esi
je 0x42d8a1
push 0x20
pop eax
cmp eax, dword [ebp - 0x1c]
sbb eax, eax
neg eax
leave
ret
xor al, al
leave
ret
Function at 0x42d8a5
Capabilities:
Query environment variable

Disassembly:
push 0x2c
mov eax, 0x445fd9
call fcn.004378a5
push 1
lea eax, [ebp - 0x30]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x30], ebx
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0x25
call fcn.00403f39
cmp eax, 0xffffffff
mov eax, edi
jne 0x42d8e4
call fcn.00403d90
mov eax, esi
jmp 0x42d97f
lea esi, [ebp - 0x2c]
call fcn.00403d90
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0x38], eax
jb 0x42d8fd
mov eax, dword [eax]
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x42d912
mov eax, edi
jmp 0x42d968
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00435799
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
pop ecx
jb 0x42d938
mov eax, dword [eax]
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x30]
push eax
call ebx
test eax, eax
jbe 0x42d95c
cmp eax, esi
ja 0x42d95c
mov ecx, dword [ebp - 0x30]
and word [ecx + eax*2], 0
mov eax, ecx
lea esi, [ebp - 0x2c]
call fcn.0040124c
push dword [ebp - 0x30]
call fcn.0043659d
pop ecx
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
call fcn.00403d90
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004012ba
mov eax, dword [ebp - 0x34]
call fcn.00437928
ret