joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ad71
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43ad7f
push 0xd
pop eax
jmp 0x43adb2
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43ad86
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43d817
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 0x50]
movzx eax, ax
push str.kernel32.dll
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.IsWow64Process
push ebx
call esi
mov edi, eax
test edi, edi
je 0x43d87b
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x43d87b
cmp dword [ebp - 8], 0
je 0x43d87b
push str.GetNativeSystemInfo
push ebx
call esi
test eax, eax
je 0x43d87b
lea ecx, [ebp - 0x2c]
push ecx
call eax
jmp 0x43d885
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [ebp - 0x2c]
movzx eax, cx
test eax, eax
je 0x43d8b5
cmp eax, 6
je 0x43d8ae
cmp eax, 9
jne 0x43d8bb
cmp word [ebp - 4], ax
je 0x43d8a7
cmp word [ebp - 4], 0
jne 0x43d8bb
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
cmp word [ebp - 4], 6
jmp 0x43d8a5
cmp word [ebp - 4], cx
je 0x43d8a7
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x2797
mov eax, esp
push 0
mov dword [eax], 0x2796
call fcn.0041108a
add esp, 0x10
xor al, al
jmp 0x43d8a9
Function at 0x447980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc0b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
mov dword [esp + 0x14], 1
push esi
call fcn.0049bea5
add esp, 4
mov byte [esp + 0x14], 0
cmp dword [esi + 0x30], 0x10
jb 0x4479d6
mov eax, dword [esi + 0x1c]
push eax
call fcn.0049cdc0
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x447eb0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
call fcn.0049ce57
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
push esi
push 0x447f00
push 0
push 0
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x447ef0
push esi
call fcn.0049cdc0
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x44a810
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, eax
mov ebx, dword [esi + 0xc]
push edi
cmp ebx, dword [esi + 0x10]
jbe 0x44a826
call fcn.0049d32a
mov ebp, dword [esi + 0x10]
mov edi, dword [esi]
cmp dword [esi + 0xc], ebp
jbe 0x44a835
call fcn.0049d32a
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x44a840
test edi, edi
je 0x44a84a
cmp edi, dword [esp + 0x10]
je 0x44a84f
call fcn.0049d32a
cmp ebx, ebp
je 0x44a89c
test edi, edi
jne 0x44a894
call fcn.0049d32a
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44a868
call fcn.0049d32a
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x44a873
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x44a898
call fcn.0049d32a
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44a88f
call fcn.0049d32a
add ebx, 0x1c
jmp 0x44a840
mov eax, dword [edi]
jmp 0x44a85e
mov eax, dword [edi]
jmp 0x44a885
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x44a8a9
call fcn.0049d32a
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x44a8b8
call fcn.0049d32a
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044ac10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x44a8d0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
mov ebx, dword [esi + 0x28]
add esi, 0x18
push edi
cmp dword [esi + 0xc], ebx
jbe 0x44a8e9
call fcn.0049d32a
mov edi, dword [esi]
mov ebp, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], ebx
cmp ebx, dword [esi + 0x10]
jbe 0x44a8fe
call fcn.0049d32a
mov eax, dword [esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x44a90e
cmp edi, dword [esp + 0x18]
je 0x44a913
call fcn.0049d32a
cmp ebp, ebx
je 0x44a986
mov dword [esp + 0x24], ebp
test edi, edi
jne 0x44a953
call fcn.0049d32a
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x44a930
call fcn.0049d32a
lea ebx, [ebp - 0x1c]
test edi, edi
jne 0x44a957
call fcn.0049d32a
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44a948
call fcn.0049d32a
cmp dword [ebx + 0x18], 8
jb 0x44a95b
mov eax, dword [ebx + 4]
jmp 0x44a95e
mov eax, dword [edi]
jmp 0x44a926
mov eax, dword [edi]
jmp 0x44a93e
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test edi, edi
jne 0x44a982
call fcn.0049d32a
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x44a97a
call fcn.0049d32a
mov ebp, ebx
mov ebx, dword [esp + 0x14]
jmp 0x44a904
mov eax, dword [edi]
jmp 0x44a970
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x44a993
call fcn.0049d32a
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x44a9a2
call fcn.0049d32a
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0044ac10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x44bc80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c124c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
push 1
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.0044cc70
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x44bcd5
call fcn.0049d32a
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edx
push ebx
call esi
inc eax
lea ecx, [esp + 0x14]
call fcn.0044ce00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x44bd0a
call fcn.0049d32a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub ecx, edx
sar ecx, 1
cmp eax, ecx
jbe 0x44bd3e
push edi
call fcn.0044b550
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], bl
lea eax, [esp + 0x14]
push eax
jmp 0x44bdc0
cmp ecx, ebx
ja 0x44bd4b
call fcn.0049d32a
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov esi, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
call fcn.0049cf74
add esp, 4
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00401b62
mov byte [esp + 0x54], 2
push edi
lea ecx, [esp + 0x30]
call fcn.0044b620
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
jb 0x44bda4
mov edx, dword [esp + 0x30]
push edx
call fcn.0049cdc0
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x14]
push ecx
call fcn.0044cce0
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x44bde0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c46d3
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], edi
mov esi, ecx
mov dword [esp + 0x18], ebx
call fcn.0044bc80
add esp, 4
mov dword [esp + 0x26c], 1
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x44be4d
mov esi, dword [esi + 4]
jmp 0x44be50
add esi, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x44be5e
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp byte [esp + 0x274], bl
je 0x44be80
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x54]
xor eax, eax
mov esi, 7
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.0049cf74
add esp, 4
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.00401b62
mov byte [esp + 0x26c], 2
push edi
lea ecx, [esp + 0x1c]
call fcn.0044b620
mov dword [esp + 0x14], 1
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], ebp
jb 0x44bee5
mov eax, dword [esp + 0x1c]
push eax
call fcn.0049cdc0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov dword [esp + 0x26c], ebx
cmp dword [esp + 0x50], ebp
jb 0x44bf0e
mov edx, dword [esp + 0x3c]
push edx
call fcn.0049cdc0
add esp, 4
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov eax, edi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0049cdcb
add esp, 0x260
ret
Function at 0x44d390
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x2bc], eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4011
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4da88c
call edi
push 0x4011
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push 0x10
push 0x4da894
mov dword [esi], eax
call edi
mov edx, dword [esp + 0x10]
push 0x4013
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4da894
mov dword [esi + 4], edx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push 0x11
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x44d46d
mov ecx, dword [esp + 4]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov dword [esi + 0xc], edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x44d474
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, esi
pop edi
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.0049cdcb
add esp, 0x2c0
ret
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x2c0]
pop edi
xor ecx, esp
mov eax, esi
call fcn.0049cdcb
add esp, 0x2c0
ret

