joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebp
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x401036
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push eax
call fcn.004c61e0
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push esi
push ecx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401094
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x51924c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401094
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
mov word [edi], cx
movzx ecx, word [eax + 0xe]
mov word [edi + 2], dx
movzx edx, word [eax + 0xc]
mov word [edi + 4], cx
mov word [edi + 6], dx
mov byte [esp + 0xf], 1
cmp esi, ebx
je 0x4010a1
push esi
call fcn.004c6103
add esp, 4
mov al, byte [esp + 0xf]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4010b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004cd250
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x401109
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004c60f4
add esp, 0x214
ret
push edi
push 0x519250
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.004c6786
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x14]
call fcn.00401000
add esp, 0x10
pop edi
test al, al
je 0x4010f2
movzx ecx, word [esp + 4]
movzx edx, word [esp]
movzx eax, word [esp + 2]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 4], edx
xor edx, edx
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], dx
mov al, 1
call fcn.004c60f4
add esp, 0x214
ret

Function at 0x401890
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp byte [edi + 0x112], 0
push esi
lea esi, [edi + 4]
mov eax, esi
jne 0x4018a5
mov eax, dword [esi + 0x108]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x10e], 0
jne 0x4018c3
mov esi, dword [esi + 0x108]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4018e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
call fcn.00401640
test al, al
sete al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x4018f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x800], eax
push edi
mov edi, dword [esp + 0x80c]
push 0x541d10
push edi
call fcn.004c63ab
add esp, 8
test eax, eax
jne 0x401a59
mov eax, 0x4000
test word [0x541d16], ax
je 0x401a52
push esi
push edi
push str._s.
lea edx, [esp + 0x10]
call fcn.004023b0
add esp, 8
push 0x541ac0
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401a2a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
mov ecx, 0x5192cc
mov eax, 0x541aec
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4019a6
test dx, dx
je 0x4019a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4019a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401980
xor eax, eax
jmp 0x4019ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a12
mov ecx, 0x5192d0
mov eax, 0x541aec
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4019e6
test dx, dx
je 0x4019e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4019e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4019c0
xor eax, eax
jmp 0x4019eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a12
push 0x541aec
push edi
push str._s_s
lea edx, [esp + 0x18]
call fcn.004023b0
lea edx, [esp + 0x18]
push 1
push edx
call fcn.004018f0
add esp, 0x14
push 0x541ac0
push esi
call ebx
test eax, eax
jne 0x401970
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
cmp byte [esp + 0x814], 0
pop esi
je 0x401a59
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004c60f4
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.004c60f4
add esp, 0x804
ret
Function at 0x401aa0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x50459b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
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 0x401af1
mov eax, dword [ebp + 0x108]
push 2
add eax, 4
push 0x51931c
push eax
call fcn.004c7005
add esp, 0xc
test eax, eax
je 0x401bf2
mov ecx, esi
call fcn.00401680
test al, al
je 0x401b27
cmp byte [esp + 0x144], 0
sete al
jmp 0x401bf4
lea edi, [esp + 0x14]
call fcn.004023d0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fa0
test al, al
je 0x401b6e
mov eax, edi
call fcn.004014a0
test al, al
jne 0x401b6e
push 0
mov ecx, edi
call fcn.00401aa0
test al, al
jne 0x401b6e
mov eax, edi
call fcn.00402520
xor al, al
jmp 0x401bf4
cmp byte [ebp + 0x10e], 0
mov eax, ebp
jne 0x401b7f
mov eax, dword [ebp + 0x108]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401bb4
cmp byte [esp + 0x126], al
jne 0x401bb0
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401bb0
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x401bf4
cmp byte [ebp + 0x10e], 0
jne 0x401bc3
mov ebp, dword [ebp + 0x108]
lea ecx, [ebp + 4]
call fcn.00401380
call fcn.00402040
cmp byte [esp + 0x126], 0
jne 0x401bf2
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x401bf2
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x12c
ret 4
Function at 0x401c20
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50459b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
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.004023d0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fa0
test al, al
je 0x401cba
push 0
mov ecx, edi
call fcn.00401aa0
test al, al
jne 0x401cba
cmp byte [esp + 0x126], al
jne 0x401cb3
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401cb3
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x401d8d
cmp byte [esi + 0x112], 0
lea edi, [esi + 4]
mov eax, edi
jne 0x401cce
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 0x401cf0
mov ecx, dword [edi + 0x108]
cmp byte [ebp + 0x112], 0
lea eax, [ebp + 4]
jne 0x401d02
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 0x401d31
cmp byte [esp + 0x126], al
jne 0x401cb3
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x401ca8
cmp byte [edi + 0x10e], 0
mov eax, edi
jne 0x401d42
mov eax, dword [edi + 0x108]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x10e], 0
jne 0x401d5c
mov edi, dword [edi + 0x108]
lea ecx, [edi + 4]
call fcn.00401380
call fcn.00402040
cmp byte [esp + 0x126], 0
jne 0x401d8b
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401d8b
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x12c
ret 4
Function at 0x401dc0
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50459b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
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.004023d0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fa0
test al, al
je 0x401e5a
push 0
mov ecx, edi
call fcn.00401aa0
test al, al
jne 0x401e5a
cmp byte [esp + 0x126], al
jne 0x401e53
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401e53
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x401f0c
cmp byte [esi + 0x112], 0
lea edi, [esi + 4]
mov ecx, edi
jne 0x401e6e
mov ecx, dword [edi + 0x108]
cmp byte [ebp + 0x112], 0
lea eax, [ebp + 4]
jne 0x401e80
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 0x401eac
cmp byte [esp + 0x126], al
jne 0x401e53
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x401e48
cmp byte [edi + 0x10e], 0
mov eax, edi
jne 0x401ebd
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 0x401edb
mov edi, dword [edi + 0x108]
lea ecx, [edi + 4]
call fcn.00401380
call fcn.00402040
cmp byte [esp + 0x126], 0
jne 0x401f0a
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401f0a
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x12c
ret 4
Function at 0x405c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5026d8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5375a0]
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.004c61e0
mov dword [eax + 0x24], fcn.004c83aa
mov dword [eax + 0x28], fcn.004c6103
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 0x406020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5026d8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5375a0]
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.004c61e0
mov dword [eax + 0x24], fcn.004c83aa
mov dword [eax + 0x28], fcn.004c6103
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 0x40a020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x502ab3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
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 + 0x34]
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
mov dword [esi + 0x30], ebx
call fcn.004023d0
lea edi, [esi + 0x14c]
mov dword [esp + 0x24], ebx
call fcn.004023d0
lea edi, [esi + 0x264]
call fcn.004023d0
lea edi, [esi + 0x37c]
call fcn.004023d0
lea edi, [esi + 0x494]
call fcn.004023d0
lea ecx, [esi + 0x5b0]
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 + 0x7c4]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], fcn.004c61e0
mov dword [edi + 0x14], fcn.004c83aa
mov dword [edi + 0x18], fcn.004c6103
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 0x40a117
lea ecx, [esp + 0x10]
call fcn.00437f10
mov dword [esi + 0x5ac], ebx
call fcn.00413440
lea ecx, [esp + 0x10]
call fcn.00437e60
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 0x40f5f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5051c1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
call fcn.0043dfe0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x40f66d
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40f66d
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40f66d
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.00438ae0
mov eax, esi
lea edx, [esp + 0x14]
call fcn.00438d30
mov dword [esp + 0x264], 1
cmp dword [esp + 0x18], 0
je 0x40f6f7
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x40f6a5
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 4]
lea edi, [esp + 0x13c]
call fcn.004024b0
mov eax, str.SogouInputComponentsPicface
mov esi, edi
mov byte [esp + 0x264], 2
call fcn.00401520
cmp dword [esp + 0x13c], 0
jne 0x40f722
cmp byte [esp + 0x24e], 0
jne 0x40f6f7
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40f6f7
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40f71e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40f71e
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x40f7a0
push 0
lea ecx, [esp + 0x140]
call fcn.00401aa0
cmp byte [esp + 0x24e], 0
lea eax, [esp + 0x140]
jne 0x40f748
mov eax, dword [esp + 0x248]
add eax, 4
mov edx, ebp
call fcn.00402540
cmp byte [esp + 0x24e], 0
jne 0x40f777
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40f777
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40f79e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40f79e
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x254
ret 4
Function at 0x40f7d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5051c1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
call fcn.0043dfe0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x40f84d
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40f84d
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x40f84d
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.00438ae0
mov eax, esi
lea edx, [esp + 0x14]
call fcn.00438d30
mov dword [esp + 0x264], 1
cmp dword [esp + 0x18], 0
je 0x40f8d7
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x40f885
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 4]
lea edi, [esp + 0x13c]
call fcn.004024b0
mov eax, str.SogouInputComponentsPicfaceJson
mov esi, edi
mov byte [esp + 0x264], 2
call fcn.00401520
cmp dword [esp + 0x13c], 0
jne 0x40f902
cmp byte [esp + 0x24e], 0
jne 0x40f8d7
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40f8d7
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40f8fe
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40f8fe
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x40f980
push 0
lea ecx, [esp + 0x140]
call fcn.00401aa0
cmp byte [esp + 0x24e], 0
lea eax, [esp + 0x140]
jne 0x40f928
mov eax, dword [esp + 0x248]
add eax, 4
mov edx, ebp
call fcn.00402540
cmp byte [esp + 0x24e], 0
jne 0x40f957
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x40f957
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x40f97e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x40f97e
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x254
ret 4
Function at 0x40f9b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50516b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
mov eax, dword [0x5375a0]
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.004cd250
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.00401520
mov eax, 0x51b604
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x40fa91
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x40fa86
or ecx, 0xffffffff
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 1
mov dword [eax + 0x10], ecx
mov dword [eax], 0
jmp 0x40fa88
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x40fa91
mov eax, dword [eax + 0x10]
push eax
push 0x51a034
lea edx, [esp + 0x14]
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x40fab8
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x40fb0b
mov ecx, edi
call fcn.00437ec0
push 0x51b618
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40fb07
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40fb07
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x40fb6e
mov ecx, esi
call fcn.00401680
test al, al
jne 0x40fb45
cmp byte [esp + 0x354], al
je 0x40fb45
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x40fb45
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x40fb6e
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40fb6c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40fb6c
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x348
ret 4
Function at 0x40fba0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50516b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
mov eax, dword [0x5375a0]
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.004cd250
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.00401520
mov eax, str.ToolPicFace
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x40fc81
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x40fc76
or ecx, 0xffffffff
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 1
mov dword [eax + 0x10], ecx
mov dword [eax], 0
jmp 0x40fc78
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x40fc81
mov eax, dword [eax + 0x10]
push eax
push 0x51a034
lea edx, [esp + 0x14]
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x40fca8
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x40fcfb
mov ecx, edi
call fcn.00437ec0
push 0x51b618
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40fcf7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40fcf7
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x40fd5e
mov ecx, esi
call fcn.00401680
test al, al
jne 0x40fd35
cmp byte [esp + 0x354], al
je 0x40fd35
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x40fd35
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x40fd5e
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40fd5c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40fd5c
push eax
call fcn.004c6103
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.004c60f4
add esp, 0x348
ret 4