joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ce231
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
push dword [esp + 0x48]
mov esi, dword [esp + 0x48]
push esi
call fcn.0041f770
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x41f758
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push dword [esp + 0x48]
push eax
call fcn.0041f770
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x41f729
cmp dword [esi + 0x14], 8
jb 0x41f70e
push dword [esi]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004026a0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x41f741
push dword [esp + 0x10]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x4d19f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov byte [esi], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x1c]
push 0xffffffffffffffff
push eax
push dword [esp + 0x28]
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], eax
mov word [esi + 0x1c], ax
call fcn.004029b0
mov byte [esp + 0x18], 1
cmp dword [esi + 0x2c], 0
jne 0x42363b
push 3
push 0x4eded0
lea ecx, [esi + 0x1c]
call fcn.00402ad0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x423a80
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4d1a8e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [esp + 0xc], esi
call fcn.004b1806
mov dword [esi + 4], eax
push 0x11c
push 0
mov byte [eax], 0
lea eax, [esp + 0x18]
push eax
call fcn.004b5340
add esp, 0x10
mov dword [esp + 0xc], 0x11c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x423b03
cmp dword [esp + 0x10], 6
mov ecx, dword [esi + 4]
setae dl
mov byte [ecx], dl
mov dword [esp + 0x134], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x130
ret
Function at 0x4244b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call fcn.004b5340
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42457d
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x4244eb
jne 0x42453e
cmp dword [esi + 8], 2
jb 0x42453e
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.004249e0
add esp, 8
test al, al
je 0x42453e
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.00424390
add esp, 4
test al, al
je 0x424576
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret

Function at 0x4249e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebx, edx
push esi
push edi
push str.kernel32.dll
mov edi, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x424aaa
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x424aaa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424aaa
movdqu xmm0, xmmword [0x4ee200]
push eax
movdqu xmmword [esp + 0x18], xmm0
movdqu xmm0, xmmword [0x4ee210]
movdqu xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x424aaa
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x424aaa
cmp word [esi + 2], ax
jbe 0x424aaa
movzx eax, word [esi + 0x32]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
movzx eax, word [esi + 0x30]
mov dword [ebx], eax
movzx eax, word [esi + 0x36]
mov dword [ebp], eax
movzx eax, word [esi + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b0ff2
add esp, 0x28
ret
Function at 0x424d40
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d1d8f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push 0x18
mov byte [edi], 0
call fcn.004b1806
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x1c], 0
lea esi, [edi + 8]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00426d80
mov dword [esi], eax
mov byte [esp + 0x1c], 3
lea esi, [edi + 0x10]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00426d80
mov dword [esi], eax
mov byte [esp + 0x1c], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], 0
mov word [edi + 0x20], ax
mov byte [esp + 0x1c], 7
lea ecx, [edi + 0x38]
call fcn.00401b00
mov byte [esp + 0x1c], 8
lea ecx, [edi + 0xb0]
call fcn.00401b50
mov byte [esp + 0x1c], 9
xor eax, eax
mov dword [edi + 0xfc], 7
mov dword [edi + 0xf8], 0
mov word [edi + 0xe8], ax
mov byte [esp + 0x1c], 0xa
mov dword [edi + 0x114], 0xf
mov dword [edi + 0x110], eax
mov byte [edi + 0x100], al
mov byte [esp + 0x1c], 0xb
mov dword [edi + 0x12c], 0xf
mov dword [edi + 0x128], eax
mov byte [edi + 0x118], al
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4251f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], 0
lea esi, [ebx + 4]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
test esi, esi
je 0x425253
mov eax, dword [esi]
test eax, eax
je 0x425253
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov word [edi], ax
lea eax, [ebx + 0xe8]
push eax
call fcn.004029b0
mov dword [esp + 0x10], 1
mov byte [esp + 0x28], 0
test esi, esi
je 0x4252a5
mov eax, dword [esi]
test eax, eax
je 0x42529d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x1c
ret 4
Function at 0x426760
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cf1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.004265f0
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
je 0x42680b
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42680b
test esi, esi
je 0x42680b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 8
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x426826
push dword [esp + 0xc]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x2c
ret 8

