joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008060
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10048ff4]
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 0x100080a9
mov dword [esp + 0x14], 0x14
jmp 0x100080b9
cmp edi, 0x8003
jne 0x100080b9
mov dword [esp + 0x14], 0x10
push 0x100
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10024120
mov eax, dword [esi + 0x104]
add esp, 0xc
test eax, eax
je 0x10008156
add esi, 0x108
push esi
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10008156
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 0x1000813f
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 0x1000813f
mov edi, 1
test ebp, ebp
je 0x10008143
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.10024520
add esp, 0xc
jmp 0x10008143
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 0x100081a0
sub edi, 0x8003
je 0x1000817f
sub edi, 1
jne 0x1000819c
mov eax, dword [esp + 0x128]
push ebp
push edi
push eax
push ebx
call fcn.10007d80
add esp, 0x10
test al, al
je 0x1000819c
lea eax, [edi + 1]
jmp 0x100081a0
mov ecx, dword [esp + 0x128]
push ebp
push 0
push ecx
push ebx
call fcn.10007ed0
add esp, 0x10
test al, al
mov eax, 1
jne 0x100081a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100233b7
add esp, 0x10c
ret 0x10

Function at 0x10009580
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 0x100095a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x100095b4
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 0x100095e0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x100095f6
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 0x10009603
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 0x10009e60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x10048ff4]
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 0x10009edf
xor eax, eax
cmp ecx, ebx
je 0x10009ec7
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 0x10009f03
cmp ecx, ebx
je 0x10009eea
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.100233b7
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 0x10009f6a
jmp 0x10009f30
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.10009e60
mov edi, eax
cmp edi, ebx
jne 0x10009fb9
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 0x10009f30
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10009f7d
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.10009490
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10009fa0
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.100233b7
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10009fc8
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.100233b7
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d9e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003a1db
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff4]
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 0x1000db40
cmp dword [esp + 0x448], 0x104
jl 0x1000db40
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.10024120
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 0x1000db0d
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000da90
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002020
mov eax, dword [esp + 0x28]
cmp eax, ebx
jbe 0x1000db0d
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dac0
call fcn.10023113
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dace
lea ecx, [esp + 0x18]
cmp byte [ecx + esi], 0x5c
je 0x1000dafd
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dae0
call fcn.10023113
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000daee
lea eax, [esp + 0x18]
cmp byte [eax + esi], 0x2f
je 0x1000dafd
push 0x14
push str.IQIYI_VideoLStyle_
jmp 0x1000db04
push 0x13
push 0x1003d578
lea ecx, [esp + 0x1c]
call fcn.10002020
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000db1b
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x448]
push ecx
push eax
push edi
call fcn.10025380
add esp, 0xc
cmp dword [esp + 0x2c], ebp
jb 0x1000db40
mov edx, dword [esp + 0x18]
push edx
call fcn.10022b6d
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.100233b7
add esp, 0x42c
ret

Function at 0x1000db70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10048ff4]
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.10025520
add esp, 8
test eax, eax
je 0x1000dbae
push esi
jmp 0x1000dbff
push 0x207
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call fcn.10024120
lea edx, [esp + 0x18]
push 0x208
push edx
call fcn.1000d9e0
push 0x1003ef34
lea eax, [esp + 0x24]
push 0x208
push eax
call fcn.100254a4
push esi
lea ecx, [esp + 0x30]
push 0x208
push ecx
call fcn.100254a4
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.100233b7
add esp, 0x20c
ret 0x10
Function at 0x1000dc30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003a1db
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff4]
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.10024120
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 0x1000dd75
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000dcc0
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002020
mov eax, dword [esp + 0x28]
cmp eax, ebx
jbe 0x1000dd4d
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dcf0
call fcn.10023113
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dcfe
lea ecx, [esp + 0x18]
cmp byte [ecx + esi], 0x5c
je 0x1000dd2d
lea esi, [eax - 1]
cmp esi, eax
jbe 0x1000dd10
call fcn.10023113
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dd1e
lea eax, [esp + 0x18]
cmp byte [eax + esi], 0x2f
je 0x1000dd2d
push 0x14
push str.IQIYI_VideoLStyle_
jmp 0x1000dd34
push 0x13
push 0x1003d578
lea ecx, [esp + 0x1c]
call fcn.10002020
push 0x12
push str.browseradapter.ini
lea ecx, [esp + 0x1c]
call fcn.10002020
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000dd5b
lea eax, [esp + 0x18]
push eax
push 1
push str.start
push str.browseradapter
call fcn.1000db70
test eax, eax
setne al
mov byte [edi + 0x38], al
cmp dword [esp + 0x2c], ebp
jb 0x1000dd88
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10022b6d
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.100233b7
add esp, 0x42c
ret
Function at 0x10012790
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 0x100127a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100127e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x100127e0
lea ebx, [ebx]
cmp esi, eax
jae 0x100127e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100127d0
cmp esi, eax
jb 0x100127ea
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 0x100129d0
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 0x10012a40
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10012a39
push ebp
mov ebp, dword [esp + 0x34]
cmp dword [esp + 0x1c], ebx
jne 0x10012a13
cmp dword [esp + 0x18], ebp
je 0x10012a33
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10012a07
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 0x10015250
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003aa3b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
mov eax, dword [0x10048ff4]
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 0x100152fb
push 0x103
push eax
lea ecx, [esp + 0x3d]
push ecx
mov dword [esp + 0x1c], 0x104
mov byte [esp + 0x40], al
call fcn.10024120
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 0x10015302
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10015384
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 0x10015314
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.10002020
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x14], 0x5c
call fcn.1000fc90
cmp eax, 0xffffffff
je 0x100152fb
dec eax
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10002160
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x150], 0
call fcn.10001e60
cmp dword [esp + 0x30], 0x10
jb 0x1001537f
mov edx, dword [esp + 0x1c]
push edx
call fcn.10022b6d
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.100233b7
add esp, 0x140
ret
Function at 0x100153b0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x1003aa92
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff4]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
xor ebx, ebx
mov dword [esp + 0x20], ebx
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x1003d554
mov ecx, edi
mov dword [esp + 0x140], ebx
mov dword [esp + 0x20], edi
mov byte [edi + 4], bl
call fcn.10001f40
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x138], ebx
mov dword [esp + 0x20], 1
lea ebp, [esi + 4]
jb 0x10015441
mov eax, dword [ebp]
jmp 0x10015443
mov eax, ebp
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x1001551a
lea eax, [ebx + 1]
push eax
call fcn.1002419a
add esp, 4
cmp dword [esi + 0x18], 0x10
mov edi, eax
jb 0x1001546b
mov ebp, dword [ebp]
push edi
push ebx
xor esi, esi
push esi
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1001550b
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x24], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1001550b
mov eax, dword [esp + 0x14]
and eax, 0xfffffffc
cmp eax, 4
jb 0x1001550b
push 0x103
lea ecx, [esp + 0x2d]
push esi
push ecx
mov byte [esp + 0x34], 0
call fcn.10024120
mov eax, dword [esp + 0x30]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xFileVersion
lea ecx, [esp + 0x40]
push 0x104
push ecx
call fcn.10024222
add esp, 0x20
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x2c], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1001550b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
call fcn.10002590
push edi
call fcn.10023123
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x1001551c
mov eax, edi
mov ecx, dword [esp + 0x130]
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.100233b7
add esp, 0x128
ret
Function at 0x10015a10
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1003ab5b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push esi
mov eax, dword [0x10048ff4]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x43c]
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x2d]
push ebx
push eax
mov byte [esp + 0x34], bl
call fcn.10024120
mov edx, dword [esp + 0x44c]
lea ecx, [esp + 0x450]
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.1002512d
add esp, 0x20
cmp byte [esp + 0x28], bl
je 0x10015b0c
mov eax, esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10015aa5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.10001f40
lea eax, [esp + 0x28]
mov dword [esp + 0x434], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10015ac7
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10002020
mov eax, dword [esp + 0x10]
mov esi, 0x10
cmp dword [esp + 0x24], esi
jae 0x10015af2
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x24], esi
jb 0x10015b0c
mov edx, dword [esp + 0x10]
push edx
call fcn.10022b6d
add esp, 4
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.100233b7
add esp, 0x42c
ret

