joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410120
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.SysCell
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x410201
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x4101f6
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 0x4101f8
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x410201
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 0x410228
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x41027b
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 0x410277
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x410277
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x4102de
mov ecx, esi
call fcn.00401680
test al, al
jne 0x4102b5
cmp byte [esp + 0x354], al
je 0x4102b5
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x4102b5
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x4102de
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x4102dc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x4102dc
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 0x410310
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.QQPackage
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x4103f1
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x4103e6
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 0x4103e8
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x4103f1
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 0x410418
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x41046b
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 0x410467
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x410467
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x4104ce
mov ecx, esi
call fcn.00401680
test al, al
jne 0x4104a5
cmp byte [esp + 0x354], al
je 0x4104a5
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x4104a5
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x4104ce
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x4104cc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x4104cc
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 0x410500
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.CloudCell
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x4105e1
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x4105d6
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 0x4105d8
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x4105e1
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 0x410608
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x41065b
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 0x410657
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x410657
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x4106be
mov ecx, esi
call fcn.00401680
test al, al
jne 0x410695
cmp byte [esp + 0x354], al
je 0x410695
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x410695
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x4106be
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x4106bc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x4106bc
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 0x4106f0
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.UserCell
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x4107d1
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x4107c6
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 0x4107c8
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x4107d1
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 0x4107f8
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x41084b
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 0x410847
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x410847
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x4108ae
mov ecx, esi
call fcn.00401680
test al, al
jne 0x410885
cmp byte [esp + 0x354], al
je 0x410885
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x410885
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x4108ae
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x4108ac
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x4108ac
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 0x4108e0
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.PkgMapZip
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x4109c1
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x4109b6
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 0x4109b8
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x4109c1
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 0x4109e8
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x410a3b
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 0x410a37
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x410a37
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x410a9e
mov ecx, esi
call fcn.00401680
test al, al
jne 0x410a75
cmp byte [esp + 0x354], al
je 0x410a75
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x410a75
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x410a9e
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x410a9c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x410a9c
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 0x412aa0
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.CandBlackList
call fcn.00401520
lea ecx, [esp + 0xc]
call fcn.00438ae0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53f614]
test eax, eax
jne 0x412b81
push 0x14
call fcn.004c98d1
add esp, 4
test eax, eax
je 0x412b76
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 0x412b78
xor eax, eax
mov dword [0x53f614], eax
test eax, eax
jne 0x412b81
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 0x412ba8
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401520
cmp dword [esi], 0
jne 0x412bfb
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 0x412bf7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x412bf7
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x412c5e
mov ecx, esi
call fcn.00401680
test al, al
jne 0x412c35
cmp byte [esp + 0x354], al
je 0x412c35
push 1
mov ecx, esi
call fcn.00401aa0
test al, al
jne 0x412c35
push 0x51b618
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00438c80
xor al, al
jmp 0x412c5e
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x412c5c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x412c5c
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 0x412ee0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x504498
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x160]
mov esi, dword [esp + 0x15c]
mov edi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x3c], ebx
je 0x413093
lea eax, [esp + 0x44]
cmp byte [esp + 0x154], bl
jne 0x412f40
mov eax, dword [esp + 0x40]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x413093
shr eax, 4
not al
and al, 1
je 0x413093
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], ebx
call fcn.00436410
test al, al
je 0x41305b
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
je 0x41305b
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x44]
cmp byte [esp + 0x154], bl
jne 0x412f9b
mov eax, dword [esp + 0x40]
add eax, 4
push 0x51af78
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c86ad
add esp, 0xc
test eax, eax
jne 0x412ff4
push ebp
mov ecx, esi
call fcn.004034e0
mov esi, eax
cmp esi, ebx
je 0x412ff4
push ebp
push ebx
push esi
call fcn.004cd250
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push ebp
push 1
push esi
call fcn.004ca2b2
add esp, 0x10
cmp ebp, eax
je 0x41300e
mov edx, dword [esp + 0x14]
push edx
call fcn.004c94fc
add esp, 4
mov dword [esp + 0x14], ebx
push str.GetDataBufFromFile
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0x38]
call fcn.00438c80
jmp 0x4130d4
mov eax, dword [esp + 0x14]
push eax
call fcn.004c94fc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [ecx], esi
mov dword [esp + 0x14], ebx
mov dword [edx], ebp
lea ecx, [esp + 0x38]
cmp byte [esp + 0x164], bl
je 0x413052
push ebx
push ebx
push edi
call fcn.00436650
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00438c80
mov al, bl
jmp 0x4130d6
call fcn.00438c80
mov al, 1
jmp 0x4130d6
mov ecx, edi
call fcn.00437ec0
push str.GetDataBufFromFile
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
mov dword [esp + 0x38], vtable.t_str.0
cmp byte [esp + 0x154], bl
jne 0x4130d4
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
cmp eax, ecx
jmp 0x4130c9
mov ecx, edi
call fcn.00437ec0
push str.GetDataBufFromFile
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
mov dword [esp + 0x38], vtable.t_str.0
cmp byte [esp + 0x154], bl
jne 0x4130d4
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
cmp eax, edx
je 0x4130d4
push eax
call fcn.004c6103
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x130
Function at 0x414590
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5070cc
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x3a8]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x174]
mov dword [esp + 0x3b0], ebx
call fcn.004023d0
mov byte [esp + 0x3b0], 1
call fcn.0040a280
mov ecx, edi
push ebx
lea edi, [esp + 0x18]
call fcn.00412aa0
lea eax, [esp + 0x174]
push eax
mov ebx, str.CandBlackList.ini
call fcn.00401580
cmp byte [esp + 0x286], 0
lea eax, [esp + 0x178]
jne 0x41462a
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push eax
call fcn.004c63ab
add esp, 8
test eax, eax
jne 0x414774
test dword [esp + 0x22], 0x4000
jne 0x414774
call fcn.0043dfe0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x41468c
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x41468c
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x41468c
xor esi, esi
push 0
push 0
push str.CandBlackList.ini
push str.CandBlackList
push str.SogouInputComponentsPicface
push esi
lea ecx, [esp + 0x64]
call fcn.00435960
mov byte [esp + 0x3b0], 2
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x4146c3
mov eax, dword [esp + 0x54]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4146e4
shr eax, 4
not al
and al, 1
je 0x4146e4
lea ecx, [esp + 0x4c]
call fcn.00436570
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x4146f6
mov eax, dword [esp + 0x54]
lea ebx, [eax + 4]
lea edi, [esp + 0x28c]
call fcn.004024b0
lea edx, [esp + 0x174]
push edx
mov ecx, edi
mov byte [esp + 0x3b4], 3
call fcn.00401dc0
lea edi, [esp + 0x174]
call fcn.00401890
cmp byte [esp + 0x39e], 0
jne 0x41474d
mov eax, dword [esp + 0x398]
lea ecx, [esp + 0x290]
cmp eax, ecx
je 0x41474d
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x168], 0
mov dword [esp + 0x4c], vtable.t_str.0
jne 0x414774
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x414774
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x286], 0
jne 0x414799
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x414799
push eax
call fcn.004c6103
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00437e60
mov al, 1
mov ecx, dword [esp + 0x3a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x394]
xor ecx, esp
call fcn.004c60f4
add esp, 0x3a4
ret
Function at 0x4166e0
Capabilities:
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x509d06
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x4d4], eax
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
lea eax, [esp + 0x13c]
mov edi, ecx
call fcn.00414e00
mov eax, str.http:__config.pinyin.sogou.com_picface_interface_get_zb_label_list.php
lea edx, [esp + 0x258]
mov dword [esp + 0x4f0], 0
call fcn.00438d30
push str._Lver
push 0x5192f4
lea edx, [esp + 0x260]
call fcn.004392f0
add esp, 8
call fcn.0043dfe0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x416798
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call ebp
test eax, eax
je 0x416798
push esi
push 1
push 0
push 0x23
push 0
call ebp
test eax, eax
je 0x416798
xor esi, esi
push 0
push 0
push 0
push str.SGPicFaceDT.json
push str.SogouInputComponentsPicfaceJson
push esi
lea ecx, [esp + 0x2c]
call fcn.00435960
mov byte [esp + 0x4f0], 1
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x4167cc
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x34]
push ecx
push 0x51a034
lea edx, [esp + 0x260]
call fcn.004392f0
add esp, 8
call fcn.0040a280
push 1
lea ecx, [esp + 0x140]
call fcn.0040fba0
test al, al
jne 0x41685d
mov ecx, edi
call fcn.00437ec0
push str.GetLocalTempCellPath_Fail
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x41684a
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x41684a
push eax
call fcn.004c6103
add esp, 4
lea esi, [esp + 0x13c]
call fcn.00415b60
xor al, al
jmp 0x416900
lea eax, [esp + 0x13c]
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x4b0], 0x5193dc
mov dword [esp + 0x4b4], 0x5193b0
mov byte [esp + 0x4d0], 1
call fcn.00418780
test al, al
jne 0x4168cb
mov ecx, edi
call fcn.00437ec0
push str.download_json_fail
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x41684a
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
jmp 0x41683f
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x4168f2
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x4168f2
push eax
call fcn.004c6103
add esp, 4
lea esi, [esp + 0x13c]
call fcn.00415b60
mov al, 1
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4d4]
xor ecx, esp
call fcn.004c60f4
add esp, 0x4e4
ret
Function at 0x41afb0
Capabilities:
Print debug messages

Disassembly:
push ecx
mov eax, str.spare
push ebp
xor ebp, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41afc0
sub eax, edx
je 0x41b094
push esi
mov esi, dword [esp + 0x10]
add esi, 0x2c
lea eax, [esi + 4]
cmp byte [esi + 0x114], cl
jne 0x41afe4
mov eax, dword [esi]
cmp dword [eax], ebp
jbe 0x41b09b
cmp byte [esi + 0x114], 0
lea eax, [esi + 4]
jne 0x41affa
mov eax, dword [esi]
mov ecx, dword [eax]
call fcn.0041b140
cmp byte [esi + 0x114], 0
je 0x41b00f
add esi, 4
jmp 0x41b011
mov esi, dword [esi]
mov eax, str.spare
add esi, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b020
sub eax, edx
push ebx
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b031
push edi
sub eax, edx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test edi, edi
je 0x41b07e
jmp 0x41b050
push str.spare
push esi
call fcn.004ca6e0
add esp, 8
test eax, eax
je 0x41b068
cmp byte [ebx + esi], 0x3a
je 0x41b088
lea esi, [esi + edi + 1]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b071
sub eax, edx
mov edi, eax
jne 0x41b050
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret 4
pop edi
lea eax, [ebx + esi + 1]
pop ebx
pop esi
pop ebp
pop ecx
ret 4
mov eax, ebp
pop ebp
pop ecx
ret 4
pop esi
mov eax, ebp
pop ebp
pop ecx
ret 4