joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f630
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x47f648
mov eax, dword [eax + 4]
jmp 0x47f64b
add eax, 4
push eax
push 1
push str.ShowRightSide_trash
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x47f674
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x1c
ret

Function at 0x47f680
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x47f698
mov eax, dword [eax + 4]
jmp 0x47f69b
add eax, 4
push eax
push 1
push str.EnableMinWhenClose
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x47f6c4
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x1c
ret

Function at 0x47f6d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x47f6e8
mov eax, dword [eax + 4]
jmp 0x47f6eb
add eax, 4
push eax
push 0
push str.DisableListAutoLayout
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x47f714
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x1c
ret

Function at 0x47f770
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ef252
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x250]
xor ebx, ebx
push 0x206
mov dword [esp + 0x24c], ebx
lea ecx, [esp + 0x3a]
xor eax, eax
push ebx
mov dword [esp + 0x18], ebx
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x40], ax
call fcn.004d1df0
add esp, 0xc
push ebx
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x4feab8
mov esi, edi
mov word [edi + 4], dx
call fcn.00401760
mov dword [esp + 0x248], ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x10], 1
call fcn.0047fd60
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x47f820
mov eax, dword [eax + 4]
jmp 0x47f823
add eax, 4
push eax
push 0x104
lea eax, [esp + 0x3c]
push eax
push 0x4feab8
push ebp
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [esp + 0x30], esi
jb 0x47f852
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004c8f17
add esp, 4
lea eax, [esp + 0x34]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f860
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x38]
push edx
mov esi, edi
call fcn.00401760
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x23c
ret
Function at 0x47f8b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x47f8c8
mov eax, dword [eax + 4]
jmp 0x47f8cb
add eax, 4
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x47f8f7
mov edx, dword [esp + 8]
push edx
call fcn.004c8f17
add esp, 4
mov eax, esi
pop esi
add esp, 0x1c
ret

Function at 0x47f900
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push esi
lea esi, [esp + 8]
call fcn.0047fd60
cmp dword [esp + 0x20], 8
mov esi, dword [esp + 0xc]
jae 0x47f92c
lea esi, [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47f950
push eax
push eax
push 1
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x47f950
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x47f95f
lea eax, [esp + 0xc]
push eax
push ebx
push edi
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x20], 8
pop esi
pop ebx
jb 0x47f983
mov eax, dword [esp + 4]
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x20
ret

Function at 0x47f9a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x228
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.004d1df0
mov edx, dword [esp + 0x23c]
push edx
lea eax, [esp + 0x30]
push 0x504e9c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [esp + 0x1c], 8
mov esi, dword [esp + 8]
jae 0x47f9ff
lea esi, [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47fa23
push eax
push eax
push 1
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x47fa23
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
pop esi
jae 0x47fa33
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x18], 8
jb 0x47fa59
mov edx, dword [esp + 4]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004c8f08
add esp, 0x228
ret
Function at 0x47fb40
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ed119
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, ecx
mov dword [esp + 0x10], 0
lea edi, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x14], esi
mov word [edi], ax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 1
cmp word [0x534950], ax
jne 0x47fbfb
push eax
push 0x1a
push 0x534950
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, 0x534950
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fbc0
sub eax, edx
sar eax, 1
push eax
push 0x534950
call fcn.00401760
push 0xd
push str.DtlWallPaper
mov eax, esi
call fcn.004088a0
cmp dword [esi + 0x18], 8
jb 0x47fbf0
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x47fc2b
mov eax, 0x534950
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fc03
sub eax, edx
sar eax, 1
push eax
push 0x534950
call fcn.00401760
push 0xd
push str.DtlWallPaper
mov eax, esi
call fcn.004088a0
cmp word [ebp], 0x5c
je 0x47fc40
push 1
push 0x4fea60
mov eax, esi
call fcn.004088a0
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fc45
sub eax, edx
sar eax, 1
push eax
push ebp
mov eax, esi
call fcn.004088a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x47fc80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4f02d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
push 0xa
xor eax, eax
push str.WallPaper_
lea esi, [esp + 0x18]
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00401760
mov eax, edi
mov dword [esp + 0x38], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fcf0
sub eax, edx
sar eax, 1
push eax
push edi
lea eax, [esp + 0x18]
call fcn.004088a0
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x47fd1d
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0047fb40
add esp, 4
cmp dword [esp + 0x28], esi
jb 0x47fd3b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c8f17
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8f08
add esp, 0x30
ret
Function at 0x480630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f1f38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
push 9
push str.__Select_
lea esi, [esp + 0x10]
mov dword [esp + 0x38], eax
call fcn.00401760
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480690
sub eax, edx
sar eax, 1
push eax
push edi
lea eax, [esp + 0x10]
call fcn.004088a0
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0x4806bd
lea eax, [esp + 0xc]
push 0xa
push 0
push eax
push str.Explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x20], esi
jb 0x4806e7
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2c
ret
Function at 0x480950
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4ed298
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
xor edx, edx
mov eax, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4809c0
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x28]
call fcn.00401760
mov dword [esp + 0x48], 0
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x4809f1
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x480a86
push esi
call fcn.004c85fa
add esp, 4
cmp dword [esp + 0x38], 8
mov edi, eax
mov eax, dword [esp + 0x24]
jae 0x480a20
lea eax, [esp + 0x24]
push edi
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x480a7d
lea eax, [edi + 6]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480a34
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0xb]
and eax, 0xfffffffc
movzx edx, word [eax + edi + 8]
movzx ecx, word [eax + edi + 0xe]
movzx esi, word [eax + edi + 0xa]
add eax, edi
movzx eax, word [eax + 0xc]
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
movzx ecx, cx
mov dword [eax], ecx
movzx ecx, dx
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
movzx eax, si
mov dword [ecx], eax
push edi
call fcn.004ca215
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x480a9a
mov edx, dword [esp + 0x24]
push edx
call fcn.004c8f17
add esp, 4
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x3c
ret
Function at 0x480ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x9c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa0]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.UnionID
push esi
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x480b28
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004c8f08
add esp, 0x9c
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
cmp eax, 3
jne 0x480b58
mov eax, dword [esp + 4]
test eax, eax
je 0x480b8d
push eax
lea eax, [esp + 0x1c]
push eax
push 8
lea ecx, [esp + 0x14]
push ecx
jmp 0x480b85
cmp eax, 4
mov eax, dword [esp + 4]
jne 0x480b74
test eax, eax
je 0x480b8d
push eax
lea edx, [esp + 0x1c]
push edx
push 8
lea eax, [esp + 0x14]
push eax
jmp 0x480b85
test eax, eax
je 0x480b8d
push eax
lea ecx, [esp + 0x1c]
push ecx
push 8
lea edx, [esp + 0x14]
push edx
call fcn.004c9253
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.004c8f08
add esp, 0x9c
ret

Function at 0x480d20
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x480d38
mov eax, dword [eax + 4]
jmp 0x480d3b
add eax, 4
push eax
push 0
push str.openrili_set
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x480d64
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x1c
ret

Function at 0x480d90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x480da8
mov eax, dword [eax + 4]
jmp 0x480dab
add eax, 4
push eax
push 0
push str.hidedesktopicontips
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x480dd4
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x1c
ret
Function at 0x4811a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x4811b8
mov eax, dword [eax + 4]
jmp 0x4811bb
add eax, 4
push eax
push 0
push str.LastSkinIsColor
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x4811e4
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x1c
ret

Function at 0x4811f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x481208
mov eax, dword [eax + 4]
jmp 0x48120b
add eax, 4
push eax
push 0xf8b735
push str.skinColor
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x481237
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
mov eax, esi
pop esi
add esp, 0x1c
ret

Function at 0x481240
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1c
push esi
lea esi, [esp + 4]
call fcn.0047fd60
cmp dword [eax + 0x18], 8
jb 0x481258
mov eax, dword [eax + 4]
jmp 0x48125b
add eax, 4
push eax
push 0
push str.SkinAlpha
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x481284
mov eax, dword [esp + 8]
push eax
call fcn.004c8f17
add esp, 4
mov eax, esi
test esi, esi
jle 0x48129e
cmp esi, 0xa
jge 0x481299
mov eax, 0xa
pop esi
add esp, 0x1c
ret
cmp esi, 0x64
jle 0x4812a3
mov eax, 0x64
pop esi
add esp, 0x1c
ret
Function at 0x481700
Capabilities:
Access peb ldr_data
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4f02d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, str.Resource.2.0.0.00SkinConfiglocalLogo
lea edi, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.0047e4c0
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x14]
mov edi, 8
cmp dword [esp + 0x28], edi
jae 0x48175b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48177c
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], edi
jae 0x481774
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea ecx, [esp + 0x18]
mov word [esi + 4], ax
push ecx
mov eax, esi
call fcn.00401850
cmp dword [esp + 0x28], edi
jb 0x4817ae
mov edx, dword [esp + 0x14]
push edx
call fcn.004c8f17
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8f08
add esp, 0x30
ret

