joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b850
Capabilities:
Move file

Disassembly:
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x40b85f
mov eax, dword [eax + 4]
jmp 0x40b862
add eax, 4
cmp dword [ecx + 0x18], edx
jb 0x40b878
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 0x40b890
Capabilities:
Create directory

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40b8a8
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 0x40b8c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x445d88
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov eax, dword [0x458210]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
push 0x449454
mov esi, ecx
call fcn.00434f2d
add esp, 4
push eax
mov eax, esi
call fcn.0040be50
cmp eax, 0xffffffff
jne 0x40b92d
cmp dword [esi + 0x18], 8
jb 0x40b917
mov esi, dword [esi + 4]
jmp 0x40b91a
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x40b992
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.0040e6a0
add esp, 8
cmp dword [esp + 0x4c], 8
mov bl, al
jb 0x40b990
mov eax, dword [esp + 0x38]
push eax
call fcn.00434f88
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.00434bcb
add esp, 0x58
ret
Function at 0x40d560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4455e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x458210]
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.00401322
push 0x24
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0040cf50
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x40d5da
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d5fd
cmp dword [esp + 0x24], esi
jb 0x40d5f9
mov edx, dword [esp + 0x10]
push edx
call fcn.00434f88
add esp, 4
mov al, 1
jmp 0x40d612
cmp dword [esp + 0x24], esi
jb 0x40d610
mov eax, dword [esp + 0x10]
push eax
call fcn.00434f88
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.00434bcb
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4455e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x458210]
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.00401322
push 0x24
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0040cf50
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x40d6aa
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d6d1
test al, 0x10
jne 0x40d6d1
cmp dword [esp + 0x24], esi
jb 0x40d6cd
mov edx, dword [esp + 0x10]
push edx
call fcn.00434f88
add esp, 4
mov al, 1
jmp 0x40d6e6
cmp dword [esp + 0x24], esi
jb 0x40d6e4
mov eax, dword [esp + 0x10]
push eax
call fcn.00434f88
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.00434bcb
add esp, 0x2c
ret
Function at 0x40d710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4455e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x458210]
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.00401322
push 0x24
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0040cf50
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x40d78a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d7b1
test al, 0x10
je 0x40d7b1
cmp dword [esp + 0x24], esi
jb 0x40d7ad
mov edx, dword [esp + 0x10]
push edx
call fcn.00434f88
add esp, 4
mov al, 1
jmp 0x40d7c6
cmp dword [esp + 0x24], esi
jb 0x40d7c4
mov eax, dword [esp + 0x10]
push eax
call fcn.00434f88
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.00434bcb
add esp, 0x2c
ret

Function at 0x40d7f0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x40d7fe
mov eax, dword [esi]
jmp 0x40d800
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
cmp dword [edi + 0x18], 8
jb 0x40d814
mov ecx, dword [esi]
jmp 0x40d816
mov ecx, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x40d826
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
pop esi
ret
Function at 0x40dd50
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x444648
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458210]
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 0x40de81
cmp edi, dword [ebp + 0x14]
jbe 0x40dda1
call fcn.004352f5
mov ebx, 8
cmp dword [ebp + 0x18], ebx
lea esi, [ebp + 4]
jb 0x40ddb2
mov eax, dword [esi]
jmp 0x40ddb4
mov eax, esi
cmp word [eax + edi*2], 0x2f
je 0x40dddb
cmp edi, dword [ebp + 0x14]
jbe 0x40ddc5
call fcn.004352f5
cmp dword [ebp + 0x18], ebx
jb 0x40ddce
mov eax, dword [esi]
jmp 0x40ddd0
mov eax, esi
cmp word [eax + edi*2], 0x5c
jne 0x40de74
push edi
push ebp
xor ebx, ebx
lea esi, [esp + 0x20]
call fcn.00407dda
xor esi, esi
mov dword [esp + 0x40], esi
cmp dword [esp + 0x2c], esi
jne 0x40de03
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jmp 0x40de54
lea ecx, [esp + 0x18]
push ecx
call fcn.0040d560
add esp, 4
test al, al
mov ebx, 8
jne 0x40de48
cmp dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
jae 0x40de27
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40de48
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], ebx
jb 0x40de63
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40de5b
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], ebx
jb 0x40de63
mov eax, dword [esp + 0x1c]
push eax
call fcn.00434f88
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 0x40dd97
push ebp
call fcn.0040d560
add esp, 4
test al, al
jne 0x40dead
cmp dword [ebp + 0x18], 8
jb 0x40de99
mov eax, dword [ebp + 4]
jmp 0x40de9c
lea eax, [ebp + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40dead
xor al, al
jmp 0x40deb6
push ebp
call fcn.0040d710
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.00434bcb
add esp, 0x30
ret
Function at 0x40e960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444df8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x458210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x4494b4
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
call fcn.00401248
mov dword [esp + 0x30], ebx
cmp byte [edi], bl
je 0x40e9d5
lea esi, [edi + 4]
push esi
call fcn.0040d840
add esp, 4
push esi
call fcn.0040d560
add esp, 4
test al, al
setne al
cmp al, bl
mov byte [edi], al
jne 0x40e9d5
mov eax, esi
call fcn.00407d2b
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0040baf0
add esp, 8
cmp dword [esp + 0x24], 8
mov bl, al
mov byte [edi], bl
jb 0x40e9fe
mov edx, dword [esp + 0x10]
push edx
call fcn.00434f88
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 0x40efc0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
push edi
mov edi, eax
lea ebp, [edi + 0xc]
test ebp, ebp
je 0x40efd9
mov eax, dword [ebp]
test eax, eax
je 0x40efd9
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
test eax, eax
jne 0x40eff7
test ebp, ebp
je 0x40eff2
mov ebp, dword [ebp]
test ebp, ebp
je 0x40eff2
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop ebp
ret
cmp dword [eax + 4], 0
je 0x40efe0
push esi
add eax, 0xc
push eax
push 4
push edi
push 0x40ec40
push 0
push 0
call fcn.00435f9f
mov ecx, dword [edi + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 8]
add esp, 0x18
cmp dword [edx + 0x10], 0
jne 0x40f064
mov eax, edx
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi + 8]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x40f041
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], esi
test ebp, ebp
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x40f05e
mov ebp, dword [ebp]
test ebp, ebp
je 0x40f05e
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebp
ret
mov ecx, edx
mov byte [ecx + 8], 1
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x40f08b
mov esi, dword [edi + 8]
call fcn.0040ee40
mov ecx, dword [edi + 8]
mov byte [ecx + 8], 0
test ebp, ebp
je 0x40f09d
mov ebp, dword [ebp]
test ebp, ebp
je 0x40f09d
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
mov al, 1
pop ebp
ret
Function at 0x40fa70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x458210]
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.00434e30
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 0x40fae7
lea eax, [esp + 4]
mov word [esp + 0x20e], 0
call fcn.00401248
mov al, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00434bcb
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor al, al
call fcn.00434bcb
add esp, 0x210
ret

Function at 0x40fb60
Capabilities:
Set file attributes

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40fb77
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 0x40fb90
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 0x40fbab
mov eax, dword [edi]
jmp 0x40fbad
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40fbc1
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x1c
ret
cmp dword [ebp + 0x18], esi
jb 0x40fbca
mov eax, dword [edi]
jmp 0x40fbcc
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x40fca1
cmp dword [ebp + 0x18], esi
jb 0x40fbe9
mov eax, dword [edi]
jmp 0x40fbeb
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.00401248
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x40fc17
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov esi, 8
sete bl
cmp dword [esp + 0x28], esi
jb 0x40fc3c
mov eax, dword [esp + 0x14]
push eax
call fcn.00434f88
add esp, 4
test bl, bl
pop ebx
jne 0x40fca1
cmp dword [ebp + 0x18], esi
jb 0x40fc4a
mov eax, dword [edi]
jmp 0x40fc4c
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40fbb8
cmp dword [ebp + 0x18], esi
jb 0x40fc64
mov eax, dword [edi]
jmp 0x40fc66
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.00401248
mov ecx, dword [esp + 0x2c]
mov eax, esi
call fcn.0040fb60
cmp dword [esp + 0x24], 8
jb 0x40fca1
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00434f88
add esp, 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x1c
ret
Function at 0x40fcb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
xor edi, edi
cmp dword [0x4597ec], edi
mov esi, ecx
je 0x40fcfc
push ebx
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov eax, 0x4597d8
call fcn.00401322
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.00434bcb
add esp, 0x624
ret
push 0x20a
lea eax, [esp + 0xe]
push edi
push eax
mov word [esp + 0x14], di
call fcn.00434e30
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 0x40fdca
push 0x410
lea edx, [esp + 0x21a]
push edi
push edx
mov word [esp + 0x21e], di
mov word [esp + 0x220], di
call fcn.00434e30
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 0x40fda8
cmp eax, edi
je 0x40fda8
mov word [esp + eax*2 + 0x214], di
lea eax, [esp + 0x214]
call fcn.00401248
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.00434bcb
add esp, 0x624
ret
lea eax, [esp + 8]
call fcn.00401248
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.00434bcb
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00434bcb
add esp, 0x624
ret

