joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001510
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
xor ebx, ebx
push 0x1003d50c
mov dword [esp + 8], ebx
call fcn.10001100
push eax
lea eax, [esp + 0xc]
push eax
call fcn.10023c94
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x100015c9
push 2
push ebx
push eax
call fcn.10023b4b
add esp, 0xc
test eax, eax
je 0x10001562
mov ecx, dword [esp + 4]
push ecx
call fcn.10023a45
add esp, 4
mov al, bl
pop ebx
pop ecx
ret
mov edx, dword [esp + 4]
push esi
push edi
push edx
call fcn.10023960
mov edi, dword [esp + 0x20]
mov esi, eax
add esp, 4
cmp dword [edi], esi
jge 0x10001591
mov eax, dword [esp + 0xc]
push eax
call fcn.10023a45
add esp, 4
mov dword [edi], esi
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ecx
call fcn.10023b4b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push edx
push esi
push 1
push eax
mov dword [edi], esi
call fcn.100237a6
add esp, 0x1c
cmp eax, esi
jne 0x100015ba
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10023a45
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x10002670
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100396a2
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
mov esi, dword [esp + 0x430]
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ebp, [esi + 4]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [ebp], bl
push 0x3ff
lea eax, [esp + 0x21]
push ebx
push eax
mov dword [esp + 0x434], ebx
mov dword [esp + 0x20], 1
mov byte [esp + 0x28], bl
call fcn.10024260
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1000279a
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002712
sub eax, edx
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.10002080
mov eax, dword [esi + 0x14]
cmp eax, ebx
jbe 0x100027a7
lea edi, [eax - 1]
cmp edi, eax
jbe 0x1000273b
call fcn.10023253
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x1000274a
mov eax, dword [ebp]
jmp 0x1000274c
mov eax, ebp
cmp byte [eax + edi], 0x5c
je 0x1000277c
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
jbe 0x10002761
call fcn.10023253
cmp dword [esi + 0x18], ebx
jb 0x1000276b
mov eax, dword [ebp]
jmp 0x1000276d
mov eax, ebp
cmp byte [eax + edi], 0x2f
je 0x1000277c
push 0x14
push str.IQIYI_VideoLStyle_
jmp 0x10002783
push 0x13
push 0x1003d558
mov ecx, esi
call fcn.10002080
push 0x1d
push str.browseradapter_web_config.dat
mov ecx, esi
call fcn.10002080
jmp 0x100027a7
push ebx
push 0x1003d534
mov ecx, esi
call fcn.10001fa0
mov eax, esi
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.100234f7
add esp, 0x418
ret
Function at 0x10002980
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
mov ebp, dword [esp + 0x78]
xor ebx, ebx
push ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x10048094]
push 0x1003d534
push eax
push ebx
mov ecx, 0x10048080
call fcn.100013a0
test eax, eax
jne 0x10002ac6
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esp + 0x10], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10002ac6
mov edx, dword [esp + 8]
push edi
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x10002ac5
lea eax, [esp + 0xc]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10002abe
push 0x63
lea ecx, [esp + 0x15]
push ebx
push ecx
mov byte [esp + 0x1c], bl
call fcn.10024260
movzx edx, byte [edi + 0x199]
movzx eax, byte [edi + 0x198]
movzx ecx, byte [edi + 0x197]
push edx
movzx edx, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push ecx
movzx ecx, byte [edi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._02x__02x__02x__02x__02x__02x
push edx
call fcn.100242e5
lea eax, [esp + 0x3c]
add esp, 0x2c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002a56
sub eax, edx
push eax
call fcn.10006f80
add esp, 4
cmp eax, ebx
je 0x10002ab1
inc eax
push esi
push eax
call fcn.100242da
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10002ab0
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002a84
sub eax, edx
push esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10006fc0
add esp, 0xc
push esi
mov ecx, 0x10048080
call fcn.10002640
push esi
call fcn.10023263
add esp, 4
pop esi
push 0x10048080
call fcn.10001440
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
push 0xffffffffffffffff
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x10048080
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10001ec0
mov ecx, dword [esp + 0x70]
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.100234f7
add esp, 0x6c
ret
Function at 0x10007c80
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x54]
mov dword [ebx], vtable.CBlowFish.0
mov edx, dword [eax]
mov dword [ebx + 4], edx
mov edx, dword [eax + 4]
mov dword [ebx + 8], edx
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [ebx + 0xc], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0x10], eax
cmp ebp, 1
jae 0x10007ce4
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], str.Incorrect_key_length
call fcn.10022d1a
push 0x10044924
lea edx, [esp + 0x10]
push edx
call fcn.100230aa
cmp ebp, 0x38
jbe 0x10007cee
mov ebp, 0x38
push esi
push edi
push ebp
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.10024660
push 0x1000
lea eax, [ebx + 0x5c]
push 0x1003d850
lea edi, [ebx + 0x14]
mov ecx, 0x12
mov esi, 0x1003d808
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10024660
lea edx, [ebx + 0x14]
add esp, 0x18
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x12
xor edx, edx
mov esi, 4
lea ecx, [ecx]
movzx edi, byte [ecx]
shl edx, 8
inc eax
dec esi
or edx, edi
inc ecx
cmp eax, ebp
jne 0x10007d55
xor eax, eax
lea ecx, [esp + 0x20]
test esi, esi
jne 0x10007d40
mov esi, dword [esp + 0x14]
xor dword [esi], edx
add esi, 4
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], esi
jne 0x10007d36
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x14]
lea ebx, [ebx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.10007070
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
add esi, 4
inc edi
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x12
jb 0x10007d80
lea eax, [ebx + 0x5c]
mov ebp, eax
mov dword [esp + 0x10], 4
xor edi, edi
mov esi, ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.10007070
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
add esi, 4
inc edi
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x100
jl 0x10007db6
add ebp, 0x400
sub dword [esp + 0x10], 1
jne 0x10007db2
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100234f7
add esp, 0x4c
ret 0xc
Function at 0x100081b0
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [esp + 0x124]
push esi
push edi
mov edi, dword [esp + 0x120]
mov esi, ecx
mov dword [esp + 0x10], 0
cmp edi, 0x8004
jne 0x100081f9
mov dword [esp + 0x14], 0x14
jmp 0x10008209
cmp edi, 0x8003
jne 0x10008209
mov dword [esp + 0x14], 0x10
push 0x100
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10024260
mov eax, dword [esi + 0x104]
add esp, 0xc
test eax, eax
je 0x100082a6
add esi, 0x108
push esi
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100082a6
mov ecx, dword [esp + 0x128]
mov edx, dword [esi]
push 0
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000828f
mov edx, dword [esi]
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1000828f
mov edi, 1
test ebp, ebp
je 0x10008293
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.10024660
add esp, 0xc
jmp 0x10008293
mov edi, dword [esp + 0x10]
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi], 0
mov eax, edi
jmp 0x100082f0
sub edi, 0x8003
je 0x100082cf
sub edi, 1
jne 0x100082ec
mov eax, dword [esp + 0x128]
push ebp
push edi
push eax
push ebx
call fcn.10007ed0
add esp, 0x10
test al, al
je 0x100082ec
lea eax, [edi + 1]
jmp 0x100082f0
mov ecx, dword [esp + 0x128]
push ebp
push 0
push ecx
push ebx
call fcn.10008020
add esp, 0x10
test al, al
mov eax, 1
jne 0x100082f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100234f7
add esp, 0x10c
ret 0x10

Function at 0x100096d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100096f0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x10009704
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc
Function at 0x10009730
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x10009746
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10009753
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x10009fa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x1000a01f
xor eax, eax
cmp ecx, ebx
je 0x1000a007
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x1000a043
cmp ecx, ebx
je 0x1000a02a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100234f7
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x1000a0aa
jmp 0x1000a070
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.10009fa0
mov edi, eax
cmp edi, ebx
jne 0x1000a0f9
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x1000a070
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1000a0bd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.100095e0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1000a0e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100234f7
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1000a108
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100234f7
mov esp, ebp
pop ebp
ret 4
Function at 0x1000db70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003a2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov edi, dword [esp + 0x444]
xor ebx, ebx
cmp edi, ebx
je 0x1000dcd0
cmp dword [esp + 0x448], 0x104
jl 0x1000dcd0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
push 0x3ff
lea eax, [esp + 0x35]
push ebx
push eax
mov dword [esp + 0x448], ebx
mov byte [esp + 0x3c], bl
call fcn.10024260
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 1
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ebp, [ebx + 0x10]
test eax, eax
jl 0x1000dc9d
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000dc20
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002080
mov eax, dword [esp + 0x28]
cmp eax, ebx
jbe 0x1000dc9d
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dc50
call fcn.10023253
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dc5e
lea ecx, [esp + 0x18]
cmp byte [ecx + esi], 0x5c
je 0x1000dc8d
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dc70
call fcn.10023253
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dc7e
lea eax, [esp + 0x18]
cmp byte [eax + esi], 0x2f
je 0x1000dc8d
push 0x14
push str.IQIYI_VideoLStyle_
jmp 0x1000dc94
push 0x13
push 0x1003d558
lea ecx, [esp + 0x1c]
call fcn.10002080
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dcab
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x448]
push ecx
push eax
push edi
call fcn.100254c0
add esp, 0xc
cmp dword [esp + 0x2c], ebp
jb 0x1000dcd0
mov edx, dword [esp + 0x18]
push edx
call fcn.10022cad
add esp, 4
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.100234f7
add esp, 0x42c
ret

Function at 0x1000dd00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x224]
push edi
mov edi, dword [esp + 0x21c]
push 0x5c
push esi
call fcn.10025660
add esp, 8
test eax, eax
je 0x1000dd3e
push esi
jmp 0x1000dd8f
push 0x207
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call fcn.10024260
lea edx, [esp + 0x18]
push 0x208
push edx
call fcn.1000db70
push 0x1003ef14
lea eax, [esp + 0x24]
push 0x208
push eax
call fcn.100255e4
push esi
lea ecx, [esp + 0x30]
push 0x208
push ecx
call fcn.100255e4
add esp, 0x2c
lea edx, [esp + 0xc]
push edx
mov eax, dword [esp + 0x228]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100234f7
add esp, 0x20c
ret 0x10
Function at 0x1000ddc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003a2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
push 0x3ff
lea eax, [esp + 0x35]
push ebx
push eax
mov dword [esp + 0x448], ebx
mov byte [esp + 0x3c], bl
call fcn.10024260
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 1
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ebp, [ebx + 0x10]
test eax, eax
jl 0x1000df05
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000de50
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002080
mov eax, dword [esp + 0x28]
cmp eax, ebx
jbe 0x1000dedd
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000de80
call fcn.10023253
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000de8e
lea ecx, [esp + 0x18]
cmp byte [ecx + esi], 0x5c
je 0x1000debd
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dea0
call fcn.10023253
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000deae
lea eax, [esp + 0x18]
cmp byte [eax + esi], 0x2f
je 0x1000debd
push 0x14
push str.IQIYI_VideoLStyle_
jmp 0x1000dec4
push 0x13
push 0x1003d558
lea ecx, [esp + 0x1c]
call fcn.10002080
push 0x12
push str.browseradapter.ini
lea ecx, [esp + 0x1c]
call fcn.10002080
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000deeb
lea eax, [esp + 0x18]
push eax
push 1
push str.start
push str.browseradapter
call fcn.1000dd00
test eax, eax
setne al
mov byte [edi + 0x38], al
cmp dword [esp + 0x2c], ebp
jb 0x1000df18
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10022cad
add esp, 4
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.100234f7
add esp, 0x42c
ret
Function at 0x100128f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10012909
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10012944
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10012940
lea ebx, [ebx]
cmp esi, eax
jae 0x10012944
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10012930
cmp esi, eax
jb 0x1001294a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x10012a80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x10c], eax
lea eax, [esp]
push eax
push str.SoftwarePPStreamppsva_port
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10012aeb
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0x1003d534
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10012b02
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.100234f7
add esp, 0x110
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
push ecx
call fcn.10024380
mov ecx, dword [esp + 0x110]
add esp, 4
mov dword [0x10048a64], eax
xor ecx, esp
mov eax, 1
call fcn.100234f7
add esp, 0x110
ret

Function at 0x10012bf0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
push ebx
push 4
xor edi, edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10012c60
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10012c59
push ebp
mov ebp, dword [esp + 0x34]
cmp dword [esp + 0x1c], ebx
jne 0x10012c33
cmp dword [esp + 0x18], ebp
je 0x10012c53
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10012c27
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov edi, 1
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x10015460
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003ab3b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x14c]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.pps_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001550b
push 0x103
push eax
lea ecx, [esp + 0x3d]
push ecx
mov dword [esp + 0x1c], 0x104
mov byte [esp + 0x40], al
call fcn.10024260
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10015512
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10015594
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015524
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.10002080
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x14], 0x5c
call fcn.1000fdf0
cmp eax, 0xffffffff
je 0x1001550b
dec eax
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.100021c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x150], 0
call fcn.10001ec0
cmp dword [esp + 0x30], 0x10
jb 0x1001558f
mov edx, dword [esp + 0x1c]
push edx
call fcn.10022cad
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.100234f7
add esp, 0x140
ret