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

Disassembly:
push 0xffffffffffffffff
push 0x4ce931
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
mov dword [esp + 0x38], eax
mov ecx, str.http
lea edi, [esp + 0x14]
mov dword [esp + 0xc], 1
call fcn.004114a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x44], 1
call fcn.004068c0
cmp dword [esp + 0x2c], 8
jb 0x41194b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0049c830
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x411960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ce8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
mov dword [esp + 0x10], ebx
mov word [ebx + 4], ax
mov dword [esp + 0x58], eax
mov edi, 1
lea esi, [esp + 0x30]
mov dword [esp + 0xc], edi
call fcn.00411630
mov dword [esp + 0x58], edi
cmp dword [esp + 0x44], 0
lea esi, [edi + 7]
je 0x411a0f
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x4119e2
lea ecx, [esp + 0x34]
lea edi, [esp + 0x14]
call fcn.004114a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x64], 2
call fcn.004068c0
cmp dword [esp + 0x2c], esi
jb 0x411a0f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0049c830
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x411a22
mov edx, dword [esp + 0x34]
push edx
call fcn.0049c830
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004a0e91
add esp, 0x50
ret
Function at 0x411fc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0xc], 1
mov word [esp + 0x14], ax
call fcn.004a0bd0
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.clid
push str.SOFTWAREYandexYandexBrowser
push SysReAllocString
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41203d
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004a0e91
add esp, 0x214
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412044
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004069f0
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov al, 1
call fcn.004a0e91
add esp, 0x214
ret

Function at 0x412130
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, eax
push edi
push ebx
mov ecx, str.Opera.exe
call fcn.00411a50
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
test al, al
je 0x41216c
cmp dword [ebx + 0x14], 0
je 0x41216c
cmp dword [ebx + 0x18], 8
jb 0x41215d
mov eax, dword [ebx + 4]
jmp 0x412160
lea eax, [ebx + 4]
push eax
call edi
test eax, eax
je 0x41216c
mov al, 1
pop edi
pop ebx
ret
mov edx, str.Last_Stable_Install_Path
mov ecx, str.SOFTWAREOpera_Software
call fcn.004105f0
test al, al
je 0x4121b1
push 0xc
push str.launcher.exe
mov ecx, ebx
call fcn.004067a0
cmp dword [ebx + 0x18], 8
jb 0x4121a2
mov ebx, dword [ebx + 4]
push ebx
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop ebx
ret
add ebx, 4
push ebx
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop ebx
ret
pop edi
xor al, al
pop ebx
ret
Function at 0x4121c0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x82c
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x828], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42a]
push ecx
mov word [esp + 0x42c], ax
call fcn.004a0bd0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22e]
push eax
mov word [esp + 0x230], dx
call fcn.004a0bd0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x18
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x14]
push eax
push str.UninstallString
push str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push SysReAllocString
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
call esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x21c]
push edx
lea eax, [esp + 0x14]
push eax
push str.UninstallString
push str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x208
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.004a0bd0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea edx, [esp + 0x420]
push edx
call edi
test eax, eax
je 0x4122d0
lea eax, [esp + 0x10]
lea esi, [esp + 0x420]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x4122b0
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x412316
movzx ecx, word [esi + eax]
test cx, cx
je 0x412316
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4122b0
jmp 0x41231a
lea eax, [esp + 0x218]
push eax
call edi
test eax, eax
je 0x4123a8
lea eax, [esp + 0x10]
lea esi, [esp + 0x218]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x412316
movzx ecx, word [esi + eax]
test cx, cx
je 0x412316
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4122f6
jmp 0x41231a
test edx, edx
jne 0x41231d
sub eax, 2
xor edx, edx
push 0x208
mov word [eax], dx
push edx
lea eax, [esp + 0x630]
push eax
call fcn.004a0bd0
add esp, 0xc
push str.......chrome.exe
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x630]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4123a8
lea eax, [esp + 0x628]
push eax
call edi
test eax, eax
je 0x4123a8
lea eax, [esp + 0x628]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412370
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x62c]
push ecx
mov ecx, ebx
call fcn.004069f0
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.004a0e91
add esp, 0x82c
ret
mov ecx, dword [esp + 0x830]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.004a0e91
add esp, 0x82c
ret
Function at 0x4123d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4cb78b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea ebx, [esp + 8]
mov dword [esp + 0x440], eax
call fcn.004121c0
test al, al
je 0x4124e1
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2e]
push eax
mov word [esp + 0x30], dx
call fcn.004a0bd0
push str.glcimepnljoholdmjchkloafkggfoijh
push str.....User_DataDefaultExtensions_s
lea ecx, [esp + 0x38]
push 0x104
push ecx
call fcn.0040a3d0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x252]
push eax
mov word [esp + 0x254], dx
call fcn.004a0bd0
mov eax, dword [esp + 0x34]
add esp, 0x28
cmp dword [esp + 0x20], 8
jae 0x412496
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4124e1
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4124cd
lea ecx, [esp + 8]
call fcn.004050c0
mov al, 1
jmp 0x4124f7
call fcn.00410700
lea ecx, [esp + 8]
mov bl, al
call fcn.004050c0
mov al, bl
jmp 0x4124f7
cmp dword [esp + 0x20], 8
jb 0x4124f5
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0049c830
add esp, 4
xor al, al
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.004a0e91
add esp, 0x43c
ret
Function at 0x412900
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4cb746
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
xor esi, esi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], ax
mov dword [esp + 0x25c], esi
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], cx
lea ebx, [esp + 0x2c]
mov edx, str.InstallLocation
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
mov byte [esp + 0x25c], 1
call fcn.004105f0
test al, al
je 0x412a42
lea ebx, [esp + 0x10]
mov edx, str.DisplayVersion
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
call fcn.004105f0
test al, al
je 0x412a42
push 0x206
lea eax, [esp + 0x4e]
xor edx, edx
push esi
push eax
mov word [esp + 0x54], dx
call fcn.004a0bd0
mov ecx, dword [esp + 0x20]
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x4129db
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x4129e9
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412a47
lea eax, [esp + 0x48]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x412a10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004069f0
lea ecx, [esp + 0x10]
call fcn.004050c0
lea ecx, [esp + 0x2c]
call fcn.004050c0
mov al, 1
jmp 0x412a82
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x412a5a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0049c830
add esp, 4
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], dx
cmp dword [esp + 0x44], ebx
jb 0x412a80
mov eax, dword [esp + 0x30]
push eax
call fcn.0049c830
add esp, 4
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004a0e91
add esp, 0x250
ret
Function at 0x412ab0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4cb746
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
xor esi, esi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], ax
mov dword [esp + 0x25c], esi
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], cx
lea ebx, [esp + 0x2c]
mov edx, str.InstallLocation
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
mov byte [esp + 0x25c], 1
call fcn.004105f0
test al, al
je 0x412bf2
lea ebx, [esp + 0x10]
mov edx, str.DisplayVersion
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
call fcn.004105f0
test al, al
je 0x412bf2
push 0x206
lea eax, [esp + 0x4e]
xor edx, edx
push esi
push eax
mov word [esp + 0x54], dx
call fcn.004a0bd0
mov ecx, dword [esp + 0x20]
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x412b8b
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x412b99
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412bf7
lea eax, [esp + 0x48]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x412bc0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004069f0
lea ecx, [esp + 0x10]
call fcn.004050c0
lea ecx, [esp + 0x2c]
call fcn.004050c0
mov al, 1
jmp 0x412c32
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x412c0a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0049c830
add esp, 4
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], dx
cmp dword [esp + 0x44], ebx
jb 0x412c30
mov eax, dword [esp + 0x30]
push eax
call fcn.0049c830
add esp, 4
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004a0e91
add esp, 0x250
ret
Function at 0x412c60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ce858
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push edi
mov ecx, str.IEXPLORE.EXE
call fcn.00411a50
add esp, 4
test al, al
jne 0x412ca9
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x412cb6
mov eax, dword [esi]
jmp 0x412cb8
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412c96
cmp dword [edi + 0x18], 8
jb 0x412ccd
mov ecx, dword [esi]
jmp 0x412ccf
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004110b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.004068c0
cmp dword [esp + 0x20], 8
jb 0x412d04
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0049c830
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x41b290
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0
push esi
je 0x41b2c2
cmp dword [eax + 0x18], 8
jb 0x41b2a2
mov esi, dword [eax + 4]
jmp 0x41b2a5
lea esi, [eax + 4]
test esi, esi
je 0x41b2c2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b2c6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41b2ca
xor eax, eax
pop esi
ret
test al, 0x10
je 0x41b2c2
mov eax, 1
pop esi
ret
Function at 0x41b2e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4cb5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp edi, 0x23
je 0x41b33c
cmp edi, 0x1a
je 0x41b33c
push 0x4e0c80
mov ecx, esi
call fcn.00406560
jmp 0x41b443
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x38], ax
call fcn.004a0bd0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x41b38b
push ebx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4e0c80
mov ecx, esi
mov word [esi + 4], ax
call fcn.004069f0
jmp 0x41b443
mov edi, 7
xor ecx, ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b3a6
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.004069f0
push 0x11
push str.360TotalSecurity
lea ecx, [esp + 0x18]
mov dword [esp + 0x248], ebx
call fcn.004067a0
cmp byte [esp + 0x248], bl
jne 0x41b415
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov word [esi + 4], ax
call fcn.004068c0
cmp dword [esp + 0x28], 8
jb 0x41b443
mov edx, dword [esp + 0x14]
push edx
call fcn.0049c830
add esp, 4
jmp 0x41b443
lea eax, [esp + 0x10]
call fcn.0041b290
mov ecx, esi
test al, al
je 0x41b430
lea eax, [esp + 0x10]
push eax
call fcn.004065a0
jmp 0x41b43a
push 0x4e0c80
call fcn.00406560
lea ecx, [esp + 0x10]
call fcn.004050c0
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004a0e91
add esp, 0x238
ret
Function at 0x41b470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ce720
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov ecx, dword [esp + 0x5c]
push ecx
lea ecx, [ebx + 0x23]
lea esi, [esp + 0x14]
mov dword [esp + 0x58], ebx
call fcn.0041b2e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
call fcn.004068c0
mov esi, 8
mov byte [esp + 0x54], bl
cmp dword [esp + 0x28], esi
jb 0x41b4ff
mov edx, dword [esp + 0x14]
push edx
call fcn.0049c830
add esp, 4
cmp dword [esp + 0x40], ebx
jne 0x41b53e
push ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x4e0c80
mov ecx, edi
mov word [edi + 4], ax
call fcn.004069f0
cmp dword [esp + 0x44], esi
jb 0x41b5c8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0049c830
add esp, 4
jmp 0x41b5c8
mov eax, 0x4e0c80
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b546
sub eax, edx
sar eax, 1
push eax
push 0x4e0c80
lea ecx, [esp + 0x34]
call fcn.004067a0
lea eax, [esp + 0x2c]
cmp byte [esp + 0x5c], bl
jne 0x41b59e
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov word [edi + 4], dx
call fcn.004068c0
cmp dword [esp + 0x44], esi
jb 0x41b5c8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0049c830
add esp, 4
jmp 0x41b5c8
call fcn.0041b290
mov ecx, edi
test al, al
je 0x41b5b5
lea edx, [esp + 0x2c]
push edx
call fcn.004065a0
jmp 0x41b5bf
push 0x4e0c80
call fcn.00406560
lea ecx, [esp + 0x2c]
call fcn.004050c0
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004a0e91
add esp, 0x4c
ret
Function at 0x41b5f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4cb592
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov esi, edx
mov ebx, 0x4e0c60
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
call fcn.00409bc0
mov dword [esp + 0x28], ebp
mov ebx, 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
lea eax, [esp + 0x18]
push eax
call fcn.0042a2b0
add esp, 4
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x14], 3
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x41b664
sub eax, edi
sar eax, 1
push eax
push ecx
mov ecx, esi
call fcn.004067a0
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x14], ebp
je 0x41b6cf
cmp dword [esi + 0x18], 8
jb 0x41b6b4
mov edi, dword [esi + 4]
jmp 0x41b6b7
lea edi, [esi + 4]
cmp edi, ebp
je 0x41b6cf
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b6cf
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x425590
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cb4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x2e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2f4]
push 0x24c
lea eax, [esp + 0x94]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x98], 0
call fcn.004a0bd0
mov ebx, 0x4e0c60
mov ecx, ebp
lea esi, [esp + 0x28]
call fcn.00409bc0
push edi
mov ecx, eax
lea esi, [esp + 0x64]
mov dword [esp + 0x2fc], 0
call fcn.00409c70
mov edi, 8
add esp, 0x10
cmp dword [eax + 0x18], edi
jb 0x42562c
mov eax, dword [eax + 4]
jmp 0x42562f
add eax, 4
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp dword [esp + 0x6c], edi
jb 0x425657
mov edx, dword [esp + 0x58]
push edx
call fcn.0049c830
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [esp + 0x2ec], 0xffffffff
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esp + 0x34], edi
jb 0x42568d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0049c830
add esp, 4
xor edx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, 0xffffffff
jne 0x4256b0
xor al, al
jmp 0x425764
mov ebx, 0x4e0c60
mov ecx, ebp
lea esi, [esp + 0x70]
call fcn.00409bc0
lea ebx, [esp + 0xb8]
mov ecx, eax
lea esi, [esp + 0x38]
mov dword [esp + 0x2ec], 1
call fcn.00409bc0
cmp dword [eax + 0x18], edi
jb 0x4256e7
mov eax, dword [eax + 4]
jmp 0x4256ea
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x50], edi
jb 0x425704
mov eax, dword [esp + 0x3c]
push eax
call fcn.0049c830
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2ec], 0xffffffff
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
cmp dword [esp + 0x88], edi
jb 0x42573c
mov edx, dword [esp + 0x74]
push edx
call fcn.0049c830
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4256b0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.004a0e91
add esp, 0x2dc
ret