joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1d0
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.UserCell
call fcn.00401540
lea ecx, [esp + 0xc]
call fcn.004349d0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53d9d8]
test eax, eax
jne 0x40e2b8
push 0x18
call fcn.004c688d
add esp, 4
test eax, eax
je 0x40e2ad
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 0x40e2af
xor eax, eax
mov dword [0x53d9d8], eax
test eax, eax
jne 0x40e2b8
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 0x40e2df
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401540
cmp dword [esi], 0
jne 0x40e332
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 0x40e32e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x40e32e
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x40e395
mov ecx, esi
call fcn.004016a0
test al, al
jne 0x40e36c
cmp byte [esp + 0x354], al
je 0x40e36c
push 1
mov ecx, esi
call fcn.00401ac0
test al, al
jne 0x40e36c
push 0x517fa8
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00434b70
xor al, al
jmp 0x40e395
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x40e393
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40e393
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 0x410220
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.CandBlackList
call fcn.00401540
lea ecx, [esp + 0xc]
call fcn.004349d0
mov dword [esp + 0x34c], 0
mov eax, dword [0x53d9d8]
test eax, eax
jne 0x410308
push 0x18
call fcn.004c688d
add esp, 4
test eax, eax
je 0x4102fd
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 0x4102ff
xor eax, eax
mov dword [0x53d9d8], eax
test eax, eax
jne 0x410308
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 0x41032f
mov eax, dword [esp + 0x14]
add eax, 4
call fcn.00401540
cmp dword [esi], 0
jne 0x410382
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 0x41037e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x41037e
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x4103e5
mov ecx, esi
call fcn.004016a0
test al, al
jne 0x4103bc
cmp byte [esp + 0x354], al
je 0x4103bc
push 1
mov ecx, esi
call fcn.00401ac0
test al, al
jne 0x4103bc
push 0x517fa8
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0xc]
call fcn.00434b70
xor al, al
jmp 0x4103e5
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x4103e3
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x4103e3
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 0x411910
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5045ec
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push esi
push edi
mov eax, dword [0x5355a0]
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.004023f0
mov byte [esp + 0x3b0], 1
call fcn.0040a2e0
mov ecx, edi
push ebx
lea edi, [esp + 0x18]
call fcn.00410220
lea eax, [esp + 0x174]
push eax
mov ebx, str.CandBlackList.ini
call fcn.004015a0
cmp byte [esp + 0x286], 0
lea eax, [esp + 0x178]
jne 0x4119aa
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push eax
call fcn.004c3458
add esp, 8
test eax, eax
jne 0x411af4
test dword [esp + 0x22], 0x4000
jne 0x411af4
call fcn.0043d5c0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x411a0c
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x411a0c
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x411a0c
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.00431ac0
mov byte [esp + 0x3b0], 2
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x411a43
mov eax, dword [esp + 0x54]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411a64
shr eax, 4
not al
and al, 1
je 0x411a64
lea ecx, [esp + 0x4c]
call fcn.004326d0
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x411a76
mov eax, dword [esp + 0x54]
lea ebx, [eax + 4]
lea edi, [esp + 0x28c]
call fcn.004024d0
lea edx, [esp + 0x174]
push edx
mov ecx, edi
mov byte [esp + 0x3b4], 3
call fcn.00401de0
lea edi, [esp + 0x174]
call fcn.004018b0
cmp byte [esp + 0x39e], 0
jne 0x411acd
mov eax, dword [esp + 0x398]
lea ecx, [esp + 0x290]
cmp eax, ecx
je 0x411acd
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x168], 0
mov dword [esp + 0x4c], vtable.t_str.0
jne 0x411af4
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x411af4
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x286], 0
jne 0x411b19
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x411b19
push eax
call fcn.004c31b0
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00433d50
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.004c31a1
add esp, 0x3a4
ret
Function at 0x414170
Capabilities:
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x506836
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x4cc], eax
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x4e0]
mov dword fs:[0], eax
lea eax, [esp + 0x13c]
mov edi, ecx
call fcn.00412ad0
mov eax, str.http:__config.pinyin.sogou.com_picface_interface_get_dt_label_list.php
lea edx, [esp + 0x258]
mov dword [esp + 0x4e8], 0
call fcn.00434c20
push str._Lver
push 0x51620c
lea edx, [esp + 0x260]
call fcn.004351e0
add esp, 8
call fcn.0043d5c0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x414228
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call ebp
test eax, eax
je 0x414228
push esi
push 1
push 0
push 0x23
push 0
call ebp
test eax, eax
je 0x414228
xor esi, esi
push 0
push 0
push 0
push str.SGPicFaceDT.json
push str.SogouInputComponentsPicfaceJson
push esi
lea ecx, [esp + 0x2c]
call fcn.00431ac0
mov byte [esp + 0x4e8], 1
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x41425c
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x34]
push ecx
push 0x516dbc
lea edx, [esp + 0x260]
call fcn.004351e0
add esp, 8
call fcn.0040a2e0
push 1
lea ecx, [esp + 0x140]
call fcn.0040d9a0
test al, al
jne 0x4142ed
mov ecx, edi
call fcn.00433db0
push str.GetLocalTempCellPath_Fail
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x4142da
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x4142da
push eax
call fcn.004c31b0
add esp, 4
lea esi, [esp + 0x13c]
call fcn.00413730
xor al, al
jmp 0x41438e
lea eax, [esp + 0x13c]
push eax
push edi
mov dword [esp + 0x4b0], 0x516378
mov dword [esp + 0x4b4], 0x51634c
mov byte [esp + 0x4d0], 1
call fcn.00415aa0
test al, al
jne 0x414359
mov ecx, edi
call fcn.00433db0
push str.download_json_fail
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x4142da
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
jmp 0x4142cf
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x414380
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x414380
push eax
call fcn.004c31b0
add esp, 4
lea esi, [esp + 0x13c]
call fcn.00413730
mov al, 1
mov ecx, dword [esp + 0x4e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4cc]
xor ecx, esp
call fcn.004c31a1
add esp, 0x4dc
ret
Function at 0x419160
Capabilities:
Create thread

Disassembly:
sub esp, 0x44
push esi
push edi
xor edi, edi
push 0x40
lea eax, [esp + 0x10]
push edi
push eax
mov dword [esp + 0x14], edi
call fcn.004cab10
push edi
push edi
push edi
push 0x418930
push edi
push edi
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418960
push edi
push edi
mov dword [esp + 0x44], eax
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418b80
push edi
push edi
mov dword [esp + 0x60], eax
call fcn.004c6f1e
add esp, 0x54
push edi
push edi
push edi
push 0x418bb0
push edi
push edi
mov dword [esp + 0x28], eax
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418be0
push edi
push edi
mov dword [esp + 0x44], eax
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418ac0
push edi
push edi
mov dword [esp + 0x60], eax
call fcn.004c6f1e
add esp, 0x48
push edi
push edi
push edi
push 0x418af0
push edi
push edi
mov dword [esp + 0x34], eax
lea esi, [edi + 6]
call fcn.004c6f1e
add esp, 0x18
mov dword [esp + 0x20], eax
lea esp, [esp]
push edi
push edi
push edi
push 0x418b20
push edi
push edi
inc esi
call fcn.004c6f1e
add esp, 0x18
mov dword [esp + esi*4 + 8], eax
cmp esi, 9
jb 0x419210
push edi
push edi
push edi
push 0x418b50
push edi
push edi
inc esi
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418c10
push edi
mov dword [esp + esi*4 + 0x34], eax
push edi
inc esi
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418c40
push edi
mov dword [esp + esi*4 + 0x4c], eax
push edi
inc esi
call fcn.004c6f1e
add esp, 0x48
push edi
push edi
push edi
push 0x418c70
push edi
mov dword [esp + esi*4 + 0x1c], eax
push edi
inc esi
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418ca0
push edi
mov dword [esp + esi*4 + 0x34], eax
push edi
inc esi
call fcn.004c6f1e
push edi
push edi
push edi
push 0x418cd0
push edi
mov dword [esp + esi*4 + 0x4c], eax
push edi
inc esi
call fcn.004c6f1e
add esp, 0x48
push edi
push edi
push edi
push 0x4190b0
push edi
mov dword [esp + esi*4 + 0x1c], eax
push edi
inc esi
call fcn.004c6f1e
add esp, 0x18
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + esi*4 + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0x53d9d4
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + esi*4 + 8]
push 0xffffffffffffffff
push edx
mov byte [0x53be12], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc esi
cmp esi, edi
jle 0x41930d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
mov eax, dword [esp + edi*4 + 0xc]
push eax
call ebx
inc edi
cmp edi, esi
jl 0x419300
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x44
ret
Function at 0x419890
Capabilities:
Connect pipe
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x50199b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
cmp dword [esi], 0xffffffff
mov eax, dword [esp + 0x150]
mov edi, ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], 0
je 0x4198e6
mov byte [esp + 0x13], 1
cmp byte [esp + 0x13], 0
mov ebx, 0x40000003
jne 0x4198f7
mov ebx, 0x400c0003
call fcn.0042b500
mov ebp, eax
cmp word [ebp], 0
jne 0x419918
push str..pipeSogouPicFaceTaskPipeNameC3
push 0x104
push ebp
call fcn.004c3833
add esp, 0xc
push ebp
lea ecx, [esp + 0x1c]
call fcn.00434b00
push 0x516cc8
push 0x51620c
lea edx, [esp + 0x20]
mov dword [esp + 0x150], 0
call fcn.004351e0
mov ecx, dword [edi + 0xc]
push ecx
push 0x516dbc
lea edx, [esp + 0x28]
call fcn.004351e0
push 0x516cc8
push 0x51620c
lea edx, [esp + 0x30]
call fcn.004351e0
push 0xb
push 0x516dbc
lea edx, [esp + 0x38]
call fcn.004351e0
add esp, 0x20
cmp byte [esp + 0x134], 0
lea ebp, [esp + 0x24]
jne 0x41998a
mov ebp, dword [esp + 0x20]
call fcn.0043faf0
push eax
push 0
push 0x2000
push 0x2000
push 0xff
push 6
push ebx
add ebp, 4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
call ebp
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x419a4b
cmp byte [esp + 0x13], 0
jne 0x419a2d
cmp byte [esp + 0x134], 0
lea ebx, [esp + 0x24]
jne 0x4199d4
mov ebx, dword [esp + 0x20]
call fcn.0043faf0
push eax
push 0
push 0x2000
push 0x2000
push 0xff
push 0
push 0x40000003
add ebx, 4
push ebx
call ebp
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x419a67
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], vtable.t_str.0
jne 0x419a26
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x419a26
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x419aad
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], vtable.t_str.0
jne 0x419a26
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
jmp 0x419a1b
cmp byte [esp + 0x13], 0
jne 0x419a67
push 6
push eax
call fcn.0043fba0
mov edx, dword [esi]
push 6
push edx
call fcn.0043fbf0
add esp, 0x10
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x419a7d
xor bl, bl
jmp 0x419a84
call fcn.00419ae0
mov bl, al
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], vtable.t_str.0
jne 0x419aab
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x419aab
push eax
call fcn.004c31b0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004c31a1
add esp, 0x13c
ret 4
Function at 0x419b40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 8]
mov dword [esp + 4], eax
push ecx
lea ecx, [edi + 0x28]
lea eax, [esp + 8]
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 1
call fcn.00408370
test al, al
jne 0x419b7f
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
cmp byte [esp + 0xc], 0
je 0x419b77
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x419b77
test eax, eax
jne 0x419b9a
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
jmp 0x419ba0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 8]
push 0x419bd0
add esi, 0x18
push esi
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
neg eax
sbb eax, eax
neg eax
dec eax
pop esi
add esp, 0x10
ret

Function at 0x41a4d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x20]
mov edi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
push ecx
lea ecx, [edi + 0x28]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
call fcn.00408370
test al, al
je 0x41a544
cmp byte [esp + 0x14], 0
je 0x41a544
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
push 0x419c90
add esi, 0xc
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
mov esi, eax
test esi, esi
je 0x41a535
add edi, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, esi
neg eax
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
add esp, 0x14
ret
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x41d980
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50453b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
call fcn.0043d5c0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x41d9f5
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x41d9f5
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x41d9f5
xor esi, esi
push esi
lea ecx, [esp + 0x18]
call fcn.00434b00
push 0x516164
push 0x51620c
lea edx, [esp + 0x1c]
mov dword [esp + 0x150], 0
call fcn.004351e0
push str.SogouInputComponentsPicfaceCandDownload
push 0x51620c
lea edx, [esp + 0x24]
call fcn.004351e0
push 0x860
call fcn.004c688d
add esp, 0x14
test eax, eax
je 0x41da4a
call fcn.004035b0
mov esi, eax
jmp 0x41da4c
xor esi, esi
mov dword [esi + 0x30], 0xffffffef
mov dword [esi], 1
mov dword [esi + 4], 0x14
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41da90
cmp byte [esp + 0x130], 0
lea ecx, [esp + 0x20]
jne 0x41da7a
mov ecx, dword [esp + 0x1c]
push eax
add ecx, 4
push ecx
lea eax, [esi + 0x38]
push 0x103
push eax
call fcn.004c5747
add esp, 0x10
mov edi, dword [esi + 4]
call fcn.0040a2e0
lea ecx, [edi - 1]
cmp ecx, 0x14
ja 0x41dab1
push 0
push 0
mov edx, esi
call fcn.0040f190
mov edi, eax
test edi, edi
jne 0x41dad8
push esi
call fcn.004c55cd
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x41db3f
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
jmp 0x41db34
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
push edi
push ecx
call fcn.0040a2e0
add esp, 4
mov ecx, eax
call fcn.0040ec70
mov ebx, eax
test ebx, ebx
jne 0x41db0b
push esi
call fcn.004c55cd
mov edx, dword [edi]
mov eax, dword [edx]
add esp, 4
push 1
mov ecx, edi
call eax
jmp 0x41daba
call fcn.0040a2e0
mov eax, dword [eax]
push ebx
call fcn.0041ad00
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x41db3f
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x41db3f
push eax
call fcn.004c31b0
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004c31a1
add esp, 0x13c
ret
Function at 0x41f470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff733
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 dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x14], edx
mov dword [eax], vtable.t_PicFaceTipListPassenger.0
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov edx, fcn.004c31b0
mov dword [eax + 0x30], fcn.004c328d
mov dword [eax + 0x34], fcn.004c53b2
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], fcn.004c328d
mov dword [eax + 0x50], fcn.004c53b2
mov dword [eax + 0x54], edx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], 0x2bf20
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x421640
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x5043b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov edi, ecx
xor ebx, ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], vtable.t_mutex::t_locker.0
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 1
call fcn.0043ac80
test al, al
je 0x4216be
mov ecx, dword [edi + 0x224]
mov dword [esp + 0x20], edi
cmp ecx, ebx
je 0x4216f9
mov esi, dword [ecx + 0x24]
cmp esi, ebx
jne 0x4216dd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call fcn.0043a930
jmp 0x421702
lea ecx, [esp + 0x14]
call fcn.00433db0
push str.m_ProcOpenFilemapmutex
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
jmp 0x421702
xor eax, eax
cmp esi, ebx
jle 0x4216f9
lea edx, [ecx + 0x34]
cmp eax, 0xc8
jge 0x4216f9
cmp dword [edx], ebp
je 0x421723
inc eax
add edx, 0x10
cmp eax, esi
jl 0x4216e6
mov byte [esp + 0x38], bl
call fcn.0043adc0
lea ecx, [esp + 0x14]
call fcn.00433d50
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
mov edx, 1
shl eax, 4
cmp dword [esp + 0x50], edx
jne 0x421748
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x3c], ecx
mov byte [eax + 0x38], dl
cmp dword [esp + 0x54], edx
jne 0x421780
mov byte [eax + 0x41], dl
jmp 0x421780
mov byte [eax + ecx + 0x38], bl
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x28], edx
cmp eax, ebx
je 0x421780
cmp ecx, 0xfffffffe
je 0x421780
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421780
mov eax, dword [esp + 0x48]
cmp dword [eax + 4], ebx
je 0x421780
mov edi, dword [esp + 0x40]
push ebp
call fcn.004217b0
push 0x13
call fcn.0043f610
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call fcn.0043a930
lea ecx, [esp + 0x14]
call fcn.00433d50
mov al, 1
jmp 0x42170d