Function at 0x426860
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d21f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x10], xmm0
call fcn.004265f0
mov dword [esp + 0x40], 0
cmp dword [esp + 0x2c], 0
je 0x426922
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push 0
cmovae eax, dword [esp + 0x20]
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x426922
test esi, esi
je 0x426922
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 8
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42691b
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x426945
push dword [esp + 0x1c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
mov edx, edi
mov dword [esp + 0x2c], 0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x38
ret
Function at 0x4272e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.004b5340
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x427377
cmp dword [esp + 8], 6
jb 0x427377
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004b0ff2
add esp, 0x118
ret
Function at 0x427390
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4d23ec
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push 0x4ee2d8
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00402ad0
mov dword [esp + 0x50], 0
mov eax, dword [0x50fda8]
test al, 1
jne 0x42742f
or eax, 1
mov dword [0x50fda8], eax
mov byte [esp + 0x50], 1
mov dword [0x50fda4], 0
call fcn.00422cb0
push 0x4e2750
call fcn.004b177f
add esp, 4
mov byte [esp + 0x50], 0
lea eax, [esp + 0x18]
mov ecx, 0x50fda4
push eax
call fcn.00422e70
mov edi, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x42745b
push dword [esp + 0x18]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
push 0xb
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], eax
push str.crypt32.dll
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
call fcn.00402ad0
mov dword [esp + 0x50], 2
mov eax, dword [0x50fda8]
test al, 1
jne 0x4274da
or eax, 1
mov dword [0x50fda8], eax
mov byte [esp + 0x50], 3
mov dword [0x50fda4], 0
call fcn.00422cb0
push 0x4e2750
call fcn.004b177f
add esp, 4
mov byte [esp + 0x50], 2
lea eax, [esp + 0x30]
mov ecx, 0x50fda4
push eax
call fcn.00422e70
mov ebp, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x427506
push dword [esp + 0x30]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
test edi, edi
je 0x427599
test ebp, ebp
je 0x427599
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push ebp
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x428940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d259e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.004029b0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.004029b0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.004029b0
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov byte [edi + 0x64], al
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x429c00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4d2688
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x24]
mov edi, dword [esp + 0x54]
push esi
push eax
call fcn.0042a300
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0040f0e0
xorps xmm0, xmm0
lea eax, [esp + 0x14]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x20], 0
test eax, eax
jne 0x429c99
xor bl, bl
jmp 0x429cb8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x429cb1
cmp eax, 0x80
je 0x429cb1
xor bl, bl
jmp 0x429cb8
mov byte [esp + 0x18], 1
mov bl, 1
mov byte [esp + 0x20], bl
mov byte [esp + 0x48], 2
lea eax, [esp + 0x13]
push eax
push edi
push esi
mov byte [esp + 0x1f], 0
call fcn.00429d90
test al, al
jne 0x429ceb
cmp byte [esp + 0x13], al
je 0x429ceb
cmp dword [esi + 0x14], 8
jb 0x429ce4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x48], 1
test bl, bl
je 0x429d08
mov eax, dword [esp + 0x14]
test eax, eax
je 0x429d03
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x429d2c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x429d4e
push dword [esp + 0x24]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x3c
ret 8
Function at 0x42b5f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
mov esi, ecx
push 0x20a
push eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.004b5340
add esp, 0xc
lea eax, [esp + 4]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x42b667
xor eax, eax
mov ecx, esi
mov word [esp + 0x20e], ax
lea eax, [esp + 4]
push eax
call fcn.00402510
mov al, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
xor al, al
pop esi
xor ecx, esp
call fcn.004b0ff2
add esp, 0x210
ret

Function at 0x42b680
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d1a28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
and edi, 0xffffb1af
cmp dword [esi + 0x14], 8
jb 0x42b6c5
mov eax, dword [esi]
jmp 0x42b6c7
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push eax
call ebx
test eax, eax
je 0x42b6dc
mov al, 1
jmp 0x42b766
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.0042c920
test al, al
je 0x42b730
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push edi
cmovae eax, dword [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x42b730
mov bl, 1
jmp 0x42b732
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x42b74d
push dword [esp + 0x14]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x2c
ret
Function at 0x42b790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d29b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x42b7cc
mov eax, dword [esi]
jmp 0x42b7ce
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42b863
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.0042c920
test al, al
je 0x42b831
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x42b84c
push dword [esp + 0xc]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x28
ret