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

Disassembly:
push 0xffffffffffffffff
push 0x4d72f1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov esi, ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [esi + 4]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.00403e21
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, 5
push str._r_n_Stack_Trace__x86___r_n_r_n
sete byte [esp + 0x44]
call fcn.004af01d
add esp, 4
push eax
push str._r_n_Stack_Trace__x86___r_n_r_n
xor eax, eax
mov ecx, edi
call fcn.00408e46
cmp byte [esp + 0x40], bl
je 0x449f38
lea ecx, [esp + 0x14]
push 0xfde9
push ecx
call fcn.00460ad0
add esp, 8
xor esi, esi
mov dword [esp + 0x38], esi
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebp
call fcn.00403e21
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x449f32
mov edx, dword [esp + 0x18]
push edx
call fcn.004ad670
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x449f98
cmp eax, 0xffffffff
je 0x449f5a
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.0040cf96
mov ebx, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], ebx
jmp 0x449f5c
mov eax, edi
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.00403e21
mov dword [esp + 0x38], 0xffffffff
test bl, 1
je 0x449fa7
and ebx, 0xfffffffe
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x2c], 8
jb 0x449f90
mov edx, dword [esp + 0x18]
push edx
call fcn.004ad670
add esp, 4
mov dword [esp + 0x28], 0
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x2c], 7
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x4537f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d0333
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51f714]
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.004aba2b
add esp, 4
mov byte [esp + 0x14], 0
cmp dword [esi + 0x30], 0x10
jb 0x453846
mov eax, dword [esi + 0x1c]
push eax
call fcn.004ad670
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 0x453e00
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
call fcn.004aefb8
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
push esi
push 0x453e50
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 0x453e40
push esi
call fcn.004ad670
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x456510
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4d9d41
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push esi
push edi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
push 1
lea eax, [esp + 0x14]
push eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x18], 0x2a
call fcn.00408e46
cmp eax, 0xffffffff
jne 0x45658b
cmp dword [esi + 0x18], 8
jb 0x45657c
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4566b6
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4566b6
xor ebx, ebx
mov ecx, 0x5c
mov word [esp + 0x470], cx
mov dword [esp + 0x474], ebx
mov dword [esp + 0x478], ebx
mov dword [esp + 0x488], ebx
cmp dword [esi + 0x18], 8
jb 0x4565ba
mov eax, dword [esi + 4]
jmp 0x4565bd
lea eax, [esi + 4]
lea esi, [esp + 0x18]
call fcn.00457790
cmp eax, ebx
je 0x456686
mov eax, dword [esp + 0x478]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x456614
mov ecx, dword [esp + 0x18]
shr ecx, 4
and ecx, 1
je 0x456610
cmp word [esp + 0x44], 0x2e
jne 0x456610
mov dx, word [esp + 0x46]
cmp dx, bx
je 0x456660
cmp dx, 0x2e
jne 0x456610
cmp word [esp + 0x48], bx
je 0x456660
cmp ecx, ebx
jne 0x456660
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00457480
mov byte [esp + 0x488], 1
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov byte [esp + 0x488], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x478]
mov ecx, dword [esp + 0x474]
cmp ecx, ebx
je 0x456686
cmp eax, ebx
je 0x456686
lea edx, [esp + 0x18]
push edx
push ecx
call edi
mov dword [esp + 0x478], eax
cmp eax, ebx
jne 0x4565e5
mov dword [esp + 0x488], 0xffffffff
mov eax, dword [esp + 0x474]
mov dword [esp + 0x478], ebx
cmp eax, ebx
je 0x4566b6
cmp eax, 0xffffffff
je 0x4566b6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x474], ebx
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.004ad67b
add esp, 0x47c
ret
Function at 0x4567a0
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 0x4567b9
call fcn.004af418
mov edi, dword [esi]
mov ebp, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], ebx
cmp ebx, dword [esi + 0x10]
jbe 0x4567ce
call fcn.004af418
mov eax, dword [esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x4567de
cmp edi, dword [esp + 0x18]
je 0x4567e3
call fcn.004af418
cmp ebp, ebx
je 0x456856
mov dword [esp + 0x24], ebp
test edi, edi
jne 0x456823
call fcn.004af418
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x456800
call fcn.004af418
lea ebx, [ebp - 0x1c]
test edi, edi
jne 0x456827
call fcn.004af418
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x456818
call fcn.004af418
cmp dword [ebx + 0x18], 8
jb 0x45682b
mov eax, dword [ebx + 4]
jmp 0x45682e
mov eax, dword [edi]
jmp 0x4567f6
mov eax, dword [edi]
jmp 0x45680e
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test edi, edi
jne 0x456852
call fcn.004af418
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x45684a
call fcn.004af418
mov ebp, ebx
mov ebx, dword [esp + 0x14]
jmp 0x4567d4
mov eax, dword [edi]
jmp 0x456840
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x456863
call fcn.004af418
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x456872
call fcn.004af418
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00456ae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x458090
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d48bc
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x51f714]
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.00459090
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x4580e5
call fcn.004af418
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.00459220
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x45811a
call fcn.004af418
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 0x45814e
push edi
call fcn.00457960
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], bl
lea eax, [esp + 0x14]
push eax
jmp 0x4581d0
cmp ecx, ebx
ja 0x45815b
call fcn.004af418
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.004af01d
add esp, 4
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004040ed
mov byte [esp + 0x54], 2
push edi
lea ecx, [esp + 0x30]
call fcn.00457a30
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
jb 0x4581b4
mov edx, dword [esp + 0x30]
push edx
call fcn.004ad670
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.00459100
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 0x4581f0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d70b3
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x51f714]
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.00458090
add esp, 4
mov dword [esp + 0x26c], 1
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x45825d
mov esi, dword [esi + 4]
jmp 0x458260
add esi, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x45826e
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 0x458290
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.004af01d
add esp, 4
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.004040ed
mov byte [esp + 0x26c], 2
push edi
lea ecx, [esp + 0x1c]
call fcn.00457a30
mov dword [esp + 0x14], 1
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], ebp
jb 0x4582f5
mov eax, dword [esp + 0x1c]
push eax
call fcn.004ad670
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 0x45831e
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ad670
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.004ad67b
add esp, 0x260
ret
Function at 0x459860
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x51f714]
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 0x4f2ffc
call edi
push 0x4011
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push 0x10
push 0x4f3004
mov dword [esi], eax
call edi
mov edx, dword [esp + 0x10]
push 0x4013
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4f3004
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 0x45993d
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 0x459944
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.004ad67b
add esp, 0x2c0
ret
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x2c0]
pop edi
xor ecx, esp
mov eax, esi
call fcn.004ad67b
add esp, 0x2c0
ret
Function at 0x45b0e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6fb3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f714]
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 0x45b1fe
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x45b12e
mov ecx, dword [esi]
jmp 0x45b130
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 0x45b1fe
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x45b162
cmp eax, 2
jne 0x45b1fe
mov eax, dword [esp + 0x14]
shr eax, 1
mov dword [esp + 0x1c], eax
cmp eax, ebx
jbe 0x45b1fe
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00459090
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 1
jne 0x45b198
call fcn.004af418
cmp dword [edi + 0x18], 8
jb 0x45b1a2
mov eax, dword [esi]
jmp 0x45b1a4
mov eax, esi
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
push eax
push edx
lea esi, [esp + 0x24]
call fcn.0042870d
cmp eax, ebx
jne 0x45b1f0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 1
jne 0x45b1cc
call fcn.004af418
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.0040417e
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], bl
lea edx, [esp + 0x20]
push edx
call fcn.00459100
jmp 0x45b21a
mov byte [esp + 0x40], bl
lea eax, [esp + 0x20]
push eax
call fcn.00459100
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 0x45c310
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9c28
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x51f714]
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 0x45c37f
mov edx, dword [0x521fcc]
mov eax, dword [edx + 0xc]
mov ecx, 0x521fcc
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x45c3fa
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x45c392
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 [0x521fcc]
mov edx, dword [eax + 0xc]
mov ecx, 0x521fcc
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x224], 2
lea eax, [esp + 0x10]
test eax, 0xffff0000
jne 0x45c3e0
mov ecx, eax
movzx edi, cx
push edi
call fcn.00404427
add esp, 4
test eax, eax
je 0x45c3fa
push edi
push eax
mov eax, esi
call fcn.00404575
jmp 0x45c3fa
lea edx, [esp + 0x10]
push edx
call fcn.004af01d
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00404644
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.004ad67b
add esp, 0x220
ret
Function at 0x45c440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d6f71
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f714]
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.0045d8f0
mov edx, dword [0x521fcc]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x521fcc
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 0x45c542
mov ebp, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x45c512
lea ecx, [eax - 1]
test ecx, ecx
jl 0x45c5c3
cmp ecx, eax
jg 0x45c5c3
movzx ecx, word [edx + ecx*2]
cmp cx, 0x5d
je 0x45c512
test eax, eax
jle 0x45c512
lea ecx, [eax - 1]
test ecx, ecx
jl 0x45c5c3
cmp ecx, eax
jg 0x45c5c3
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x45c512
push 0x5c
call fcn.00457380
test esi, esi
jl 0x45c5cd
cmp esi, ebx
jge 0x45c5cd
mov eax, ebp
call fcn.0045e670
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, edi
call fcn.004434e9
inc esi
add ebp, 4
cmp esi, ebx
jl 0x45c4c4
xor esi, esi
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x45c5a5
cmp ebx, esi
jle 0x45c598
mov esi, eax
mov ebp, ebx
jmp 0x45c560
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 0x45c58a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub ebp, 1
jne 0x45c560
mov eax, dword [esp + 0x1c]
xor esi, esi
push eax
call fcn.004ad777
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.00402978
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x45c5e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
mov eax, dword [0x51f714]
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 0x45c650
mov edx, dword [0x521fcc]
mov eax, dword [edx + 0xc]
mov ecx, 0x521fcc
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x45c699
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x4f3034
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x45c683
mov eax, dword [0x521fcc]
mov edx, dword [eax + 0xc]
mov ecx, 0x521fcc
call edx
add eax, 0x10
mov dword [esi], eax
jmp 0x45c699
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004046e4
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.004ad67b
add esp, 0x428
ret
Function at 0x45cea0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x51f714]
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 0x45cee6
xor al, al
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004ad67b
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 0x45cece
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
push ecx
call fcn.004af01d
add esp, 4
push eax
lea edx, [esp + 8]
push edx
mov eax, edi
call fcn.00404644
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
mov al, 1
call fcn.004ad67b
add esp, 0x414
ret
Function at 0x45e000
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4cc808
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x51f714]
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 0x45e07a
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 0x45e0ae
mov dword [esp + 0x1c], eax
cmp esi, edi
je 0x45e09a
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 0x45e0cb
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 0x45e0e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d9a30
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0045e170
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 0x45e14e
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