joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004dde0
Capabilities:
Create directory
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x1011c710]
and word [ebp + 0x84], 0
push ebx
push esi
push edi
xor eax, ebp
mov dword [ebp + 0x188], eax
mov ebx, ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp + 0x86]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x84]
push eax
call fcn.1006d2be
lea eax, [ebp + 0x84]
push eax
lea esi, [ebx + 0x84]
push 0x100e94f4
push esi
call fcn.10001d75
add esp, 0x10
push 0
mov ecx, esi
call fcn.1000192d
mov ecx, dword [ebx + 0x70]
push 0x10000000
push str.everyone
push eax
call fcn.1006df5a
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000170f
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x80], 0
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.psnetwork.ini
push 0x104
stosb byte es:[edi], al
lea eax, [ebp - 0x80]
push eax
push 0x100e2d52
push str.MsgName
push str.PPSADV
call fcn.100028ab
lea eax, [ebp - 0x80]
push eax
call fcn.100ab7d0
test eax, eax
pop ecx
jbe 0x1004dedf
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x84]
push eax
lea eax, [ebx + 0x7c]
push 0x100e94d4
push eax
call fcn.10001d75
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push eax
call fcn.100ae99d
pop ecx
call fcn.100ae9aa
cdq
mov ecx, 0x1b58
idiv ecx
mov edi, edx
call esi
sub eax, edi
push eax
lea eax, [ebp + 0x84]
push eax
lea esi, [ebx + 0x78]
push 0x100e94bc
push esi
call fcn.10001d75
add esp, 0x10
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x1004df60
push 0
mov ecx, esi
call fcn.1000192d
mov ecx, dword [ebx + 0x70]
push 0x10000000
push str.everyone
push eax
call fcn.1006df5a
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000170f
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [ebp + 0x84]
push eax
push str._s_skinppslogo.gif
add ebx, 0x80
push ebx
call fcn.10001d75
mov ecx, dword [ebp + 0x188]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
add ebp, 0x18c
leave
ret
Function at 0x1004e027
Capabilities:
Delete directory

Disassembly:
mov eax, 0x100dad4d
call fcn.100ac440
sub esp, 0x28
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 0x14], ecx
jne 0x1004e046
xor eax, eax
jmp 0x1004e150
lea ecx, [ebp - 0x34]
call fcn.100958db
mov dword [ebp - 4], esi
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s.
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
add esp, 0xc
push esi
push 0x100e3810
lea ecx, [ebp - 0x10]
call fcn.10003f61
cmp eax, 0xffffffff
jne 0x1004e09e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
jmp 0x1004e142
push edi
mov edi, dword [ebp - 0x10]
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.1009596e
cmp eax, esi
je 0x1004e11a
push ebx
lea ecx, [ebp - 0x34]
call fcn.100957d2
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.100958a2
test eax, eax
jne 0x1004e115
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
test eax, eax
lea ecx, [ebp - 0x34]
je 0x1004e0f9
lea eax, [ebp - 0x18]
push eax
call fcn.10095af4
push dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1004e027
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
jmp 0x1004e10d
lea eax, [ebp - 0x1c]
push eax
call fcn.10095af4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001199
cmp ebx, esi
jne 0x1004e0b1
pop ebx
lea ecx, [ebp - 0x34]
call fcn.10095702
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
lea ecx, [edi - 0x10]
jne 0x1004e139
call fcn.10001199
jmp 0x1004e141
call fcn.10001199
xor esi, esi
inc esi
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100958ff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1004e17b
Capabilities:
Delete file

Disassembly:
mov eax, 0x100dad6f
call fcn.100ac440
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
lea esi, [edi + 0x7c]
mov eax, dword [esi]
je 0x1004e28e
cmp dword [eax - 0xc], ebx
je 0x1004e1b9
lea eax, [edi + 0x78]
push esi
push eax
call fcn.10008590
test al, al
pop ecx
pop ecx
je 0x1004e1b9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add edi, 0x78
push esi
push edi
call fcn.10008590
test al, al
pop ecx
pop ecx
je 0x1004e2ab
push edi
mov ecx, esi
call fcn.10001eb6
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push 0x5c
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10003e18
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.10008b05
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10001eb6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001199
push 0x2e
lea ecx, [ebp + 8]
call fcn.10003e18
add eax, 0xfffffffc
push eax
push 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.10003ff3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10001eb6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001199
push str.psnetwork.ini
push ebx
lea ecx, [ebp + 8]
call fcn.1000192d
push eax
push str.MsgName
push str.PPSADV
call fcn.10002987
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.1000170f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001199
jmp 0x1004e2ab
cmp dword [eax - 0xc], ebx
je 0x1004e2ab
add edi, 0x78
push esi
push edi
call fcn.10008590
test al, al
pop ecx
pop ecx
je 0x1004e2ab
push esi
mov ecx, edi
call fcn.10001eb6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1004e3e7
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x100dadb3
call fcn.100ac440
sub esp, 0x278
mov eax, dword [0x1011c710]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ebx, ecx
mov dword [ebp - 0x280], edi
jne 0x1004e41d
xor eax, eax
jmp 0x1004e618
mov dword [ebp - 0x27c], 1
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
push dword [esi + 0x30]
and dword [ebp - 4], 0
push dword [ebx + 0x84]
lea eax, [ebp - 0x278]
push 0x100e2db4
push eax
call fcn.10001d75
xor esi, esi
push esi
push dword [ebp - 0x278]
call fcn.100927bd
add esp, 0x18
cmp eax, esi
mov dword [ebp - 0x26c], eax
je 0x1004e608
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, esi
je 0x1004e4aa
dec eax
push eax
mov ecx, edi
call fcn.10020bb8
cmp al, 0x5c
je 0x1004e49b
push 0x100e2ac4
mov ecx, edi
call fcn.10007475
push dword [edi]
push dword [ebp - 0x26c]
call fcn.10090d37
pop ecx
pop ecx
lea eax, [ebp - 0x268]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x26c]
call fcn.10090cf8
add esp, 0xc
test eax, eax
je 0x1004e4cb
mov dword [ebp - 0x27c], esi
mov eax, dword [ebp - 0x268]
cmp eax, esi
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x274], esi
jle 0x1004e5df
mov edi, 0x10000000
mov esi, str.everyone
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x274]
push dword [ebp - 0x26c]
call fcn.10090cf8
add esp, 0xc
test eax, eax
jne 0x1004e5df
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x280]
push dword [eax]
lea eax, [ebp - 0x270]
push 0x100e3bf4
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
add esp, 0x10
push 0
lea ecx, [ebx + 0x84]
call fcn.1000192d
mov ecx, dword [ebx + 0x70]
push edi
push esi
push eax
call fcn.1006df5a
push 0
lea ecx, [ebp - 0x270]
call fcn.1000192d
mov ecx, dword [ebx + 0x70]
push edi
push esi
push eax
call fcn.1006df5a
push 0x80
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x274]
push dword [ebp - 0x26c]
call fcn.1009280c
mov ecx, dword [ebp - 0x270]
add esp, 0xc
add ecx, 0xfffffff0
test eax, eax
mov byte [ebp - 4], 0
jne 0x1004e5da
call fcn.10001199
inc dword [ebp - 0x274]
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x284]
jl 0x1004e4ef
jmp 0x1004e5df
call fcn.10001199
push dword [ebp - 0x26c]
call fcn.10090d66
test al, al
pop ecx
push dword [ebp - 0x26c]
je 0x1004e5fc
call fcn.10092825
jmp 0x1004e601
call fcn.10092fef
mov esi, dword [ebp - 0x27c]
pop ecx
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.10001199
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 8
Function at 0x1004e97d
Capabilities:
Create directory
Set file attributes

Disassembly:
mov eax, 0x100dadd5
call fcn.100ac440
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
jne 0x1004e99c
xor eax, eax
jmp 0x1004eb62
push ebx
lea ebx, [edi + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
test eax, eax
mov dword [ebp - 0x14], ebx
je 0x1004e9d5
inc eax
push eax
call fcn.100c6c30
pop ecx
push dword [ebx]
mov dword [ebp + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
call fcn.100ab7d0
test eax, eax
pop ecx
jbe 0x1004e9d5
mov eax, dword [ebp + 8]
jmp 0x1004eb61
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [edi + 0x30]
lea ebx, [esi + 0x84]
push dword [ebx]
lea eax, [ebp - 0x10]
push 0x100e2db4
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
add esp, 0x10
cmp dword [esi + 0x70], 0
je 0x1004ea8a
push 0
mov ecx, ebx
call fcn.1000192d
mov ecx, dword [esi + 0x70]
push 0x10000000
push str.everyone
push eax
call fcn.1006df5a
push 0
lea ecx, [ebp - 0x10]
call fcn.1000192d
mov ecx, dword [esi + 0x70]
push 0x10000000
push str.everyone
push eax
call fcn.1006df5a
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 0x30]
lea edx, [eax + 0x324]
push edx
push dword [ebp - 0x10]
push ecx
lea ecx, [eax + 0x32c]
call fcn.10043fe6
test eax, eax
jne 0x1004ea9e
push 4
push dword [ebp - 0x10]
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
jne 0x1004eb47
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push dword [edi + 0x38]
lea eax, [ebp + 8]
push dword [ebx]
mov byte [ebp - 4], 2
push 0x100e2db4
push eax
call fcn.10001d75
add esp, 0x10
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp + 8]
push eax
push edi
mov ecx, esi
call fcn.1004e3e7
test eax, eax
je 0x1004eb3c
push dword [edi + 8]
mov esi, dword [ebp - 0x14]
push dword [edi + 0x38]
push dword [ebx]
push 0x100e952c
push esi
call fcn.10001d75
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.100c6c30
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
inc eax
push eax
push 0
push edi
call fcn.100ab720
add esp, 0x24
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1004eb3c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001199
jmp 0x1004eb49
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001199
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001199
mov eax, edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10051549
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100db215
call fcn.100ac440
push ecx
push esi
mov esi, ecx
or dword [esi + 8], 0xffffffff
and dword [esi + 0xc], 0
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 5
and dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], 0x100e960c
call fcn.10002e95
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.1001a02a
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.10002fed
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.1004dcea
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10055170
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100db5c8
call fcn.100ac440
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
inc edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, esi
jl 0x100551de
lea eax, [ebp - 0x18]
push eax
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
je 0x100551b4
xor edi, edi
jmp 0x100551c2
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edi, eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
mov dword [ebp - 0x14], esi
je 0x100551fc
push str.ppStream
push dword [ebp + 8]
call fcn.100ac910
pop ecx
pop ecx
jmp 0x100551fc
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x1005537e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x6bc], 0
jne 0x100553ce
mov eax, dword [esi + 0x678]
test eax, eax
je 0x100553ce
push edi
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100553cd
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x678], 0
pop edi
pop esi
leave
ret

Function at 0x100553d1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x678]
test eax, eax
je 0x10055418
push esi
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10055417
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x678], 0
pop esi
pop edi
leave
ret
Function at 0x100561fa
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100d8589
call fcn.100ac440
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, 0x100e3ab4
push ebp
push 0
mov ebx, str.DownLoad_time
push ebx
mov edi, str.PPSADV
push edi
mov esi, ecx
call fcn.100027f5
mov ecx, dword [esi + 0x224]
cmp dword [ecx + 0x78], 0
mov dword [esp + 0x10], eax
jne 0x1002e08c
test eax, eax
je 0x1002e02d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0xdbba0
jbe 0x1002e08c
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 4]
push 0
push 0
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
and dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x14]
push 0x100e2dcc
push eax
call fcn.10001d75
mov esi, dword [esp + 0x1c]
add esp, 0xc
push ebp
push esi
push ebx
push edi
call fcn.10002987
lea ecx, [esi - 0x10]
call fcn.10001199
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret
push ebx
push esi
push edi
push str.start_to_filter_ad_OnFlvThreadStartPlayAds
mov ebx, str.c:PowerPlayer.txt
push ebx
mov esi, ecx
call fcn.1008eb92
mov edx, dword [esi + 0x5ec]
xor edi, edi
cmp dword [edx + 0x284], edi
pop ecx
pop ecx
je 0x10056297
lea eax, [esi + 0x720]
lea ecx, [esi + 0x724]
mov dword [esi + 0x730], edi
mov dword [esi + 0x734], edi
mov dword [esi + 0x738], edi
mov dword [esi + 0x73c], edi
mov dword [eax], edi
mov dword [ecx], edi
mov dword [esi + 0x728], edi
cmp dword [edx + 0x248], edi
jne 0x1005625e
xor edx, edx
inc edx
mov dword [eax], edx
mov dword [ecx], edx
cmp dword [esi + 0x6e0], edi
je 0x10056297
push str.start_to_play_ad
push ebx
call fcn.1008eb92
mov eax, dword [esi + 0x6e0]
pop ecx
pop ecx
push edi
push edi
push 0x929
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, dword [esi + 0x6e0]
pop edi
pop esi
pop ebx
jmp 0x1002dfde
pop edi
pop esi
pop ebx
ret
Function at 0x10056e2e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x1a4
mov eax, dword [0x1011c710]
push edi
xor eax, ebp
push 0x94
mov dword [ebp + 0x120], eax
xor edi, edi
lea eax, [ebp - 0x7c]
push 0
inc edi
push eax
mov dword [ebp - 0x80], edi
call fcn.100ab720
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10056ec6
cmp dword [ebp - 0x6c], edi
je 0x10056ec6
cmp dword [ebp - 0x78], 6
je 0x10056e89
cmp dword [ebp - 0x78], 7
jne 0x10056ec6
push 0x41
pop ecx
xor eax, eax
mov byte [ebp + 0x18], 0
lea edi, [ebp + 0x19]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
push str.ppstream.exe
push eax
call fcn.100ac4d5
test eax, eax
pop ecx
pop ecx
jne 0x10056ec6
and dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x120]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop edi
call fcn.100ac33f
add ebp, 0x124
leave
ret
Function at 0x100592fe
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x1011c710]
push ebx
push esi
mov esi, dword [ebp + 0x3c4]
xor eax, ebp
push edi
mov dword [ebp + 0x3b8], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 1
call fcn.1005536c
xor ebx, ebx
test eax, eax
je 0x1005933a
mov dword [ebp - 0x4c], ebx
lea edi, [ecx + 0x5ec]
mov ecx, dword [edi]
add ecx, 0x53c
call fcn.1007c00f
test eax, eax
je 0x1005935a
mov dword [ebp - 0x4c], ebx
mov dword [esi], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x464]
cmp eax, ebx
je 0x10059376
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10059376
mov dword [ebp - 0x4c], ebx
push 0x24
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.100ab720
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x50]
cmp dword [edi + 0x6e0], ebx
je 0x10059407
cmp dword [ebp - 0x6c], 2
jae 0x10059407
lea eax, [ebp - 0x58]
push eax
push 0x20019
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [ebp - 0x54], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100593e9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push str.MHz
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jbe 0x100593fe
mov ecx, dword [edi + 0x6e0]
cmp eax, dword [ecx + 0x2cc]
jae 0x10059407
mov dword [ebp - 0x4c], ebx
mov dword [esi], 1
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
mov esi, str.60EBAB3E_35C4_49ff_A1AA_0CA16FD0EF5F
push esi
call ebx
mov edx, eax
test edx, edx
je 0x10059451
xor eax, eax
mov byte [ebp - 0x48], 0
mov ecx, 0xff
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3ff
lea eax, [ebp - 0x48]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
push esi
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10059451
and dword [ebp - 0x4c], eax
push 0x100eaf58
push str.SKIN_MAIN_FRAME_CLASS
call ebx
test eax, eax
pop edi
pop esi
pop ebx
je 0x10059468
and dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x50]
call fcn.10056e2e
test eax, eax
jne 0x10059477
and dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x3b8]
mov eax, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.100ac33f
add ebp, 0x3bc
leave
ret 4
Function at 0x1005aca5
Capabilities:
Create process on windows
Get file attributes

Disassembly:
mov eax, 0x100db790
call fcn.100ac440
sub esp, 0x5c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x1005ade9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1005ade9
push ebx
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.zbrowser.ini
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.1000192d
push eax
push 0x100e2d52
push 0x100eb09c
push str.config
call fcn.100028ab
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000170f
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 0xc], esi
je 0x1005addc
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x1005addc
cmp eax, 0xffffffff
je 0x1005addc
push edi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.100ab720
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x68], edi
call fcn.100ab720
add esp, 0x18
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push str._s___s_
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
mov edi, dword [ebp - 0x14]
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1005adb7
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x1005add0
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
push ebx
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x1005add3
xor esi, esi
inc esi
lea ecx, [edi - 0x10]
call fcn.10001199
pop edi
lea ecx, [ebx - 0x10]
call fcn.10001199
mov eax, esi
pop ebx
jmp 0x1005adeb
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8