Function at 0x4817d0
Capabilities:
Access peb ldr_data
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4f02d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, str.Resource.2.0.0.00LocalTheme
lea edi, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.0047e4c0
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x14]
mov edi, 8
cmp dword [esp + 0x28], edi
jae 0x48182b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48184c
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], edi
jae 0x481844
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea ecx, [esp + 0x18]
mov word [esi + 4], ax
push ecx
mov eax, esi
call fcn.00401850
cmp dword [esp + 0x28], edi
jb 0x48187e
mov edx, dword [esp + 0x14]
push edx
call fcn.004c8f17
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8f08
add esp, 0x30
ret
Function at 0x4824d0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push 0
push 0
push 1
push 0
mov dword [ebx], 5
call esi
push 0
push 0
push 1
push 0
mov dword [ebx + 0x40], eax
call esi
push 0
push 0x7fffffff
push 0
push 0
mov dword [ebx + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebx + 0x48], eax
lea esi, [ebx + 8]
mov dword [esp + 0x24], 5
push 0
push 0
push ebx
push 0x482930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x482543
xor edx, edx
jmp 0x48254b
mov edx, dword [esi + 0x14]
sub edx, ecx
sar edx, 2
mov edi, dword [esi + 0x10]
mov ebp, edi
sub ebp, ecx
sar ebp, 2
cmp ebp, edx
jae 0x482563
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x482581
cmp ecx, edi
jbe 0x48256c
call fcn.004c96d9
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, esi
call fcn.00463820
sub dword [esp + 0x24], 1
jne 0x482520
pop edi
pop esi
pop ebp
mov byte [ebx + 4], 1
pop ebx
add esp, 0x10
ret 4

Function at 0x482a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f01c8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov byte [esi + 8], bl
mov dword [esi + 4], ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.CWindowEffectAnimationScale.0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov ecx, 0x50b85c
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x20], 1
call fcn.004829c0
mov ecx, str.res_animation_aero_close_hover.png
mov dword [esi + 0x34], eax
call fcn.004829c0
mov ecx, str.res_animation_aero_close_down.png
mov dword [esi + 0x3c], eax
call fcn.004829c0
mov dword [esi + 0x38], eax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x482ff0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [0x532fe0]
xor al, al
test ecx, ecx
je 0x483005
lea eax, [edi + 0x14]
push eax
call ecx
mov byte [edi + 0x80], al
test al, al
jne 0x483056
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push 0
push 1
push 0x50a1bc
call esi
test eax, eax
jne 0x483055
push eax
push 1
push str.http:__www.qq.com
call esi
test eax, eax
jne 0x483055
push eax
push 1
push str.http:__www.160.com
call esi
test eax, eax
jne 0x483055
mov ecx, dword [edi + 0x84]
mov edx, dword [edi + 8]
push edi
push ecx
push edx
call fcn.004735b0
add esp, 0xc
pop esi
pop edi
ret
Function at 0x483180
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 ebx
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ebx
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x48326a
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x34], 0
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x4831ee
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x483256
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ebx
mov ecx, esi
call edx
test al, al
je 0x48320c
mov byte [edi], 2
jmp 0x483256
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x48321b
lea eax, [esp + 0x10]
push eax
call fcn.00448d50
mov dword [edi + 8], eax
mov ecx, dword [eax + 8]
add esp, 4
mov dword [eax + 8], 0
test ecx, ecx
je 0x48324b
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x483244
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
neg eax
sbb al, al
and al, 2
mov byte [edi], al
cmp dword [esp + 0x24], 8
jb 0x48326a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2c
ret 4