joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401910
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x800], eax
push edi
mov edi, dword [esp + 0x80c]
push 0x5400d0
push edi
call fcn.004c3458
add esp, 8
test eax, eax
jne 0x401a79
mov eax, 0x4000
test word [0x5400d6], ax
je 0x401a72
push esi
push edi
push str._s.
lea edx, [esp + 0x10]
call fcn.004023d0
add esp, 8
push 0x53fe80
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401a4a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
mov ecx, 0x5161e4
mov eax, 0x53feac
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4019c6
test dx, dx
je 0x4019c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4019c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4019a0
xor eax, eax
jmp 0x4019cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a32
mov ecx, 0x5161e8
mov eax, 0x53feac
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401a06
test dx, dx
je 0x401a02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401a06
add eax, 4
add ecx, 4
test dx, dx
jne 0x4019e0
xor eax, eax
jmp 0x401a0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a32
push 0x53feac
push edi
push 0x516224
lea edx, [esp + 0x18]
call fcn.004023d0
lea edx, [esp + 0x18]
push 1
push edx
call fcn.00401910
add esp, 0x14
push 0x53fe80
push esi
call ebx
test eax, eax
jne 0x401990
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
cmp byte [esp + 0x814], 0
pop esi
je 0x401a79
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004c31a1
add esp, 0x804
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
pop edi
xor ecx, esp
call fcn.004c31a1
add esp, 0x804
ret
Function at 0x401ac0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x50294b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x112], 0
lea ebp, [esi + 4]
mov eax, ebp
jne 0x401b11
mov eax, dword [ebp + 0x108]
push 2
add eax, 4
push 0x516234
push eax
call fcn.004c40b2
add esp, 0xc
test eax, eax
je 0x401c12
mov ecx, esi
call fcn.004016a0
test al, al
je 0x401b47
cmp byte [esp + 0x144], 0
sete al
jmp 0x401c14
lea edi, [esp + 0x14]
call fcn.004023f0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fc0
test al, al
je 0x401b8e
mov eax, edi
call fcn.004014c0
test al, al
jne 0x401b8e
push 0
mov ecx, edi
call fcn.00401ac0
test al, al
jne 0x401b8e
mov eax, edi
call fcn.004014a0
xor al, al
jmp 0x401c14
cmp byte [ebp + 0x10e], 0
mov eax, ebp
jne 0x401b9f
mov eax, dword [ebp + 0x108]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401bd4
cmp byte [esp + 0x126], al
jne 0x401bd0
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401bd0
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x401c14
cmp byte [ebp + 0x10e], 0
jne 0x401be3
mov ebp, dword [ebp + 0x108]
lea ecx, [ebp + 4]
call fcn.00401380
call fcn.00402060
cmp byte [esp + 0x126], 0
jne 0x401c12
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x401c12
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004c31a1
add esp, 0x12c
ret 4
Function at 0x401c40
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50294b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x144]
lea edi, [esp + 0x14]
mov esi, ecx
call fcn.004023f0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fc0
test al, al
je 0x401cda
push 0
mov ecx, edi
call fcn.00401ac0
test al, al
jne 0x401cda
cmp byte [esp + 0x126], al
jne 0x401cd3
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401cd3
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x401dad
cmp byte [esi + 0x112], 0
lea edi, [esi + 4]
mov eax, edi
jne 0x401cee
mov eax, dword [edi + 0x108]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x10e], 0
mov ecx, edi
jne 0x401d10
mov ecx, dword [edi + 0x108]
cmp byte [ebp + 0x112], 0
lea eax, [ebp + 4]
jne 0x401d22
mov eax, dword [eax + 0x108]
push 0
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x401d51
cmp byte [esp + 0x126], al
jne 0x401cd3
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x401cc8
cmp byte [edi + 0x10e], 0
mov eax, edi
jne 0x401d62
mov eax, dword [edi + 0x108]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x10e], 0
jne 0x401d7c
mov edi, dword [edi + 0x108]
lea ecx, [edi + 4]
call fcn.00401380
call fcn.00402060
cmp byte [esp + 0x126], 0
jne 0x401dab
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401dab
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004c31a1
add esp, 0x12c
ret 4
Function at 0x401de0
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50294b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x144]
lea edi, [esp + 0x14]
mov esi, ecx
call fcn.004023f0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fc0
test al, al
je 0x401e7a
push 0
mov ecx, edi
call fcn.00401ac0
test al, al
jne 0x401e7a
cmp byte [esp + 0x126], al
jne 0x401e73
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401e73
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x401f2c
cmp byte [esi + 0x112], 0
lea edi, [esi + 4]
mov ecx, edi
jne 0x401e8e
mov ecx, dword [edi + 0x108]
cmp byte [ebp + 0x112], 0
lea eax, [ebp + 4]
jne 0x401ea0
mov eax, dword [eax + 0x108]
push 0xb
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x401ecc
cmp byte [esp + 0x126], al
jne 0x401e73
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x401e68
cmp byte [edi + 0x10e], 0
mov eax, edi
jne 0x401edd
mov eax, dword [edi + 0x108]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [edi + 0x10e], 0
jne 0x401efb
mov edi, dword [edi + 0x108]
lea ecx, [edi + 4]
call fcn.00401380
call fcn.00402060
cmp byte [esp + 0x126], 0
jne 0x401f2a
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401f2a
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004c31a1
add esp, 0x12c
ret 4
Function at 0x405a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff868
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.Cell
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004c328d
mov dword [eax + 0x24], fcn.004c53b2
mov dword [eax + 0x28], fcn.004c31b0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configSystemUpdateListFile::t_recommend_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x4ff868
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.Cell
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004c328d
mov dword [eax + 0x24], fcn.004c53b2
mov dword [eax + 0x28], fcn.004c31b0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configSystemCloudPicListFile::t_recommend_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x40a090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ffdf3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
lea edi, [esi + 0x30]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004023f0
lea edi, [esi + 0x148]
mov dword [esp + 0x24], ebx
call fcn.004023f0
lea edi, [esi + 0x260]
call fcn.004023f0
lea edi, [esi + 0x378]
call fcn.004023f0
lea edi, [esi + 0x490]
call fcn.004023f0
lea ecx, [esi + 0x5ac]
xor eax, eax
mov dword [ecx], vtable.t_mutex.0
mov dword [ecx + 4], ebx
mov dword [ecx + 0x210], 1
mov word [ecx + 8], ax
lea edi, [esi + 0x7c0]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], fcn.004c328d
mov dword [edi + 0x14], fcn.004c53b2
mov dword [edi + 0x18], fcn.004c31b0
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 7
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push str.LocalInstall_PicFace_Proc_Mutex
lea eax, [esp + 0x14]
push eax
call edx
test al, al
jne 0x40a184
lea ecx, [esp + 0x10]
call fcn.00433e00
mov dword [esi + 0x5a8], ebx
call fcn.004109b0
lea ecx, [esp + 0x10]
call fcn.00433d50
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x40d3f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5028b1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
call fcn.0043d5c0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x40d46d
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40d46d
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40d46d
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.004349d0
mov eax, esi
lea edx, [esp + 0x14]
call fcn.00434c20
mov dword [esp + 0x264], 1
cmp dword [esp + 0x18], 0
je 0x40d4f7
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x40d4a5
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 4]
lea edi, [esp + 0x13c]
call fcn.004024d0
mov eax, str.SogouInputComponentsPicface
mov esi, edi
mov byte [esp + 0x264], 2
call fcn.00401540
cmp dword [esp + 0x13c], 0
jne 0x40d522
cmp byte [esp + 0x24e], 0
jne 0x40d4f7
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40d4f7
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40d51e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40d51e
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40d5a0
push 0
lea ecx, [esp + 0x140]
call fcn.00401ac0
cmp byte [esp + 0x24e], 0
lea eax, [esp + 0x140]
jne 0x40d548
mov eax, dword [esp + 0x248]
add eax, 4
mov edx, ebp
call fcn.00402540
cmp byte [esp + 0x24e], 0
jne 0x40d577
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40d577
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40d59e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40d59e
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004c31a1
add esp, 0x254
ret 4
Function at 0x40d5d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5028b1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
call fcn.0043d5c0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x40d64d
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40d64d
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40d64d
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.004349d0
mov eax, esi
lea edx, [esp + 0x14]
call fcn.00434c20
mov dword [esp + 0x264], 1
cmp dword [esp + 0x18], 0
je 0x40d6d7
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x40d685
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 4]
lea edi, [esp + 0x13c]
call fcn.004024d0
mov eax, str.SogouInputComponentsPicfaceJson
mov esi, edi
mov byte [esp + 0x264], 2
call fcn.00401540
cmp dword [esp + 0x13c], 0
jne 0x40d702
cmp byte [esp + 0x24e], 0
jne 0x40d6d7
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40d6d7
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40d6fe
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40d6fe
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40d780
push 0
lea ecx, [esp + 0x140]
call fcn.00401ac0
cmp byte [esp + 0x24e], 0
lea eax, [esp + 0x140]
jne 0x40d728
mov eax, dword [esp + 0x248]
add eax, 4
mov edx, ebp
call fcn.00402540
cmp byte [esp + 0x24e], 0
jne 0x40d757
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40d757
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40d77e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40d77e
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004c31a1
add esp, 0x254
ret 4
Function at 0x40d7b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50285b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x13e]
push ecx
mov word [esp + 0x140], ax
call fcn.004cab10
add esp, 0xc
lea edx, [esp + 0x134]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x134]
mov edx, esi
call fcn.00402540
mov eax, str.SGPicFaceTpBq
call fcn.00401540
mov eax, 0x517f94
call fcn.00401540
lea ecx, [esp + 0xc]
call fcn.004349d0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53d9d8]
test eax, eax
jne 0x40d898
push 0x18
call fcn.004c688d
add esp, 4
test eax, eax
je 0x40d88d
or ecx, 0xffffffff
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 1
mov dword [eax + 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x40d88f
xor eax, eax
mov dword [0x53d9d8], eax
test eax, eax
jne 0x40d898
mov eax, dword [eax + 0x14]
push eax
push 0x516dbc
lea edx, [esp + 0x14]
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x40d8bf
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401540
cmp dword [esi], 0
jne 0x40d912
mov ecx, edi
call fcn.00433db0
push 0x517fa8
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40d90e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40d90e
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40d975
mov ecx, esi
call fcn.004016a0
test al, al
jne 0x40d94c
cmp byte [esp + 0x354], al
je 0x40d94c
push 1
mov ecx, esi
call fcn.00401ac0
test al, al
jne 0x40d94c
push 0x517fa8
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00434b70
xor al, al
jmp 0x40d975
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40d973
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40d973
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.004c31a1
add esp, 0x348
ret 4
Function at 0x40d9a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50285b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x13e]
push ecx
mov word [esp + 0x140], ax
call fcn.004cab10
add esp, 0xc
lea edx, [esp + 0x134]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x134]
mov edx, esi
call fcn.00402540
mov eax, str.SGPicFaceTpBq
call fcn.00401540
mov eax, str.ToolPicFace
call fcn.00401540
lea ecx, [esp + 0xc]
call fcn.004349d0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53d9d8]
test eax, eax
jne 0x40da88
push 0x18
call fcn.004c688d
add esp, 4
test eax, eax
je 0x40da7d
or ecx, 0xffffffff
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 1
mov dword [eax + 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x40da7f
xor eax, eax
mov dword [0x53d9d8], eax
test eax, eax
jne 0x40da88
mov eax, dword [eax + 0x14]
push eax
push 0x516dbc
lea edx, [esp + 0x14]
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x40daaf
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401540
cmp dword [esi], 0
jne 0x40db02
mov ecx, edi
call fcn.00433db0
push 0x517fa8
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40dafe
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40dafe
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40db65
mov ecx, esi
call fcn.004016a0
test al, al
jne 0x40db3c
cmp byte [esp + 0x354], al
je 0x40db3c
push 1
mov ecx, esi
call fcn.00401ac0
test al, al
jne 0x40db3c
push 0x517fa8
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00434b70
xor al, al
jmp 0x40db65
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40db63
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40db63
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.004c31a1
add esp, 0x348
ret 4
Function at 0x40ddf0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50285b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x13e]
push ecx
mov word [esp + 0x140], ax
call fcn.004cab10
add esp, 0xc
lea edx, [esp + 0x134]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x134]
mov edx, esi
call fcn.00402540
mov eax, str.SGPicFaceTpBq
call fcn.00401540
mov eax, str.SysCell
call fcn.00401540
lea ecx, [esp + 0xc]
call fcn.004349d0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53d9d8]
test eax, eax
jne 0x40ded8
push 0x18
call fcn.004c688d
add esp, 4
test eax, eax
je 0x40decd
or ecx, 0xffffffff
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 1
mov dword [eax + 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x40decf
xor eax, eax
mov dword [0x53d9d8], eax
test eax, eax
jne 0x40ded8
mov eax, dword [eax + 0x14]
push eax
push 0x516dbc
lea edx, [esp + 0x14]
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x40deff
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401540
cmp dword [esi], 0
jne 0x40df52
mov ecx, edi
call fcn.00433db0
push 0x517fa8
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40df4e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40df4e
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40dfb5
mov ecx, esi
call fcn.004016a0
test al, al
jne 0x40df8c
cmp byte [esp + 0x354], al
je 0x40df8c
push 1
mov ecx, esi
call fcn.00401ac0
test al, al
jne 0x40df8c
push 0x517fa8
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00434b70
xor al, al
jmp 0x40dfb5
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40dfb3
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40dfb3
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.004c31a1
add esp, 0x348
ret 4
Function at 0x40dfe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50285b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x13e]
push ecx
mov word [esp + 0x140], ax
call fcn.004cab10
add esp, 0xc
lea edx, [esp + 0x134]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x134]
mov edx, esi
call fcn.00402540
mov eax, str.SGPicFaceTpBq
call fcn.00401540
mov eax, str.CloudCell
call fcn.00401540
lea ecx, [esp + 0xc]
call fcn.004349d0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53d9d8]
test eax, eax
jne 0x40e0c8
push 0x18
call fcn.004c688d
add esp, 4
test eax, eax
je 0x40e0bd
or ecx, 0xffffffff
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 1
mov dword [eax + 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x40e0bf
xor eax, eax
mov dword [0x53d9d8], eax
test eax, eax
jne 0x40e0c8
mov eax, dword [eax + 0x14]
push eax
push 0x516dbc
lea edx, [esp + 0x14]
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x40e0ef
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401540
cmp dword [esi], 0
jne 0x40e142
mov ecx, edi
call fcn.00433db0
push 0x517fa8
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40e13e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40e13e
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40e1a5
mov ecx, esi
call fcn.004016a0
test al, al
jne 0x40e17c
cmp byte [esp + 0x354], al
je 0x40e17c
push 1
mov ecx, esi
call fcn.00401ac0
test al, al
jne 0x40e17c
push 0x517fa8
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00434b70
xor al, al
jmp 0x40e1a5
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40e1a3
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40e1a3
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.004c31a1
add esp, 0x348
ret 4