Function at 0x44d510
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4be8fb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x2d0], eax
push esi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2ec]
push eax
lea esi, [esp + 0xc]
call fcn.0044b900
mov dword [esp + 0x2e4], 0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x44d573
mov eax, dword [eax + 4]
jmp 0x44d576
add eax, 4
push 0x4013
push 0x2b4
lea ecx, [esp + 0x2c]
push ecx
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [esp + 0x2e4], 0xffffffff
cmp dword [esp + 0x20], esi
jb 0x44d5ac
mov edx, dword [esp + 0xc]
push edx
call fcn.0049cdc0
add esp, 4
xor eax, eax
mov word [esp + 0xc], ax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.0049cdcb
add esp, 0x2e0
ret 4

Function at 0x44e0d0
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
mov ebx, ecx
call fcn.0044e280
mov eax, 8
cmp dword [edi + 0x18], eax
jb 0x44e0ed
mov edi, dword [edi + 4]
jmp 0x44e0f0
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x44e0fa
mov ebx, dword [ebx + 4]
jmp 0x44e0fd
add ebx, 4
test edi, edi
je 0x44e11c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 2
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret
Function at 0x44e120
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c1023
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x44e23e
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x44e16e
mov ecx, dword [esi]
jmp 0x44e170
mov ecx, esi
lea edx, [esp + 0x14]
push edx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44e23e
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x44e1a2
cmp eax, 2
jne 0x44e23e
mov eax, dword [esp + 0x14]
shr eax, 1
mov dword [esp + 0x1c], eax
cmp eax, ebx
jbe 0x44e23e
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0044cc70
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 1
jne 0x44e1d8
call fcn.0049d32a
cmp dword [edi + 0x18], 8
jb 0x44e1e2
mov eax, dword [esi]
jmp 0x44e1e4
mov eax, esi
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00421ad3
cmp eax, ebx
jne 0x44e230
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 1
jne 0x44e20c
call fcn.0049d32a
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00401bf3
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], bl
lea edx, [esp + 0x20]
push edx
call fcn.0044cce0
jmp 0x44e25a
mov byte [esp + 0x40], bl
lea eax, [esp + 0x20]
push eax
call fcn.0044cce0
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
xor ecx, ecx
mov word [ebp + 4], cx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], 1
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
Function at 0x44f1c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c63d8
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44f22f
mov edx, dword [0x504d64]
mov eax, dword [edx + 0xc]
mov ecx, 0x504d64
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x44f2aa
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x44f242
mov ecx, 0x5c
mov word [esp + eax*2 + 0x10], cx
inc eax
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov eax, dword [0x504d64]
mov edx, dword [eax + 0xc]
mov ecx, 0x504d64
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x224], 2
lea eax, [esp + 0x10]
test eax, 0xffff0000
jne 0x44f290
mov ecx, eax
movzx edi, cx
push edi
call fcn.0040592b
add esp, 4
test eax, eax
je 0x44f2aa
push edi
push eax
mov eax, esi
call fcn.00405a79
jmp 0x44f2aa
lea edx, [esp + 0x10]
push edx
call fcn.0049cf74
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00405cb4
mov dword [esp + 0x224], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0049cdcb
add esp, 0x220
ret
Function at 0x44f2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4601
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov ebx, 1
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00450700
mov edx, dword [0x504d64]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x504d64
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
cmp ebx, esi
jle 0x44f3f2
mov ebp, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x44f3c2
lea ecx, [eax - 1]
test ecx, ecx
jl 0x44f473
cmp ecx, eax
jg 0x44f473
movzx ecx, word [edx + ecx*2]
cmp cx, 0x5d
je 0x44f3c2
test eax, eax
jle 0x44f3c2
lea ecx, [eax - 1]
test ecx, ecx
jl 0x44f473
cmp ecx, eax
jg 0x44f473
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x44f3c2
push 0x5c
call fcn.0044f120
test esi, esi
jl 0x44f47d
cmp esi, ebx
jge 0x44f47d
mov eax, ebp
call fcn.004513e0
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, edi
call fcn.00438d54
inc esi
add ebp, 4
cmp esi, ebx
jl 0x44f374
xor esi, esi
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x44f455
cmp ebx, esi
jle 0x44f448
mov esi, eax
mov ebp, ebx
jmp 0x44f410
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f43a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub ebp, 1
jne 0x44f410
mov eax, dword [esp + 0x1c]
xor esi, esi
push eax
call fcn.0049cebc
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0x80070057
call fcn.00405c7a
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x44f490
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c6368
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
lea eax, [esp + 0x218]
push eax
xor edi, edi
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44f500
mov edx, dword [0x504d64]
mov eax, dword [edx + 0xc]
mov ecx, 0x504d64
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x44f549
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x4da8bc
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x44f533
mov eax, dword [0x504d64]
mov edx, dword [eax + 0xc]
mov ecx, 0x504d64
call edx
add eax, 0x10
mov dword [esi], eax
jmp 0x44f549
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.00405d54
mov dword [esp + 0x42c], edi
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0049cdcb
add esp, 0x428
ret
Function at 0x44fcb0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
lea eax, [esp + 0x20c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44fcf6
xor al, al
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0049cdcb
add esp, 0x414
ret
mov esi, dword [esi]
lea ecx, [esp + 4]
push ecx
push 0
push esi
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x44fcde
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
push ecx
call fcn.0049cf74
add esp, 4
push eax
lea edx, [esp + 8]
push edx
mov eax, edi
call fcn.00405cb4
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
mov al, 1
call fcn.0049cdcb
add esp, 0x414
ret
Function at 0x450e50
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4b8b68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
cmp esi, 0xffffffff
jne 0x450eca
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], edi
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x450efe
mov dword [esp + 0x1c], eax
cmp esi, edi
je 0x450eea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], edi
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [esp + 0x1c], 0xffffffff
cmp esi, edi
je 0x450f1b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], edi
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x450f30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4bcbc0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.00450fc0
add esp, 4
mov dword [esp + 0x14], 0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450f9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret