joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449bc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f1e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov edi, dword [esp + 0x450]
xor eax, eax
push 0x206
mov dword [esp + 0x44c], 0
mov esi, ecx
push eax
lea ecx, [esp + 0x23e]
mov dword [esp + 0x18], 0
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x240], ax
call fcn.004d1df0
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x4a]
push eax
mov word [esp + 0x4c], dx
call fcn.004d1df0
mov eax, dword [esp + 0x46c]
add esp, 0x18
sub eax, 0
mov ebp, 8
je 0x449cd4
sub eax, 1
jne 0x449d33
cmp dword [esi - 0x84], ebp
jb 0x449c7b
mov eax, dword [esi - 0x98]
jmp 0x449c81
lea eax, [esi - 0x98]
push eax
push str._sBigIcon_
lea ecx, [esp + 0x23c]
push 0x104
push ecx
call fcn.004ca693
add esp, 0x10
cmp dword [esi - 0xa4], ebp
jb 0x449cbc
mov esi, dword [esi - 0xb8]
push esi
push str._s.jpg
push pe_nt_image_headers32
lea edx, [esp + 0x40]
push edx
jmp 0x449d2b
add esi, 0xffffff48
push esi
push str._s.jpg
push pe_nt_image_headers32
lea edx, [esp + 0x40]
push edx
jmp 0x449d2b
cmp dword [esi - 0x84], ebp
jb 0x449ce4
mov eax, dword [esi - 0x98]
jmp 0x449cea
lea eax, [esi - 0x98]
push eax
push str._sSmallIcon_
lea eax, [esp + 0x23c]
push 0x104
push eax
call fcn.004ca693
add esp, 0x10
cmp dword [esi - 0xa4], ebp
jb 0x449d15
mov esi, dword [esi - 0xb8]
jmp 0x449d1b
add esi, 0xffffff48
push esi
push str._s_Small.jpg
push pe_nt_image_headers32
lea ecx, [esp + 0x40]
push ecx
call fcn.004ca693
add esp, 0x10
lea esi, [esp + 0x18]
call fcn.0047e6f0
lea edx, [esp + 0x234]
push edx
mov ecx, eax
mov esi, edi
mov dword [esp + 0x44c], 1
call fcn.0041e3f0
add esp, 4
mov byte [esp + 0x448], 0
mov dword [esp + 0x10], 1
cmp dword [esp + 0x30], ebp
jb 0x449d7e
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
lea esi, [edi + 4]
cmp dword [edi + 0x18], ebp
jb 0x449da1
mov eax, dword [esi]
jmp 0x449da3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449de6
cmp dword [edi + 0x18], ebp
jb 0x449db7
mov edx, dword [esi]
jmp 0x449db9
mov edx, esi
call fcn.004612d0
test al, al
jne 0x449de6
cmp dword [edi + 0x18], ebp
jb 0x449dc9
mov esi, dword [esi]
push esi
push 0x508090
push 0x44
push ebp
call fcn.004845b0
mov ecx, eax
mov eax, str..MainWndUIWallPaperUploadJsonUpload.cpp
call fcn.00484890
add esp, 0x10
lea eax, [esp + 0x34]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449df0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x38]
push edx
mov eax, edi
call fcn.004088a0
mov eax, edi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x43c
ret 8
Function at 0x44a4c0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
mov byte [esi + 0xc], 1
test eax, eax
je 0x44a4d2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
call fcn.0044a590
mov eax, dword [esi + 4]
test eax, eax
je 0x44a4fc
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44a4fc
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
test eax, eax
je 0x44a50a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov byte [esi + 0xc], 0
ret

Function at 0x44a520
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 4], 0
push ebx
push edi
jne 0x44a554
push 0
push 0
push 0
push 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x44a760
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp byte [esi + 0xc], 0
jne 0x44a587
lea ebx, [esi + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
lea edi, [esi + 0x14]
call fcn.0044a780
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 8]
pop edi
pop ebx
mov dword [esp + 4], ecx
jmp dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop ebx
ret 4

Function at 0x44c7d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ece72
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x418]
mov dword fs:[0], eax
mov eax, dword [esp + 0x428]
push pe_nt_image_headers32
mov esi, ecx
lea ecx, [esp + 0x218]
push ecx
push pe_nt_image_headers32
xor edi, edi
lea edx, [esp + 0x20]
push edx
push edi
push edi
push edi
mov dword [esp + 0x43c], edi
push edi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
call fcn.004ca473
add esp, 0x24
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], ax
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44c860
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00401760
lea eax, [esp + 0x214]
mov dword [esp + 0x420], edi
mov dword [esp + 0xc], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44c893
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x218]
push edx
mov eax, esi
call fcn.004088a0
mov eax, esi
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004c8f08
add esp, 0x418
ret
Function at 0x44f100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5618
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004a51b0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x44f300
call fcn.004a7e90
cmp esi, 2
mov ebx, dword [ebp + 8]
mov dword [edi + 0x98], ebx
mov dword [edi + 0x94], esi
jl 0x44f177
cmp esi, 3
jg 0x44f177
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x44f177
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x94], 0x17
call edx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x44f184
mov dword [eax + 0xa8], esi
lea eax, [esp + 0x24]
push eax
call fcn.00403c40
mov dword [esp + 0x48], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x44f1a7
push eax
lea eax, [esp + 0x28]
call fcn.004108f0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp esi, eax
jbe 0x44f1bc
call fcn.004c96d9
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov ebx, esi
mov dword [esp + 0x10], 0
mov edi, edi
mov esi, eax
cmp dword [esp + 0x30], eax
jbe 0x44f1dd
call fcn.004c96d9
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44f1e9
cmp eax, edi
je 0x44f1ee
call fcn.004c96d9
cmp esi, ebx
je 0x44f2a1
test edi, edi
jne 0x44f23f
call fcn.004c96d9
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44f20b
call fcn.004c96d9
mov ecx, dword [ebx]
push 0
push 0x52e1e4
push 0x52c868
push 0
push ecx
call fcn.004eb16a
mov esi, eax
add esp, 0x14
test esi, esi
je 0x44f27c
mov eax, dword [esi + 0x100]
test eax, eax
je 0x44f27c
cmp dword [eax + 0x78], 8
jb 0x44f243
mov eax, dword [eax + 0x64]
jmp 0x44f246
mov eax, dword [edi]
jmp 0x44f201
add eax, 0x64
push eax
call fcn.004c94ca
mov edi, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x18]
push edx
add edi, 0x78
mov dword [esp + 0x1c], eax
call fcn.00453320
cmp dword [ebp + 8], esi
jne 0x44f274
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x74], ecx
inc dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x44f29d
call fcn.004c96d9
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44f291
call fcn.004c96d9
mov eax, dword [esp + 0x34]
add ebx, 4
jmp 0x44f1d0
mov eax, dword [edi]
jmp 0x44f287
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x44f2cd
mov eax, dword [eax + 4]
test eax, eax
je 0x44f2cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44f2cd
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004a7a90
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x44f2e7
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x450110
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f30ec
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 8], bl
jne 0x4502fd
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_42.0.2311.135_Safari_537.36
mov dword [esp + 0x28], vtable.CWebContext.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x1b8], ebx
call fcn.0044fde0
push 4
push str.POST
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1c0], 1
call fcn.00404980
push 0x2f
push str.http:__int.wallpaper.updrv.com_Uploader_upload_
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00404980
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x30]
push eax
lea esi, [esp + 0x4c]
mov byte [esp + 0x1c4], 2
call fcn.00409a10
mov edx, dword [esp + 0x44]
mov esi, 0x10
cmp dword [esp + 0x58], esi
jae 0x4501f6
lea edx, [esp + 0x44]
lea eax, [esp + 0x5c]
call fcn.00485670
push 0x2f
push str.http:__int.wallpaper.updrv.com_Uploader_upload_
lea ecx, [esp + 0xdc]
call fcn.00404980
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x20]
or dword [esp + 0x13c], 0x200000
mov dword [esp + 0x138], ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x134], eax
mov byte [esp + 0x114], bl
call fcn.004856c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x1c4], 3
call fcn.00404e00
mov byte [esp + 0x1b8], 2
cmp dword [esp + 0x3c], esi
jb 0x450278
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c8f17
add esp, 4
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
cmp eax, ebx
je 0x45028b
push eax
call fcn.004c9ce2
add esp, 4
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x144], esi
call fcn.004868f0
cmp dword [esp + 0x58], 0x10
mov byte [edi + 0x50], al
jb 0x4502bd
mov eax, dword [esp + 0x44]
push eax
call fcn.004c8f17
add esp, 4
lea esi, [esp + 0x5c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.0044fec0
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebx
je 0x4502e7
push eax
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4502f2
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4502fd
push eax
call esi
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.004c8f08
mov esp, ebp
pop ebp
ret
Function at 0x452f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1e08
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 esi, dword [esp + 0x1c]
mov eax, vtable.FastJson::CJsonIntValue.0
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
xor edi, edi
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], edi
xor eax, eax
mov word [esi + 0x1c], ax
mov dword [esi + 0x14], vtable.JsonUpload::CJsonWStrValue.0
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
push ecx
mov dword [esi], vtable.JsonUpload::CJsonUploadPageInfo.0
call fcn.00452cc0
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x452fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ed8a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x52b360]
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.JsonUpload::CJsonUploadPageInfo.0
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x1c], 0
call fcn.00452d20
mov dword [esi], vtable.JsonUpload::CJsonUploadResultInfo.0
mov dword [esi + 0x14], vtable.JsonUpload::CJsonWStrValue.0
cmp dword [esi + 0x30], 8
jb 0x453040
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.004c8f17
add esp, 4
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov eax, vtable.FastJson::CJsonValue.0
xor edx, edx
mov word [esi + 0x1c], dx
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x454bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f7379
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp dword [0x532cd4], 1
jne 0x454c3d
mov esi, 0x532ccc
call fcn.00453d30
cmp eax, ebx
je 0x454c7d
xor ecx, ecx
call fcn.00478eb0
cmp eax, ebx
je 0x454c5b
push eax
push 0x5082a8
lea esi, [esp + 0x18]
call fcn.0046a520
add esp, 8
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x18], 0x10
mov ebx, 1
mov dword [esp + 0xc], ebx
jb 0x454c56
mov eax, dword [eax + 4]
jmp 0x454c5d
call fcn.00456dc0
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 4
jmp 0x454c5d
xor eax, eax
mov ecx, eax
call fcn.00456f70
test bl, 1
je 0x454c7d
cmp dword [esp + 0x28], 0x10
jb 0x454c7d
mov eax, dword [esp + 0x14]
push eax
call fcn.004c8f17
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c490
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.0045c3b0
add esp, 4
mov byte [esp + 0x17], al
lea ecx, [ebx + 2]
cmp al, bl
jne 0x45c4e8
lea ecx, [ebx + 3]
mov edx, dword [0x532dbc]
sub edx, dword [0x532db8]
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jle 0x45c57c
sub ecx, eax
mov edi, ecx
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xffffffff
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x54], ebx
call fcn.0045bf70
add esp, 4
test al, al
je 0x45c54c
lea eax, [esp + 0x1c]
push eax
call fcn.0045d220
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x45c568
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
sub edi, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
jne 0x45c512
cmp byte [esp + 0x17], bl
jne 0x45c58f
lea eax, [esp + 0x18]
push eax
call fcn.0045c3b0
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c8f08
mov esp, ebp
pop ebp
ret

