joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d860
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push edi
mov edi, dword [esp + 0x814]
test esi, esi
je 0x41d923
test edi, edi
je 0x41d923
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044e060
add esp, 0xc
push edi
push esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d923
push ebx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x41d8e6
and ebx, 0xfffffffe
push ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x41d918
cmp dword [esp + 0x818], 0
jne 0x41d923
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044e04c
add esp, 0x804
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0x804
ret

Function at 0x41d940
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0xa08], eax
lea eax, [esp + 0x800]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x800
lea ecx, [esp + 4]
push 0
push ecx
call fcn.0044e060
add esp, 0xc
push 0x4701a4
lea edx, [esp + 0x804]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xa08]
xor ecx, esp
call fcn.0044e04c
add esp, 0xa0c
ret

Function at 0x41d9c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push 0x800
lea eax, [esp + 8]
push 0
push eax
mov esi, ecx
call fcn.0044e060
mov ecx, dword [esi + 8]
add esp, 0xc
push str.360setupscan.exe
push ecx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0x804
ret
Function at 0x41da40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x467e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
push str.SafemonFixRegSrv
mov esi, ecx
call fcn.00415490
mov eax, dword [0x484064]
add esp, 4
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x81c], 0
call fcn.00433dd0
push 0x800
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0044e060
mov eax, dword [esp + 0x14]
add esp, 0xc
push str.safemon360procmon.dll
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41db06
lea eax, [esp + 0xc]
push eax
call fcn.00404600
add esp, 4
test eax, eax
jne 0x41db06
call fcn.0044dbe0
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0044ddf0
add esp, 8
jmp 0x41db15
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x41db7b
lea eax, [esp + 0xc]
push eax
push str.Module__s_not_found_
call fcn.00415490
add esp, 8
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x41db54
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41db54
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044e04c
add esp, 0x814
ret
push str.FixRegSrv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41db27
call eax
push str.FixRegSrv_Done
call fcn.00415490
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x484060]
je 0x41dbc7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dbc7
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
mov eax, 1
jmp 0x41db56
Function at 0x41dfe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetMalloc]
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x41e05c
lea ecx, [esp + 0x14]
push ecx
push 0x25
push 0
call ebx
test eax, eax
jl 0x41e050
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.00417f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e0ac
lea ecx, [esp + 0x14]
push ecx
push 0x24
push 0
call ebx
test eax, eax
jl 0x41e0a0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x14]
call fcn.00417f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e0fc
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
call ebx
test eax, eax
jl 0x41e0f0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x18]
call fcn.00417f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e14c
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call ebx
test eax, eax
jl 0x41e140
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c]
call fcn.00417f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x41e19c
lea ecx, [esp + 0x14]
push ecx
push 0x15
push 0
call ebx
test eax, eax
jl 0x41e190
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x20]
call fcn.00417f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x214
ret
Function at 0x41e6b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46862b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov esi, dword [esp + 0x828]
test esi, esi
je 0x41e7ad
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0044e060
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.SOFTWAREKasperskyLabSetupFolders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41e7ad
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.00419e10
lea ecx, [esp + 8]
mov dword [esp + 0x820], 0
call fcn.0041de40
push 0x22
lea ecx, [esp + 0xc]
call fcn.0041df10
lea ecx, [esp + 8]
call fcn.0041dea0
push 0x22
lea ecx, [esp + 0xc]
call fcn.0041df70
mov edx, dword [esp + 8]
push str.avp.exe
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 8]
test eax, eax
jne 0x41e7b1
call fcn.00415e60
xor eax, eax
jmp 0x41e7bb
call fcn.00415e60
mov eax, 1
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0044e04c
add esp, 0x81c
ret 4
Function at 0x41fb30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4687d6
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x830]
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044e060
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360safe360move
push esi
lea ecx, [esp + 0x24]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fc83
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00419e10
push str.360safe_move
push esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x834], 0
call ebp
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, ebx
call fcn.0041c920
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00419e10
push str.360safe
push esi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x834], 1
call ebp
lea eax, [esp + 0x1c]
push eax
call fcn.00401dd0
add esp, 4
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebx
call fcn.0041c920
push esi
call fcn.00401dd0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
add esp, 4
cmp ecx, dword [0x484060]
je 0x41fc65
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x41fc65
push esi
call fcn.0044ec74
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x484060]
je 0x41fc83
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x41fc83
push esi
call fcn.0044ec74
add esp, 4
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0044e04c
add esp, 0x818
ret 4
Function at 0x4204a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call edi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x42051b
lea ecx, [esp + 0x14]
push ecx
push 0x23
push 0
call ebp
test eax, eax
jl 0x42050f
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0041fb30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jl 0x42056a
lea ecx, [esp + 0x14]
push ecx
push 0x1a
push 0
call ebp
test eax, eax
jl 0x42055e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0041fb30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044e04c
add esp, 0x214
ret

Function at 0x420710
Capabilities:
Hide graphical window

Disassembly:
jmp method.CSetupPageBase.virtual_8
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret

Function at 0x4216e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x468a54
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CCommandParser.0
mov eax, dword [0x484064]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x484064]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esi + 8], ecx
mov edx, dword [0x484064]
mov dword [esi + 0xc], edx
mov ecx, dword [0x484064]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x20]
mov ecx, 1
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
call fcn.00419e10
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.00417f00
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x4217a7
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4217a7
push edi
call fcn.0044ec74
add esp, 4
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 0x422930
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x42293e
lea ebp, [ecx - 0x4c]
jmp 0x422940
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x4229c7
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004163d0
test eax, eax
je 0x4229bb
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4229bb
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004164d0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x422a16
xor esi, esi
jmp 0x4229e0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x422a0c
push 0xffffffffffffffff
add ebp, 0x4c
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x4229f4
lea eax, [ebp - 0x4c]
jmp 0x4229f6
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x422a49
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x422a49
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x4c]
call fcn.00422270
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18
Function at 0x422cf0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x468b78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x47834c]
mov dx, word [esp + 0x38]
mov esi, ecx
mov ecx, dword [0x478350]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov ecx, esi
mov word [esp + 0x1c], dx
call fcn.00430ea0
test eax, eax
je 0x422e1b
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, esi
cmp eax, 3
je 0x422e1f
call fcn.00430bb0
mov ebx, eax
test ebx, ebx
je 0x422dcd
cmp dword [esp + 0x3c], 0
jne 0x422dcd
push 0x96
lea ecx, [esp + 0x1c]
call fcn.00418500
mov edi, eax
push 0x9f
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00418500
mov ecx, dword [edi]
mov edx, dword [eax]
mov eax, dword [esi + 4]
push 1
push 0x10
push ecx
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x44], 1
call fcn.004334a0
lea ecx, [esp + 0x14]
call fcn.00415e60
lea ecx, [esp + 0x18]
call fcn.00415e60
xor eax, eax
jmp 0x422e2a
push 0x9f
lea ecx, [esp + 0x14]
call fcn.00418500
mov ecx, dword [eax]
push ecx
lea ecx, [esi + 0x50]
mov dword [esp + 0x34], 2
call fcn.00417f60
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x422e1b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422e1b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
xor eax, eax
jmp 0x422e2a
call fcn.00430c10
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044e04c
add esp, 0x24
ret 8
Function at 0x4235b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468c00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
push 0x5c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.0041df10
push 0x477918
push 0x477918
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x30]
call fcn.00415d40
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
cmp eax, ebp
jle 0x4236bd
movzx eax, word [ecx + ebp*2]
cmp ax, 0x5c
jne 0x4236af
push ebp
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.0041e580
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42367d
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x423701
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.004233a0
push 1
mov ecx, ebx
mov edi, eax
call fcn.00423440
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x20], 0
cmp edx, dword [0x484060]
je 0x4236af
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4236af
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
mov ecx, dword [esp + 0x28]
inc ebp
cmp ebp, dword [ecx - 8]
jl 0x423611
lea eax, [ecx - 0xc]
cmp eax, dword [0x484060]
je 0x4236e6
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4236e6
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff4
push ecx
call fcn.0044ec74
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x42372e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42372e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x42375b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42375b
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
xor eax, eax
jmp 0x4236eb
Function at 0x423760
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468c30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00430c10
mov ebp, eax
test ebp, ebp
jne 0x42379e
mov eax, 8
jmp 0x423939
mov ecx, edi
call fcn.00430bf0
mov esi, eax
test esi, esi
je 0x423794
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x4237c7
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4237db
mov ecx, dword [0x484064]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00417f60
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.0041de40
lea ecx, [esp + 0x14]
call fcn.0041dea0
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 8], 0
jne 0x423812
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 1
jmp 0x423939
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
cmp dword [eax - 8], 0x80
jle 0x423834
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 9
jmp 0x423939
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x423852
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 3
jmp 0x423939
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42387b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x42387b
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 2
jmp 0x423939
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00422380
test eax, eax
je 0x42389e
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 5
jmp 0x423939
movzx eax, word [ebx]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x48]
push esi
call eax
mov ecx, dword [ebp]
mov esi, edx
mov edx, dword [ecx + 0x2c]
mov edi, eax
shrd edi, esi, 0x14
push ebp
shr esi, 0x14
call edx
cdq
cmp esi, edx
ja 0x4238d9
jb 0x4238c9
cmp edi, eax
jae 0x4238d9
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 6
jmp 0x423939
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42392e
lea ecx, [esp + 0x18]
call fcn.00423330
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x44], 1
call fcn.00419dd0
lea ecx, [esp + 0x1c]
call fcn.004235b0
lea ecx, [esp + 0x18]
test eax, eax
jne 0x423929
call fcn.004234e0
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 7
jmp 0x423939
call fcn.004234e0
lea ecx, [esp + 0x14]
call fcn.00415e60
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4