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

Disassembly:
push 0xffffffffffffffff
push 0x4f1ca6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esi], vtable.JsonSetting::CJsonFlagsArray.0
lea edi, [esi + 4]
mov dword [esp + 0x24], 2
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x46ce32
jmp 0x46ce00
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
sar ecx, 2
cmp ebx, ecx
jb 0x46ce12
call fcn.004c96d9
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x46ce24
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x46ce00
mov eax, edi
call fcn.00459cd0
mov ecx, dword [esi + 0x34]
mov ebx, dword [ecx + 4]
add esi, 0x1c
cmp byte [ebx + 0x15], 0
mov ebp, ebx
jne 0x46ce6f
lea ebx, [ebx]
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.0043aa60
mov ebp, dword [ebp]
push ebx
call fcn.004c8f17
add esp, 4
cmp byte [ebp + 0x15], 0
mov ebx, ebp
je 0x46ce50
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 3
call fcn.0043aaa0
mov eax, dword [esi]
push eax
call fcn.004c8f17
mov eax, dword [edi + 0xc]
add esp, 4
cmp eax, ebx
je 0x46ceae
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [edi]
push ecx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.004c8f17
mov edx, dword [esp + 0x30]
add esp, 4
mov dword [edx], vtable.FastJson::CJsonValue.0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x46d300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1c56
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.JsonSetting::CJsonWallPaperElement.0
mov eax, vtable.FastJson::CJsonIntValue.0
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
lea eax, [esi + 0x14]
push eax
mov byte [esp + 0x20], 2
call fcn.0046cf70
mov ebp, vtable.FastJson::CJsonWStringValue.0
mov dword [esi + 0x30], ebp
mov ebx, 7
xor ecx, ecx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], edi
mov word [esi + 0x38], cx
mov dword [esi + 0x50], ebp
xor edx, edx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], edi
mov word [esi + 0x58], dx
mov dword [esi + 0x70], ebp
xor eax, eax
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], edi
mov word [esi + 0x78], ax
mov dword [esi + 0x90], ebp
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa8], edi
mov word [esi + 0x98], cx
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], edi
mov word [esi + 0xb8], dx
lea eax, [esi + 0xd0]
push eax
mov byte [esp + 0x20], 8
call fcn.0046d080
mov dword [esi + 0xec], ebp
mov dword [esi + 0x108], ebx
mov dword [esi + 0x104], edi
xor ecx, ecx
mov word [esi + 0xf4], cx
mov dword [esi + 0x10c], ebp
xor edx, edx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x124], edi
mov word [esi + 0x114], dx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x46dca0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
cmp eax, 3
jne 0x46dcf2
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 3
lea edx, [esp + 4]
push edx
call eax
cmp dword [eax + 0x18], 8
jb 0x46dcc5
mov eax, dword [eax + 4]
jmp 0x46dcc8
add eax, 4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x46dce6
mov ecx, dword [esp + 8]
push ecx
call fcn.004c8f17
add esp, 4
test esi, esi
setne al
pop esi
add esp, 0x1c
ret 4
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x46dd10
mov al, byte [eax]
cmp al, 2
je 0x46dd08
cmp al, 3
jne 0x46dd10
mov al, 1
add esp, 0x1c
ret 4
xor al, al
add esp, 0x1c
ret 4
Function at 0x46f2f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ecac6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [edi], vtable.JsonSetting::CWallPaperLocalElement.0
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], eax
mov word [edi + 0xc], dx
lea esi, [edi + 0x30]
mov dword [esp + 0x14], eax
mov dword [esi + 0x18], ecx
xor ecx, ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], cx
mov byte [esp + 0x14], 1
push 5
push str.Local
mov dword [edi + 4], 0xffffffff
mov byte [edi + 0x24], al
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
call fcn.00401760
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x46f450
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4eed90
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov al, byte [esi + 0x24]
xor ebx, ebx
cmp al, bl
jne 0x46f57c
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esi + 0x24], 1
call fcn.0046f640
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x46f4b5
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x46f531
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0046f5a0
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x46f4e1
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
jne 0x46f4fe
lea ecx, [esp + 0x30]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
xor al, al
jmp 0x46f57c
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x46f50c
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x46f51a
lea eax, [esp + 0x34]
push ecx
push eax
call fcn.00480710
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.004016f0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x46f53f
lea eax, [esp + 0x18]
push eax
call fcn.00448d50
mov dword [esi + 0x28], eax
mov ecx, dword [eax + 8]
add esp, 4
mov dword [eax + 8], ebx
cmp ecx, ebx
je 0x46f567
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x46f564
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x28], ebx
cmp dword [esp + 0x2c], ebp
jb 0x46f57a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c8f17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x4c
ret
Function at 0x46fd00
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 4], eax
cmp eax, ebx
je 0x46fd7d
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x46fd6e
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.004c8f08
add esp, 0x14
ret
Function at 0x471280
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f5ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x64]
xor ebp, ebp
mov ecx, str.WallPaperLocal_
lea edi, [esp + 0x34]
mov dword [esp + 0x14], ebp
call fcn.0047e4c0
push 0xffffffffffffffff
mov dword [esp + 0x60], ebp
xor eax, eax
push ebp
mov ecx, edi
mov word [esp + 0x24], ax
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
call fcn.00401850
mov byte [esp + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004ca743
mov ecx, dword [0x532f14]
mov edi, ecx
sub edi, dword [0x532f10]
add esp, 4
sar edi, 2
cmp edi, ebp
jle 0x471349
test byte [0x534bbc], 1
jne 0x47133d
or dword [0x534bbc], 1
call fcn.004ca755
cdq
idiv edi
mov ecx, dword [0x532f14]
mov dword [0x534bb8], edx
cmp edi, ebp
mov dword [esp + 0x14], ebp
jg 0x4713d9
push ebp
push 0x4feab8
lea esi, [esp + 0x20]
call fcn.00401760
push 0xffffffffffffffff
push ebp
mov edx, esi
mov edi, 7
xor ecx, ecx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
push edx
mov eax, ebx
mov word [ebx + 4], cx
call fcn.00401850
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x47138e
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp dword [esp + 0x4c], esi
jb 0x4713b0
mov edx, dword [esp + 0x38]
push edx
call fcn.004c8f17
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x4c
ret 4
mov ecx, dword [0x532f14]
mov eax, dword [0x534bb8]
inc eax
cdq
idiv edi
sub ecx, dword [0x532f10]
sar ecx, 2
mov dword [0x534bb8], edx
mov esi, edx
cmp edx, ecx
jb 0x4713fc
call fcn.004c96d9
mov edx, dword [0x532f10]
mov eax, dword [edx + esi*4]
push 0xffffffffffffffff
push ebp
add eax, 8
push eax
lea esi, [esp + 0x24]
call fcn.00408f90
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x471428
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0xffffffffffffffff
test eax, eax
push ebp
lea eax, [esp + 0x20]
jne 0x471456
lea ecx, [esp + 0x3c]
push ecx
call fcn.00401850
mov eax, dword [esp + 0x14]
inc eax
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x4713d3
jmp 0x471349
mov edi, 7
xor edx, edx
push eax
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
mov eax, ebx
mov word [ebx + 4], dx
call fcn.00401850
cmp dword [esp + 0x30], esi
jb 0x471482
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], dx
cmp dword [esp + 0x4c], esi
jb 0x4713b0
mov eax, dword [esp + 0x38]
push eax
jmp 0x4713a8
Function at 0x472d50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f3e26
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
push 0x19c
mov esi, ecx
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x98], 0
test eax, eax
je 0x472daf
push eax
call fcn.00472ed0
jmp 0x472db1
xor eax, eax
push 0x4fea44
mov dword [esp + 0x9c], 0xffffffff
push esi
mov dword [0x532e64], eax
call fcn.004c97af
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x472e98
push 2
push 0
push ebx
call fcn.004cbfa2
add esp, 0xc
push ebx
call fcn.004cbeaa
add esp, 4
push 0
push 0
push ebx
mov esi, eax
call fcn.004cbfa2
lea eax, [esi + 0x64]
add esp, 0xc
push eax
call fcn.004c85fa
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x472e8f
push ebx
push esi
push 1
lea edi, [esi + ebp]
push ebp
mov byte [edi], 0
call fcn.004c9ab9
add esp, 0x10
lea esi, [esp + 0x1c]
call fcn.004836b0
mov dword [esp + 0x98], 1
mov ecx, dword [0x532e64]
xor esi, esi
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edi
mov byte [esp + 0x8c], 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.00483760
mov eax, dword [0x532e64]
cmp eax, esi
je 0x472e7d
lea edi, [eax + 0x108]
cmp edi, esi
je 0x472e7d
call fcn.0046ca10
push ebp
call fcn.004ca215
add esp, 4
lea eax, [esp + 0x1c]
call fcn.00483700
push ebx
call fcn.004c9c66
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004c8f08
add esp, 0x88
ret

Function at 0x472fa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f3a78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esi + 0x12c]
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x12c]
push 3
lea edx, [esp + 0x10]
push edx
call eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov edi, 8
cmp dword [esp + 0x24], edi
jae 0x473002
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47301a
cmp dword [esp + 0x24], edi
jb 0x473061
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x473059
call fcn.00418d60
test eax, eax
je 0x473034
mov edx, dword [esp + 0x3c]
push edx
push esi
call fcn.00418d60
push eax
call fcn.0041b340
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], edi
jae 0x473042
lea eax, [esp + 0x10]
mov ecx, dword [esi + 8]
push ecx
call fcn.0046a290
add esp, 4
cmp dword [esp + 0x24], edi
jb 0x473061
mov edx, dword [esp + 0x10]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8f08
add esp, 0x30
ret
Function at 0x473140
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ec6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0x12c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 3
lea edx, [esp + 0x10]
push edx
call eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov edi, 8
cmp dword [esp + 0x24], edi
jae 0x4731a3
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4731bb
cmp dword [esp + 0x24], edi
jb 0x4731f3
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x4731eb
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], edi
jae 0x4731c9
lea esi, [esp + 0x10]
call fcn.00418d60
test eax, eax
je 0x4731e0
call fcn.00418d60
mov edx, esi
mov ecx, eax
call fcn.0041b510
cmp dword [esp + 0x24], edi
jb 0x4731f3
mov edx, dword [esp + 0x10]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2c
ret

Function at 0x473210
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ec6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0x12c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 3
lea edx, [esp + 0x10]
push edx
call eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov edi, 8
cmp dword [esp + 0x24], edi
jae 0x473273
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47328b
cmp dword [esp + 0x24], edi
jb 0x4732c2
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x4732ba
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], edi
jae 0x473299
lea esi, [esp + 0x10]
call fcn.00418d60
test eax, eax
je 0x4732af
call fcn.00418d60
push eax
mov eax, esi
call fcn.0041b990
cmp dword [esp + 0x24], edi
jb 0x4732c2
mov edx, dword [esp + 0x10]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2c
ret
Function at 0x4732e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ec6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0x12c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 3
lea edx, [esp + 0x10]
push edx
call eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov edi, 8
cmp dword [esp + 0x24], edi
jae 0x473343
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47335b
cmp dword [esp + 0x24], edi
jb 0x4733a2
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x47339a
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], edi
jae 0x473369
lea esi, [esp + 0x10]
call fcn.00418d60
test eax, eax
je 0x47338f
call fcn.00418d60
mov eax, dword [eax + 4]
test eax, eax
je 0x473383
mov eax, dword [eax + 4]
jmp 0x473385
xor eax, eax
push esi
push eax
call fcn.00480380
add esp, 8
cmp dword [esp + 0x24], edi
jb 0x4733a2
mov edx, dword [esp + 0x10]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2c
ret
Function at 0x473930
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
cmp byte [0x5326d0], 0
jne 0x473a6f
mov ecx, str.WallPaperAutoSwitchFilter.dtlasf
lea edi, [esp + 0x28]
call fcn.0047e4c0
mov dword [esp + 0x50], 0
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x473994
lea eax, [esp + 0x2c]
push 0x4fea44
push eax
call fcn.004c97af
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x473a5b
push 2
push 0
push ebp
call fcn.004cbfa2
add esp, 0xc
push ebp
call fcn.004cbeaa
add esp, 4
push 0
push 0
push ebp
mov esi, eax
call fcn.004cbfa2
add esp, 0xc
lea edi, [esi + 1]
push edi
call fcn.004c85fa
add esp, 4
push edi
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x20], ebx
call fcn.004d1df0
add esp, 0xc
push ebp
push 1
push esi
push ebx
call fcn.004c9ab9
add esp, 0x10
test eax, eax
jbe 0x473a42
xor eax, eax
mov ecx, ebx
test esi, esi
jle 0x473a13
cmp byte [ecx], 0x23
je 0x473a18
inc eax
inc ecx
cmp eax, esi
jl 0x473a08
cmp byte [ecx], 0x23
jne 0x473a3e
cmp eax, 0xffffffff
je 0x473a3e
mov ecx, dword [ebx]
or edx, 0xffffffff
sub edx, eax
lea ebx, [ebx + eax + 1]
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ecx
add esi, edx
call fcn.00479b30
jmp 0x473a00
mov ebx, dword [esp + 0x14]
push ebx
mov byte [0x5326d0], 1
call fcn.004ca215
add esp, 4
push ebp
call fcn.004c9c66
add esp, 4
cmp dword [esp + 0x40], 8
jb 0x473a6f
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c8f08
add esp, 0x40
ret
Function at 0x473a90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f6ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
cmp byte [0x5326d1], 0
je 0x473bf6
mov ecx, str.WallPaperAutoSwitchFilter.dtlasf
lea edi, [esp + 0x30]
call fcn.0047e4c0
mov dword [esp + 0x58], 0
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x473af4
lea eax, [esp + 0x34]
push 0x502790
push eax
call fcn.004c97af
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x473be2
mov ebx, dword [0x532fd8]
test ebx, ebx
jbe 0x473bcb
lea ebx, [ebx + ebx*4 + 1]
push ebx
mov dword [esp + 0x28], ebx
call fcn.004c85fa
push ebx
mov ebp, eax
push 0
push ebp
mov dword [esp + 0x30], ebp
call fcn.004d1df0
mov eax, dword [0x532fd4]
mov ecx, dword [eax]
mov esi, dword [0x532fbc]
add esp, 0x10
mov edi, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov edx, dword [0x532fd4]
mov dword [esp + 0x2c], edx
test esi, esi
je 0x473b69
cmp esi, dword [0x532fbc]
je 0x473b6e
call fcn.004c96d9
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
je 0x473bb6
mov ebx, esi
lea esi, [esp + 0x18]
mov ebp, eax
call fcn.0047b1f0
test ebx, ebx
jne 0x473bb2
call fcn.004c96d9
cmp ebp, dword [ebx + 0x18]
jne 0x473b98
call fcn.004c96d9
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [edi], eax
add edi, 4
mov byte [edi], 0x23
inc edi
jmp 0x473b53
mov ebx, dword [ebx]
jmp 0x473b8e
mov ecx, dword [esp + 0x14]
push ecx
push ebx
push 1
push ebp
call fcn.004ca3f1
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
mov byte [0x5326d1], 0
mov byte [0x5326d0], 0
call fcn.004c9c66
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x473bf6
mov edx, dword [esp + 0x34]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004c8f08
add esp, 0x48
ret

Function at 0x474050
Capabilities:
Delete file

Disassembly:
sub esp, 0x1c
test esi, esi
je 0x4740c4
push ebx
push edi
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046f640
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x474074
mov eax, dword [eax + 4]
jmp 0x474077
add eax, 4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp dword [esp + 0x20], ebx
jb 0x474093
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004c8f17
add esp, 4
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0046f5a0
cmp dword [eax + 0x18], ebx
jb 0x4740a9
mov eax, dword [eax + 4]
jmp 0x4740ac
add eax, 4
push eax
call edi
cmp dword [esp + 0x20], ebx
pop edi
pop ebx
jb 0x4740c4
mov eax, dword [esp + 4]
push eax
call fcn.004c8f17
add esp, 4
add esp, 0x1c
ret