Function at 0x10016c80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1004aa4c]
cmp ecx, 0x1f4
jbe 0x10016d49
push esi
push 0x44
lea edx, [esp + 0x18]
push 0
push edx
mov dword [0x1004aa4c], eax
call fcn.10024120
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
add esp, 0xc
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10016d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_PPSKernel_Failed___d
push str.ppsjy:
call fcn.10015a10
add esp, 0xc
xor eax, eax
pop esi
add esp, 0x54
ret
push esi
push str.Kernel
push str.ppsjy:
call fcn.10015a10
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call esi
mov eax, 1
pop esi
add esp, 0x54
ret
xor eax, eax
add esp, 0x54
ret
Function at 0x10017920
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
lea eax, [esp + 4]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
mov dword [esi], 0xffffffff
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x10017979
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._CSock_CreateSock_error:_d_r_n
push str.ppsjy:
call fcn.10015a10
add esp, 0xc
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100233b7
add esp, 0x194
ret
Function at 0x1001cb90
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.ModuleInit
push esi
call edi
push str.ModuleUninit
push esi
mov dword [0x1004aad8], eax
call edi
push str.MemFree
push esi
mov dword [0x1004aadc], eax
call edi
push str.GetVideoName
push esi
mov dword [0x1004aae0], eax
call edi
push str.GetVideoCategory
push esi
mov dword [0x1004aae4], eax
call edi
push str.GetVideoEpisode
push esi
mov dword [0x1004aae8], eax
call edi
push str.GetVideoInfo
push esi
mov dword [0x1004aaec], eax
call edi
mov ecx, dword [0x1004aadc]
mov esi, dword [0x1004aae0]
mov dword [0x1004aaf0], eax
mov eax, dword [0x1004aad8]
test eax, eax
je 0x1001cc17
test ecx, ecx
je 0x1001cc17
test esi, esi
je 0x1001cc17
pop edi
mov al, 1
pop esi
ret
xor edx, edx
test esi, esi
sete dl
push edx
xor edx, edx
test ecx, ecx
sete dl
xor ecx, ecx
test eax, eax
sete cl
push edx
push ecx
push str._dllFuncInit
push str.__s_init__d_uninit__d_free__d_:func_ptr_null_
push str.ppsjy:
call fcn.10015a10
add esp, 0x18
pop edi
xor al, al
pop esi
ret

Function at 0x1001e480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003b664
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10048ff4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], dx
mov edx, 0xf
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], eax
mov dword [esp + 0x18], eax
mov byte [esi + 0x20], al
xor edi, edi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov word [esi + 0x3c], di
mov dword [esi + 0x6c], edx
mov dword [esi + 0x68], eax
mov byte [esi + 0x58], al
mov dword [esi + 0x88], ecx
mov dword [esi + 0x84], eax
mov word [esi + 0x74], ax
mov ecx, esi
mov byte [esp + 0x18], 4
mov dword [esi + 0x8c], 0xb
call fcn.1001e050
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret