joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b5e9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6cfba6
call fcn.006899cc
sub esp, 0x48
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
push 7
pop esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov word [ebp - 0x24], ax
push ebx
push 0x104
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00457887
push 8
pop edi
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jb 0x44b62c
mov eax, dword [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x44b66d
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x10]
cmp eax, edi
jb 0x44b796
lea eax, [eax*2 + 2]
cmp eax, 0x1000
jmp 0x44b76f
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jb 0x44b678
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44b67b
sub ecx, edx
sar ecx, 1
push ebx
push ecx
lea ecx, [ebp - 0x24]
call fcn.0045b087
cmp dword [ebp + 0x10], 0
je 0x44b6a5
push dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
call fcn.004578e2
xor eax, eax
mov dword [ebp - 0x3c], ebx
push 0x6f723c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov word [ebp - 0x3c], ax
call fcn.004482e2
push 1
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
lea eax, [ebp - 0x54]
push eax
call fcn.0046f4a0
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x44b6fd
mov byte [ebp + 0x10], bl
push dword [ebp + 0x10]
push eax
call fcn.00448215
lea ecx, [ebp - 0x54]
call fcn.0044823e
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], bl
mov ebx, 0x1000
cmp eax, edi
jb 0x44b744
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], ecx
cmp eax, ebx
jb 0x44b73b
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
push str..lnk
lea ecx, [ebp - 0x24]
call fcn.004578e2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00447f71
mov eax, dword [ebp - 0x10]
cmp eax, edi
jb 0x44b796
lea eax, [eax*2 + 2]
cmp eax, ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
jb 0x44b78d
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x44cdde
Capabilities:
Delete file

Disassembly:
mov eax, 0x6cfe4f
call fcn.006899cc
sub esp, 0x49c
and dword [ebp - 0x10], 0
push ebx
push 2
push 0
mov bh, 1
xor bl, bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
test eax, eax
js 0x44cfe7
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x6fcbec
push 1
push 0
mov edi, 0x6fcc1c
push edi
call esi
test eax, eax
js 0x44ce38
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x44ce5d
lea eax, [ebp - 0x10]
xor bh, bh
push eax
push 0x6fcbdc
push 1
push 0
push edi
call esi
test eax, eax
js 0x44cfe5
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x44cfe5
and dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
push 0x6f5dd0
push ecx
call dword [eax]
test eax, eax
js 0x44cfc0
cmp dword [ebp - 0x14], 0
je 0x44cfc0
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push dword [ebp + 0xc]
and dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.004482e2
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0045b945
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x44cec0
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.0044823e
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x44cf16
mov eax, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, 0x1000
jb 0x44cf0d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044810a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push ecx
push eax
call fcn.0068976d
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x44cfc0
mov eax, dword [ebp - 0x10]
push 4
mov ecx, dword [eax]
test bh, bh
je 0x44cf6a
lea edx, [ebp - 0x2a0]
push edx
push 0x104
lea edx, [ebp - 0x4a8]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x44cf66
push dword [ebp + 8]
lea eax, [ebp - 0x4a8]
push eax
call fcn.00698d49
pop ecx
pop ecx
test eax, eax
jne 0x44cf66
mov bl, 1
jmp 0x44cfc0
xor bl, bl
jmp 0x44cfc0
lea edx, [ebp - 0x3e0]
push edx
push 0x104
lea edx, [ebp - 0x154]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0048fdc9
test esi, esi
js 0x44cfb6
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x44cfa3
mov eax, dword [ebp - 0x34]
push dword [ebp + 8]
push eax
call fcn.00698d49
pop ecx
pop ecx
test eax, eax
jne 0x44cfb6
mov bl, 1
jmp 0x44cfb8
xor bl, bl
lea ecx, [ebp - 0x34]
call fcn.0044823e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x44cfe5
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push dword [ebp + 0xc]
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x44e130
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
mov eax, 0x6cff9a
call fcn.006899cc
sub esp, 0x240
push ebx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
inc ecx
mov word [ebp - 0x24c], ax
push ecx
push 0x1a
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ebx
push eax
push ebx
mov dword [ebp - 0x2c], ecx
call edi
test eax, eax
je 0x44e1ab
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x28], ebx
push 0x6f62dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
call fcn.004482e2
mov dword [ebp - 4], 1
jmp 0x44e21b
push ebx
push 0x26
lea eax, [ebp - 0x24c]
push eax
push ebx
call edi
test eax, eax
je 0x44e28e
call fcn.005ac51c
test al, al
je 0x44e1da
cmp dword [0x7e46a8], 0x80000000
mov eax, 0x44e9c6
jb 0x44e1df
mov eax, 0x44e9c1
push 0xc0000000
lea ecx, [ebp - 0x24c]
push ecx
call eax
test al, al
je 0x44e28e
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x28], ebx
push 0x6f62dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
call fcn.004482e2
mov dword [ebp - 4], 2
push 1
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
lea eax, [ebp - 0x24c]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
call fcn.004482e2
lea eax, [ebp - 0x44]
push eax
call fcn.0046f4a0
push eax
mov ecx, esi
call fcn.00448080
lea ecx, [ebp - 0x44]
call fcn.0044823e
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44e28e
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x44e285
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x44e6d8
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
push edi
push 0x26
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44e742
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x44e6f4
sub ecx, edx
sar ecx, 1
push 0x5c
pop edi
lea eax, [ecx + ecx]
lea ecx, [eax + esi]
je 0x44e727
cmp word [ecx - 2], di
jne 0x44e727
add ecx, 0xfffffffe
xor edx, edx
mov word [ecx], dx
jmp 0x44e727
cmp word [ecx - 2], di
je 0x44e72b
add ecx, 0xfffffffe
cmp ecx, esi
jne 0x44e71e
sub eax, ecx
add eax, 2
add eax, esi
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.0068b600
add esp, 0xc
jmp 0x44e758
mov ecx, str.Program_Files
sub esi, ecx
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x44e749
pop edi
pop esi
ret 4
Function at 0x4502cf
Capabilities:
Create directory

Disassembly:
mov eax, 0x6d024e
call fcn.006899cc
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0x48]
push eax
call fcn.00491132
xor ebx, ebx
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], ebx
jb 0x4502f9
mov eax, dword [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
sub esp, 0x18
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
mov esi, 0x7ead1c
push eax
mov ecx, esi
call fcn.0044a83e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0049c657
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0044a83e
mov ecx, dword [ebp - 0x18]
call fcn.0049c2fb
push 0xc4
call fcn.0068973d
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x45036b
mov ecx, eax
call fcn.00476b67
jmp 0x45036d
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], eax
test eax, eax
je 0x450380
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xb0], 1
mov ecx, esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0044a83e
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edi, str.http:__apps.bittorrent.com_utorrent_onboarding_player.btapp
push edi
push eax
call fcn.0049d495
mov esi, dword [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4503ba
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
jne 0x450431
push edi
mov byte [ebp - 0x18], bl
lea ecx, [ebp - 0x30]
push dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
push 0x3b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], bl
call fcn.00416cb0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 1
push ebx
push 0x452543
lea eax, [ebp - 0x30]
push eax
call fcn.005d323b
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x450431
mov ecx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x450428
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x450442
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
call fcn.0044823e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x451dba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x451e34
push esi
lea eax, [ebp - 0x208]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x208]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x451e05
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x451e34
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0048ff8f
test al, al
je 0x451e34
mov al, 1
jmp 0x451e36
xor al, al
pop edi
pop esi
leave
ret

Function at 0x451e3a
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6cf68d
call fcn.006899cc
sub esp, 0x440
lea eax, [ebp - 0x44c]
push ebx
push esi
push edi
push 0x208
push eax
push 0x6fa7d0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.0049a452
test al, al
je 0x451f5e
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x451f5c
xor ecx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], cx
mov esi, dword [ebp + 0xc]
sub esp, 0x18
mov dword [ebp - 4], ebx
push 6
pop ecx
mov edi, esp
cmp dword [esi + 0x10], ebx
je 0x451eca
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, eax
lea eax, [ebp - 0x3c]
push 6
pop ecx
mov edi, esp
push str.__s___s
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00475719
add esp, 0x38
jmp 0x451edf
mov esi, eax
lea eax, [ebp - 0x3c]
push str.__s_
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00475719
add esp, 0x20
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x451ef2
mov byte [ebp + 8], bl
push dword [ebp + 8]
push eax
call fcn.00448215
lea ecx, [ebp - 0x3c]
call fcn.0044823e
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x451f06
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00698d49
mov ebx, eax
mov eax, dword [ebp - 0x10]
neg ebx
pop ecx
sbb bl, bl
inc bl
pop ecx
cmp eax, 8
jb 0x451f58
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, 0x1000
jb 0x451f4f
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov al, bl
jmp 0x451f5e
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x45228f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6d0469
call fcn.006899cc
sub esp, 0x258
push esi
lea ecx, [ebp - 0x10]
call fcn.00499ce9
push 0x20019
push str.SoftwareBitTorrent
xor esi, esi
lea ecx, [ebp - 0x10]
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], esi
call fcn.00499faa
test al, al
je 0x4523a7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.0049a00a
cmp dword [ebp - 0x14], esi
je 0x4523a7
push esi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4523a7
push 0x6f62dc
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x44]
push str._s_stats__s.txt
push eax
call fcn.00475719
add esp, 0x10
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
jb 0x45232f
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0048fcb1
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
jb 0x452345
mov eax, dword [ebp - 0x2c]
push 0x6f6310
push eax
call fcn.0069ab9c
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040fad0
test esi, esi
je 0x45239f
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0048fdc9
cmp dword [eax + 0x14], 8
jb 0x452374
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push str._u__d__S_n
push esi
call fcn.0045bec4
add esp, 0x14
lea ecx, [ebp - 0x5c]
call fcn.0044823e
push esi
call fcn.0069a5ee
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0044823e
lea ecx, [ebp - 0x10]
call fcn.00499cf4
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4523be
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push esi
xor esi, esi
push esi
push 0x25
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
sub esp, 0x18
mov ecx, esp
push eax
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], 7
call fcn.004482e2
push dword [ebp + 8]
call fcn.0046f4a0
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x4555cb
Capabilities:
Create pipe
Read file on windows
Read pipe

Disassembly:
mov eax, 0x6d0728
call fcn.006899cc
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x30]
push ebx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp - 0x10]
push 2
push ebx
push ebx
push eax
call esi
push eax
push dword [ebp - 0x1c]
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.005d1ae6
mov edi, dword [ebp + 8]
xor edx, edx
xor ecx, ecx
mov dword [edi], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], 1
test al, al
je 0x455761
push 0x104
call fcn.0046f1ab
xor ecx, ecx
mov dword [ebp - 0x14], eax
push ecx
lea eax, [ebp + 0xc]
mov byte [ebp + 0x13], cl
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
je 0x45571d
mov ebx, dword [ebp - 0x14]
cmp dword [ebp + 0xc], 0
jne 0x4556c2
cmp byte [ebp + 0x13], 0
jne 0x455717
push 0xc8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x455700
mov byte [ebp + 0x13], 1
jmp 0x455700
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, 0x103
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4556e8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4556fe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x455717
cmp esi, 0x103
je 0x455717
mov eax, dword [ebp + 0xc]
add esi, eax
xor ecx, ecx
lea eax, [ebp + 0xc]
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x45569b
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
mov byte [esi + eax], 0
lea eax, [ebp - 0x48]
push eax
call fcn.0048fdc9
push eax
mov ecx, edi
call fcn.00448080
lea ecx, [ebp - 0x48]
call fcn.0044823e
push 1
push dword [ebp - 0x14]
call fcn.0046f19e
cmp dword [ebp + 0x18], 0
je 0x45575a
push dword [ebp + 0x18]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x18]
call ebx
jmp 0x45576b
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x45576b
or dword [ecx], 0xffffffff
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x455fdd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
jmp 0x456061
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 8]
push eax
push 0x7530
push 1
push 0x40000000
push 1
push 0x16
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x456038
push dword [ebp - 4]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x45607e
test edi, edi
je 0x45607e
push dword [ebp - 4]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x456061
push 0x7530
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x7c96ec
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x455fe6
mov al, 1
pop edi
pop esi
leave
ret
push edi
push esi
push str.TerminateSessionClientInstances_failed__hp:0x_X_result:_d_n
call fcn.0040f570
add esp, 0xc
xor al, al
jmp 0x45607a
Function at 0x45705b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x4570ac
cmp byte [esi + 0x3e], bl
je 0x4570ac
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
cmp di, ax
je 0x4570db
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x4570b3
sub eax, 1
je 0x4570b6
dec eax
sub eax, 1
jne 0x4570db
mov byte [esi + 0x3e], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [esi + 0x3e], bl
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4570d3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0069b116
add esp, 0x10
cmp edi, eax
jne 0x4570db
cmp byte [esi + 0x3e], bl
sete al
jmp 0x4570ae
xor al, al
jmp 0x4570ae