Function at 0x45e6b0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x45e6f4
mov eax, dword [esi + 8]
test eax, eax
je 0x45e6f4
mov ecx, dword [esp + 8]
push edi
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call fcn.004c9ab9
mov edx, dword [esi + 8]
push edx
mov edi, eax
call fcn.004cc4c8
add esp, 0x14
test eax, eax
je 0x45e6ed
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x45e700
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x45e744
mov eax, dword [esi + 8]
test eax, eax
je 0x45e744
mov ecx, dword [esp + 8]
push edi
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call fcn.004ca3f1
mov edx, dword [esi + 8]
push edx
mov edi, eax
call fcn.004cc4c8
add esp, 0x14
test eax, eax
je 0x45e73d
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x45efa0
Capabilities:
Check for peb beingdebugged flag
Schedule task via itaskscheduler

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
xor ebx, ebx
xor eax, eax
mov word [esp + 0x2c], ax
mov eax, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45eff0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x30]
call fcn.00401760
push 4
push str..job
mov eax, esi
mov dword [esp + 0x58], ebx
call fcn.004088a0
lea ecx, [esp + 0x20]
push ecx
push 0x50935c
push 1
push ebx
push 0x50937c
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x45f057
cmp dword [esp + 0x40], 8
jb 0x45f050
mov edx, dword [esp + 0x2c]
push edx
call fcn.004c8f17
add esp, 4
xor al, al
jmp 0x45f167
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
mov byte [esp + 0x1f], bl
call eax
test eax, eax
jl 0x45f12f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x20]
push edx
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x45f12f
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x45f12f
lea esp, [esp]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
mov eax, ebp
cmp edi, 8
jae 0x45f0c3
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45f0c6
sub eax, edx
dec esi
sar eax, 1
mov dword [esp + 0x18], esi
mov ecx, ebp
cmp edi, 8
jae 0x45f0e5
lea ecx, [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx + esi*4]
push eax
push ecx
call fcn.004cded7
add esp, 0xc
test eax, eax
jne 0x45f100
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [esp + 0x18]
cmp esi, ebx
jne 0x45f0b0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [esp + 0x17], bl
je 0x45f080
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x45f13f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45f14f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x40], 8
jb 0x45f163
mov eax, dword [esp + 0x2c]
push eax
call fcn.004c8f17
add esp, 4
mov al, byte [esp + 0x17]
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 0x45f530
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.004d1df0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x11c]
setb al
xor ecx, esp
call fcn.004c8f08
add esp, 0x120
ret
Function at 0x460040
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ef842
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea edi, [esi + 4]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], esi
mov byte [edi], bl
push 0x103
lea eax, [esp + 0x1d]
mov dword [esp + 0x12c], ebx
push ebx
push eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x24], bl
call fcn.004d1df0
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
push 1
push 0x23
lea ecx, [esp + 0x20]
push ecx
push ebx
call ebp
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4600d2
sub eax, edx
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00404980
cmp dword [esi + 0x14], ebx
ja 0x4600f9
push 1
push 0x1a
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
push 0x11
push str.wallpaper_update
mov eax, esi
call fcn.00409900
cmp dword [esi + 0x18], 0x10
jb 0x46010f
mov edi, dword [edi]
push edi
call fcn.004610e0
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x11c
ret
Function at 0x460d20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004c8f08
add esp, 0x210
ret

Function at 0x460d90
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4ed722
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x234]
xor edi, edi
push 0x208
lea eax, [esp + 0x1c]
mov dword [esp + 0x230], edi
mov esi, ecx
push edi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
call fcn.004d1df0
add esp, 0xc
push edi
push 0x1a
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
lea eax, [esp + 0x18]
mov word [esi + 4], dx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x460e20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00401760
mov eax, ebx
mov dword [esp + 0x22c], edi
mov dword [esp + 0x10], 1
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x460e50
sub eax, edx
sar eax, 1
push eax
push ebx
mov eax, esi
call fcn.004088a0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004c8f08
add esp, 0x220
ret