Function at 0x40fdf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x458210]
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.00434e30
mov eax, 8
add esp, 0xc
cmp dword [edi + 0x18], eax
jb 0x40fe3c
mov edi, dword [edi + 4]
jmp 0x40fe3f
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x40fe49
mov ebx, dword [ebx + 4]
jmp 0x40fe4c
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 0x40fe8c
lea eax, [esp + 0xc]
mov word [esp + 0x216], 0
call fcn.00401248
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00434bcb
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.00434bcb
add esp, 0x210
ret
Function at 0x4101e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x50
mov eax, dword [0x458210]
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.0040bee0
add esp, 8
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov eax, edi
call fcn.00401322
push 0x4494d4
call fcn.00434f2d
add esp, 4
mov ebx, eax
push 0x4494d4
mov eax, esi
call fcn.0040425b
lea eax, [esp + 0x10]
push eax
call fcn.00434f2d
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, esi
call fcn.0040425b
push 0x4494d8
call fcn.00434f2d
add esp, 4
mov ebx, eax
push 0x4494d8
mov eax, esi
call fcn.0040425b
push 0xffffffffffffffff
push 0
mov eax, ebp
call fcn.004041b7
cmp dword [esi + 0x18], 8
jb 0x41027d
mov esi, dword [esi + 4]
jmp 0x410280
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.00434bcb
add esp, 0x50
ret

Function at 0x4102d0
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 + 0x4602a0], ecx
add edx, 1
cmp edx, 0x100
jb 0x4102d3
cmp edx, 0x800
jae 0x4103bb
nop
mov eax, dword [edx*4 + 0x45fea0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4602a0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x46029c], eax
jb 0x410390
mov dword [0x45ca74], 0x410420
call fcn.004105f0
test eax, eax
jne 0x4103d8
mov dword [0x45ca74], 0x4104d0
pop ecx
ret
Function at 0x41e863
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41e87a
add eax, eax
xor eax, 0x4c11db7
jmp 0x41e87c
add eax, eax
dec edx
test edx, edx
jg 0x41e86d
mov dword [ecx*4 + 0x45ca78], eax
inc ecx
cmp ecx, 0x100
jb 0x41e865
ret
Function at 0x42cdb7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x458210]
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.00434e30
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 0x42ce0a
xor al, al
jmp 0x42ce43
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42ce2b
cmp dword [ebp - 0x80], edi
je 0x42ce06
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x42ce06
lea eax, [ebp - 0x7c]
call fcn.00401248
cmp dword [ebp - 0x80], edi
je 0x42ce41
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.00434bcb
add ebp, 0x398
leave
ret

Function at 0x42ce5a
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.00434e30
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 0x42cebd
push 0x20
pop eax
cmp eax, dword [ebp - 0x1c]
sbb eax, eax
neg eax
leave
ret
xor al, al
leave
ret
Function at 0x42cec1
Capabilities:
Query environment variable

Disassembly:
push 0x2c
mov eax, 0x446ce1
call fcn.00436cbf
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.00403e9f
cmp eax, 0xffffffff
mov eax, edi
jne 0x42cf00
call fcn.00403d21
mov eax, esi
jmp 0x42cf9b
lea esi, [ebp - 0x2c]
call fcn.00403d21
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0x38], eax
jb 0x42cf19
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 0x42cf2e
mov eax, edi
jmp 0x42cf84
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434bc6
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
pop ecx
jb 0x42cf54
mov eax, dword [eax]
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x30]
push eax
call ebx
test eax, eax
jbe 0x42cf78
cmp eax, esi
ja 0x42cf78
mov ecx, dword [ebp - 0x30]
and word [ecx + eax*2], 0
mov eax, ecx
lea esi, [ebp - 0x2c]
call fcn.00401248
push dword [ebp - 0x30]
call fcn.00435b79
pop ecx
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
call fcn.00403d21
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004012b6
mov eax, dword [ebp - 0x34]
call fcn.00436d42
ret