joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447590
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58fe64
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4475db
lea eax, [esi + 3]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004472c0
xor edi, edi
mov eax, esi
mov dword [esp + 0x14], edi
call fcn.004577f0
test al, al
jne 0x447796
jmp 0x447604
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test edi, edi
je 0x447623
sub eax, edi
cmp eax, 0x6ddd00
jbe 0x447629
call ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0043d880
mov dword [esp + 0x58], 1
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x2c]
call fcn.004477f0
test eax, eax
jne 0x447669
push 0x14
call esi
mov dword [esp + 0x58], 0xffffffff
mov edx, ebx
push edx
call fcn.00405420
jmp 0x447786
mov eax, dword [esp + 0x44]
mov ebx, dword [eax]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
jmp 0x447680
mov esi, dword [esp + 0x44]
test edi, edi
je 0x44768e
cmp edi, dword [esp + 0x2c]
je 0x447693
call fcn.004a35f3
cmp ebx, esi
je 0x447760
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jne 0x447759
call fcn.004a35f3
cmp ebx, dword [edi + 0x18]
jne 0x4476ba
call fcn.004a35f3
mov eax, dword [ebx + 0xc]
sub eax, 0x10
call fcn.004066f0
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x58], 4
push ecx
lea esi, [ebx - 0x10]
mov edi, esp
mov eax, esi
mov dword [esp + 0x20], esp
mov dword [esp + 0x24], edi
call fcn.004066f0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x5c], 6
mov byte [esp + 0x5c], 4
call fcn.00447830
mov eax, 1
sub eax, dword [esi + 0xc]
mov esi, dword [esi + 8]
or esi, eax
jge 0x447718
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.00403340
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00447aa0
mov byte [esp + 0x58], 1
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.004060c0
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
jmp 0x447680
mov edi, dword [edi]
jmp 0x4476b0
mov dword [esp + 0x58], 9
lea esi, [esp + 0x2c]
call fcn.004057b0
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a3142
add esp, 4
mov eax, dword [ebp + 8]
call fcn.004577f0
test al, al
je 0x447600
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447830
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x58f528
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
or edi, 0xffffffff
test eax, eax
jl 0x447895
push str.sdupbd.cab
push ecx
call fcn.004a4912
mov ecx, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x447895
sub eax, ecx
cmp eax, edi
je 0x447895
lea ecx, [esp + 0x24]
call fcn.004494b0
jmp 0x447a02
cmp dword [ecx - 0xc], 0
jl 0x447929
push str.sdupm.360.cn_lib_sdupbd.cab
push ecx
call fcn.004a4912
mov ecx, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x4478d2
sub eax, ecx
cmp eax, edi
je 0x4478d2
lea ecx, [esp + 0x24]
call fcn.004494b0
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x24]
push ecx
jmp 0x447a0b
cmp dword [ecx - 0xc], 0
jl 0x447929
push str.update_BD
push ecx
call fcn.004a4912
mov ecx, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x447923
sub eax, ecx
cmp eax, edi
je 0x447923
push ecx
mov edx, esp
mov dword [esp + 0x14], esp
lea eax, [esp + 0x28]
push eax
push edx
call fcn.00406380
mov byte [esp + 0x20], 1
mov byte [esp + 0x20], 0
call fcn.004497a0
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x24]
push ecx
jmp 0x447a0b
cmp dword [ecx - 0xc], 0
jge 0x44792d
mov esi, edi
jmp 0x44794b
push str.safeup_lib.cab
push ecx
call fcn.004a4912
mov ecx, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x447947
mov esi, edi
jmp 0x44794b
sub eax, ecx
mov esi, eax
cmp dword [ecx - 0xc], 0
jge 0x447955
mov eax, edi
jmp 0x44796f
push str.safeup_lib64.cab
push ecx
call fcn.004a4912
add esp, 8
test eax, eax
jne 0x44796b
mov eax, edi
jmp 0x44796f
sub eax, dword [esp + 0x24]
cmp esi, edi
jne 0x447985
cmp eax, edi
jne 0x447985
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x24]
push edx
jmp 0x447a0b
lea eax, [esp + 0x10]
push eax
call fcn.004030f0
mov byte [esp + 0x1c], 2
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044e4e0
add esp, 4
test eax, eax
je 0x4479f3
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004488a0
mov byte [esp + 0x1c], 3
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x4479e4
xor ecx, ecx
lea esi, [esp + 0xc]
call fcn.00403390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4479e4
mov ecx, esi
call fcn.0044df60
mov byte [esp + 0x1c], 2
lea ecx, [esp + 0xc]
push ecx
call fcn.00403090
mov byte [esp + 0x1c], 0
lea edx, [esp + 0x10]
push edx
call fcn.00403090
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x24]
push eax
call fcn.00403090
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x447aa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x58fdc4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea eax, [esp + 0x18]
push eax
call fcn.004030f0
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp esi, ebx
jne 0x447ae2
xor eax, eax
jmp 0x447af0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x447ae7
sub eax, edx
push esi
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
call fcn.00403150
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
jne 0x447b30
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov edx, dword [0x5ff398]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ff398
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0044e4e0
add esp, 4
test eax, eax
jne 0x447b77
lea esi, [eax + 3]
mov byte [esp + 0x28], bl
lea edx, [esp + 0x14]
push edx
call fcn.00403090
jmp 0x447c4a
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x447b99
xor ecx, ecx
lea eax, [esp + 0x14]
call fcn.00403340
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x447bba
lea esi, [eax + 1]
mov byte [esp + 0x28], bl
lea eax, [esp + 0x14]
push eax
call fcn.00403090
jmp 0x447c4a
lea ecx, [esp + 0x1c]
push ecx
push edi
lea eax, [esp + 0x20]
call fcn.00447c80
test eax, eax
je 0x447bf1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
call fcn.00447a30
mov esi, eax
mov byte [esp + 0x28], bl
lea eax, [esp + 0x14]
push eax
call fcn.00403090
jmp 0x447c4a
lea esi, [esp + 0x18]
call fcn.0044e710
test eax, eax
je 0x447c21
mov ecx, esi
push ecx
mov ecx, 1
lea edx, [esp + 0x18]
call fcn.00447a30
mov esi, eax
mov byte [esp + 0x28], bl
lea edx, [esp + 0x14]
push edx
call fcn.00403090
jmp 0x447c4a
mov esi, 3
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447c4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
call fcn.00403090
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x448310
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x58fd40
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.00462370
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
call fcn.00447f00
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x4484c2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x4483ab
call fcn.004a35f3
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
lea edi, [ebx + edx]
push eax
call fcn.0044d190
mov byte [esp + 0x6c], 1
mov edx, dword [0x5ff398]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ff398
call eax
add eax, 0x10
mov dword [esp + 0x7c], eax
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x80]
call fcn.0044e4e0
add esp, 4
test eax, eax
je 0x448467
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x448417
xor ecx, ecx
lea eax, [esp + 0x7c]
call fcn.00403340
mov esi, dword [esp + 0x7c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44846b
lea edx, [esp + 0x7c]
push edx
mov ecx, 1
lea edx, [esp + 0x30]
call fcn.0044c530
add esp, 4
test eax, eax
jne 0x448467
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x44845e
xor ecx, ecx
lea eax, [esp + 0x7c]
call fcn.00403340
mov esi, dword [esp + 0x7c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x44846b
mov esi, dword [esp + 0x7c]
mov byte [esp + 0x6c], 1
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44848c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044d280
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add ebx, 0x34
cmp ebp, eax
jb 0x448381
xor ebx, ebx
mov dword [esp + 0x6c], 5
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x4484fc
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x4484f1
lea ebx, [ebx]
push esi
call fcn.0044d280
add esi, 0x34
cmp esi, edi
jne 0x4484e0
mov esi, dword [esp + 0x20]
push esi
call fcn.004a3142
add esp, 4
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x6c], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004a3142
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
Function at 0x44b580
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x58d24a
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov esi, dword [esp + 0x170]
mov edi, dword [esp + 0x174]
push esi
lea eax, [esp + 0x18]
push eax
call fcn.00406380
mov dword [esp + 0x168], 0
mov eax, dword [esi]
push 0x5c
push eax
call fcn.004a5259
add esp, 8
test eax, eax
jne 0x44b5f5
or eax, 0xffffffff
jmp 0x44b5f7
sub eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x44b617
push 0x5d2c20
lea edx, [esp + 0x18]
push edx
mov edx, 1
call fcn.00403150
push 0x5d8674
lea eax, [esp + 0x18]
push eax
mov edx, 1
call fcn.00403150
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x44b64d
xor ecx, ecx
lea eax, [esp + 0x14]
call fcn.00403340
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x44b671
mov dword [esp + 0x168], eax
lea edx, [esp + 0x14]
push edx
jmp 0x44b76c
lea eax, [esp + 0x48]
push 0x5d774c
push eax
call fcn.004a47ba
add esp, 8
test eax, eax
je 0x44b741
lea ecx, [esp + 0x48]
push 0x5d636c
push ecx
call fcn.004a47ba
add esp, 8
test eax, eax
je 0x44b741
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00406380
mov byte [esp + 0x168], 1
mov eax, dword [esi]
push 0x5c
push eax
call fcn.004a5259
add esp, 8
test eax, eax
jne 0x44b6ce
or eax, 0xffffffff
jmp 0x44b6d0
sub eax, dword [esi]
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x44b6ee
push 0x5d2c20
lea edx, [esp + 0x1c]
push edx
mov edx, 1
call fcn.00403150
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b6f5
sub eax, edx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, eax
call fcn.00403150
test byte [esp + 0x1c], 0x10
je 0x44b726
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0044b580
add esp, 8
jmp 0x44b72f
lea ebx, [esp + 0x18]
call fcn.0040a8f0
mov byte [esp + 0x168], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00403090
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44b671
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x168], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00403090
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004a314d
add esp, 0x158
ret
Function at 0x44b7a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x58d1fe
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
test byte [0x604df0], 1
mov dword [esp + 0x14], esi
jne 0x44b81c
or dword [0x604df0], 1
mov dword [esp + 0x130], 1
push 0x604dec
call fcn.004030f0
push 0x590f10
call fcn.004a444f
add esp, 4
mov byte [esp + 0x130], bl
mov eax, dword [0x604dec]
cmp dword [eax - 0xc], ebx
jne 0x44b86e
lea ecx, [esp + 0x1c]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44b840
sub eax, edx
lea edx, [esp + 0x1c]
mov edi, eax
push edx
mov eax, 0x604dec
call fcn.004033b0
push str.ParseTool_
push 0x604dec
mov edx, 0xa
call fcn.00403150
push 1
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push 0x604dec
push eax
call fcn.00406380
mov dword [esp + 0x138], 2
mov byte [esp + 0x138], bl
call fcn.0044bc10
add esp, 8
push 0x604dec
push esi
call fcn.00406380
mov dword [esp + 0x130], ebx
mov dword [esp + 0x10], 1
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004a314d
add esp, 0x128
ret
Function at 0x44ba90
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x35c
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x358], eax
push ebp
push esi
mov esi, dword [esp + 0x368]
push edi
test esi, esi
je 0x44bba3
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x44bba3
push 0x104
lea eax, [esp + 0x25c]
push esi
push eax
call fcn.004a6542
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esp, 0xc
push 0x5d7748
lea ecx, [esp + 0x25c]
push ecx
mov byte [esp + 0x363], 0
call edi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44bba3
jmp 0x44bb20
push 1
lea ecx, [esp + 0x40]
push 0x5d774c
push ecx
call fcn.004a66c6
add esp, 0xc
test eax, eax
je 0x44bbcb
push 2
lea edx, [esp + 0x40]
push 0x5d636c
push edx
call fcn.004a66c6
add esp, 0xc
test eax, eax
je 0x44bbcb
push 0x104
lea eax, [esp + 0x154]
push esi
push eax
call fcn.004a6542
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x154]
push edx
mov byte [esp + 0x25b], 0
call edi
test byte [esp + 0x10], 0x10
je 0x44bbbd
lea eax, [esp + 0x150]
push eax
call fcn.0044ba90
add esp, 4
test eax, eax
jne 0x44bbcb
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.004a314d
add esp, 0x35c
ret
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44bb20
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004a314d
add esp, 0x35c
ret
Function at 0x44bfe0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x360
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x358], eax
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
push 0x104
push eax
lea ecx, [esp + 0x158]
push ecx
call fcn.004a6542
add esp, 0xc
lea edx, [esp + 0x150]
push edx
mov byte [esp + 0x257], 0
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.ExCab_
lea eax, [esp + 0x154]
push eax
call ebp
lea ecx, [esp + 0x150]
push ecx
call fcn.0044ba90
mov esi, dword [esi]
add esp, 4
test esi, esi
je 0x44c072
lea edx, [esp + 0x150]
test edx, edx
je 0x44c072
mov eax, edx
push eax
push 0x44bee0
push 0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetA]
test eax, eax
jne 0x44c08c
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.004a314d
add esp, 0x360
ret
lea eax, [esp + 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c096
sub eax, edx
lea ecx, [esp + 0x150]
mov edi, eax
push ecx
mov eax, ebx
call fcn.004033b0
push 0x104
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x260]
push eax
call fcn.004a6542
add esp, 0xc
push 0x5d8674
lea ecx, [esp + 0x25c]
push ecx
mov byte [esp + 0x363], 0
call ebp
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44c072
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x10], 0x10
je 0x44c11d
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x44c108
jmp 0x44c128
lea edx, [esp + 0x3c]
mov edi, ebx
call fcn.00403250
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x364]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebp
xor ecx, esp
call fcn.004a314d
add esp, 0x360
ret
Function at 0x44c160
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x589a81
mov eax, dword fs:[0]
push eax
mov eax, 0x10100
call fcn.004c3410
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x100fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x10114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10124]
mov eax, dword [eax]
mov ebp, dword [esp + 0x10128]
push 0x5d2c50
push eax
call fcn.004a3a26
mov edi, eax
xor ebx, ebx
add esp, 8
cmp edi, ebx
jne 0x44c1cc
xor eax, eax
jmp 0x44c2f6
lea esi, [esp + 0xb4]
call fcn.004096b0
mov dword [esp + 0x1011c], ebx
push edi
push 0x10000
lea eax, [esp + 0x118]
push 1
push eax
call fcn.004a3d30
add esp, 0x10
cmp eax, ebx
jbe 0x44c230
jmp 0x44c200
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0xb8]
call fcn.00409880
push edi
push 0x10000
lea edx, [esp + 0x118]
push 1
push edx
call fcn.004a3d30
add esp, 0x10
cmp eax, ebx
ja 0x44c200
push edi
call fcn.004a3dc4
add esp, 4
lea edi, [esp + 0x14]
lea ecx, [esp + 0xb4]
call fcn.00409740
mov byte [esp + 0x1011c], 1
cmp dword [eax + 0x18], 0x10
jb 0x44c25c
mov eax, dword [eax + 4]
jmp 0x44c25f
add eax, 4
push eax
lea eax, [esp + 0x34]
call fcn.0043d1f0
mov byte [esp + 0x1011c], 2
mov edx, dword [eax]
cmp edx, ebx
jne 0x44c27b
xor eax, eax
jmp 0x44c289
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44c280
sub eax, esi
mov edi, eax
push edx
mov eax, ebp
call fcn.004033b0
mov byte [esp + 0x1011c], 1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x44c2b0
push eax
call fcn.004a4132
add esp, 4
mov byte [esp + 0x1011c], bl
cmp dword [esp + 0x2c], 0x10
jb 0x44c2cb
mov edx, dword [esp + 0x18]
push edx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x1011c], 0xffffffff
mov dword [esp + 0xb4], vtable.CMD5Checksum.0
mov eax, 1
mov ecx, dword [esp + 0x10114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100fc]
xor ecx, esp
call fcn.004a314d
add esp, 0x1010c
ret
Function at 0x44c320
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x58a084
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.004030f0
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44c4d7
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.0044c160
add esp, 8
test eax, eax
je 0x44c3d3
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44c393
push 0x80004005
call fcn.00401e70
mov edx, dword [esp + 0xc]
push eax
push edx
call fcn.004a47ba
add esp, 8
test eax, eax
sete al
test al, al
je 0x44c3d3
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
mov ebx, 1
cmp dword [esp + 0x24], ebx
jne 0x44c431
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.0044b8e0
add esp, 8
test eax, eax
je 0x44c4d7
lea edx, [esp + 0xc]
push edx
mov eax, edi
call fcn.00420390
add esp, 4
test al, al
je 0x44c4d7
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00403090
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x44c4fd
lea edx, [esp + 0x10]
push edx
call fcn.004030f0
mov byte [esp + 0x1c], bl
lea ebx, [esp + 0x10]
mov ecx, esi
call fcn.0044bfe0
test eax, eax
je 0x44c4c8
lea eax, [esp + 0xc]
push eax
mov ecx, ebx
push ecx
xor esi, esi
call fcn.0044c160
add esp, 8
test eax, eax
je 0x44c488
lea edx, [esp + 0xc]
push edx
mov eax, edi
call fcn.00420390
add esp, 4
test al, al
je 0x44c488
mov esi, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
push ecx
call fcn.00403090
mov dword [esp + 0x1c], 0xffffffff
lea edx, [esp + 0xc]
push edx
call fcn.00403090
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
mov byte [esp + 0x1c], 0
lea eax, [esp + 0x10]
push eax
call fcn.00403090
mov dword [esp + 0x1c], 0xffffffff
lea edx, [esp + 0xc]
push edx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.00403090
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret