joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b74ec
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x6549d2
call fcn.00626aed
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.005b7ea2
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.005b7ea2
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.005b7ea2
mov edi, dword [ebp - 0x48]
add esp, 0x18
mov esi, dword [ebp - 0x58]
push 5
push dword [ebp - 0x50]
push edi
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x5b755b
mov bl, 1
jmp 0x5b75a9
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005b75d6
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push str.ShellExecute_error:
push eax
call fcn.005a0191
mov ecx, 0x70a09c
mov dword [ebp - 0x44], eax
add esp, 0x14
cmp eax, ecx
je 0x5b7599
call fcn.00448620
push dword [ebp - 0x44]
mov ecx, 0x70a09c
call fcn.00448840
lea ecx, [ebp - 0x28]
call fcn.00448620
lea ecx, [ebp - 0x40]
call fcn.00448620
cmp dword [ebp - 0x50], 0
je 0x5b75b8
push dword [ebp - 0x50]
call fcn.0062d677
pop ecx
test edi, edi
je 0x5b75c3
push edi
call fcn.0062d677
pop ecx
test esi, esi
je 0x5b75ce
push esi
call fcn.0062d677
pop ecx
mov al, bl
call fcn.00626a9c
ret

Function at 0x5b76a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.005b7ea2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.005b7ea2
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.00629cd0
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x4c]
and dword [ebp - 0x44], 0
add esp, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], esi
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x44c
mov dword [ebp - 0x40], 0x6631ac
mov dword [ebp - 0x38], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb esi, esi
and esi, dword [ebp - 0x14]
test ebx, ebx
je 0x5b7720
push ebx
call fcn.0062d677
pop ecx
test edi, edi
je 0x5b772b
push edi
call fcn.0062d677
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x5b7732
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
je 0x5b777f
push ebx
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebx
pop ebp
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret

Function at 0x5b80de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x710328]
cmp eax, dword [ecx + 4]
jg 0x5b8225
cmp dword [0x70a1e4], 0
mov edi, 0x70a1d4
jne 0x5b8215
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005b8bc8
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x5b81c1
mov ecx, dword [0x70a1e8]
cmp ecx, 0x10
jb 0x5b81a1
mov eax, dword [0x70a1d4]
inc ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x22c], eax
cmp ecx, 0x1000
jb 0x5b8198
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x22c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
push ecx
push eax
call fcn.00626a67
pop ecx
pop ecx
and dword [0x70a1e4], 0
mov ecx, edi
push esi
mov dword [0x70a1e8], 0xf
mov byte [0x70a1d4], 0
call fcn.00448840
lea ecx, [ebp - 0x224]
call fcn.00448620
mov ecx, dword [0x70a1e4]
test ecx, ecx
je 0x5b8215
mov edx, dword [0x70a1e8]
mov eax, edi
mov esi, dword [0x70a1d4]
cmp edx, 0x10
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x2f
je 0x5b8215
cmp edx, 0x10
mov eax, edi
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x5b8215
mov esi, 0x6d4ba4
push esi
call fcn.0062d730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00448360
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00626a7a
leave
ret
mov esi, 0x710328
push esi
call fcn.00626d2a
cmp dword [0x710328], 0xffffffff
pop ecx
jne 0x5b8113
push 0x65936a
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b8113
Function at 0x5b8255
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0x40
mov eax, 0x654d8b
call fcn.00626aed
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], ebx
call fcn.005b79b2
push eax
lea eax, [ebp - 0x28]
push str..pipe_
push eax
call fcn.005a01c7
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.005b7ea2
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00448620
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5b82d5
push ebx
lea eax, [ebp - 0x4c]
mov edi, str.__quit_application
push eax
push edi
call fcn.0062d730
pop ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.005b5c8c
mov esi, eax
test esi, esi
je 0x5b83d2
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push esi
call edi
test eax, eax
je 0x5b842d
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x5b83d8
push 0x2710
push esi
call edi
test eax, eax
je 0x5b83d2
cmp eax, 0x102
je 0x5b83b8
cmp eax, 0xffffffff
je 0x5b8355
mov esi, str.WaitForSingleObject_unknown_error
push esi
call fcn.0062d730
pop ecx
push eax
push esi
mov ecx, 0x70a09c
call fcn.00448260
call fcn.005b5c8c
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x5b842f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7f8c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push str.WaitForSingleObject_failed:
push eax
call fcn.005a0191
mov edi, eax
mov esi, 0x70a09c
add esp, 0x14
cmp edi, esi
je 0x5b8398
mov ecx, esi
call fcn.00448620
push edi
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x40]
call fcn.00448620
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00448620
call fcn.005b5c8c
neg eax
sbb al, al
inc al
jmp 0x5b83d4
mov esi, str.WaitForSingleObject_timed_out
push esi
call fcn.0062d730
pop ecx
push eax
push esi
mov ecx, 0x70a09c
call fcn.00448260
jmp 0x5b83ab
mov al, 1
mov bl, al
jmp 0x5b842f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7f8c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push str.TerminateProcess_failed:
push eax
call fcn.005a0191
mov edi, eax
mov esi, 0x70a09c
add esp, 0x14
cmp edi, esi
je 0x5b841b
mov ecx, esi
call fcn.00448620
push edi
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x40]
call fcn.00448620
lea ecx, [ebp - 0x28]
call fcn.00448620
jmp 0x5b842f
mov bl, 1
cmp dword [ebp - 0x48], 0
je 0x5b843e
push dword [ebp - 0x48]
call fcn.0062d677
pop ecx
mov al, bl
call fcn.00626a9c
ret
Function at 0x5b8446
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x654dc2
call fcn.00626aed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x71032c]
cmp eax, dword [ecx + 4]
jg 0x5b85bc
cmp dword [0x70a1fc], 0
mov edi, 0x70a1ec
jne 0x5b85b4
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.005b8bc8
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x5b8522
mov eax, dword [0x70a200]
cmp eax, 0x10
jb 0x5b8502
mov ecx, dword [0x70a1ec]
inc eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], ecx
cmp eax, 0x1000
jb 0x5b84f9
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x24c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x250]
push eax
push ecx
call fcn.00626a67
pop ecx
pop ecx
and dword [0x70a1fc], 0
mov ecx, edi
push esi
mov dword [0x70a200], 0xf
mov byte [0x70a1ec], 0
call fcn.00448840
lea ecx, [ebp - 0x230]
call fcn.00448620
mov ecx, dword [0x70a1fc]
test ecx, ecx
je 0x5b8576
mov edx, dword [0x70a200]
mov eax, edi
mov esi, dword [0x70a1ec]
cmp edx, 0x10
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x2f
je 0x5b8576
cmp edx, 0x10
mov eax, edi
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x5b8576
mov esi, 0x6d4ba4
push esi
call fcn.0062d730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00448360
push str._installer_tmp_
call fcn.005b7b70
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005a51ef
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5b859e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00448360
lea ecx, [ebp - 0x248]
call fcn.00448620
mov eax, edi
call fcn.00626a9c
ret
mov esi, 0x71032c
push esi
call fcn.00626d2a
cmp dword [0x71032c], 0xffffffff
pop ecx
jne 0x5b8475
push 0x659374
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b8475
Function at 0x5b862f
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x654776
call fcn.00626aed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7102fc]
cmp eax, dword [ecx + 4]
jg 0x5b873d
cmp dword [0x70a124], 0
mov ebx, 0x70a114
jne 0x5b8735
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062d692
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 0x10
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005b8bc8
push 0x6d4ba4
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a015e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5b871a
mov eax, dword [0x70a128]
cmp eax, 0x10
jb 0x5b86fa
mov ecx, dword [0x70a114]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5b86f1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00626a67
pop ecx
pop ecx
and dword [0x70a124], 0
mov ecx, ebx
push edi
mov dword [0x70a128], 0xf
mov byte [0x70a114], 0
call fcn.00448840
lea ecx, [ebp - 0x28]
call fcn.00448620
lea ecx, [ebp - 0x40]
call fcn.00448620
test esi, esi
je 0x5b8735
push esi
call fcn.0062d677
pop ecx
mov eax, ebx
call fcn.00626a9c
ret
mov esi, 0x7102fc
push esi
call fcn.00626d2a
cmp dword [0x7102fc], 0xffffffff
pop ecx
jne 0x5b865b
push 0x65937e
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b865b
Function at 0x5b8892
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x654776
call fcn.00626aed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x710300]
cmp eax, dword [ecx + 4]
jg 0x5b89a0
cmp dword [0x70a13c], 0
mov ebx, 0x70a12c
jne 0x5b8998
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062d692
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 2
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005b8bc8
push 0x6d4ba4
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a015e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5b897d
mov eax, dword [0x70a140]
cmp eax, 0x10
jb 0x5b895d
mov ecx, dword [0x70a12c]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5b8954
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00626a67
pop ecx
pop ecx
and dword [0x70a13c], 0
mov ecx, ebx
push edi
mov dword [0x70a140], 0xf
mov byte [0x70a12c], 0
call fcn.00448840
lea ecx, [ebp - 0x28]
call fcn.00448620
lea ecx, [ebp - 0x40]
call fcn.00448620
test esi, esi
je 0x5b8998
push esi
call fcn.0062d677
pop ecx
mov eax, ebx
call fcn.00626a9c
ret
mov esi, 0x710300
push esi
call fcn.00626d2a
cmp dword [0x710300], 0xffffffff
pop ecx
jne 0x5b88be
push 0x659392
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b88be
Function at 0x5ba153
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x3c
mov eax, 0x6550b8
call fcn.00626aed
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x1c]
inc ebx
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
push eax
push 0x673684
push ebx
push 0
push 0x6736c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5ba1a2
xor al, al
jmp 0x5ba31f
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
call fcn.005b7ea2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x5ba30c
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call fcn.005b7ea2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x5ba30c
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.005b7ea2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x5ba30c
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x48]
call fcn.005b7ea2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x5ba30c
mov eax, dword [ebp - 0x2c]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x5ba30c
cmp dword [edi + 0x10], 0
je 0x5ba272
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.005b7ea2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp + 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x5ba30c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x38]
push edx
push 0x6736b4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x5ba30c
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5ba295
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edi, str..lnk
add eax, 0xfffffffc
add eax, ecx
push edi
push eax
call fcn.0063cfc0
pop ecx
pop ecx
test eax, eax
jne 0x5ba2bd
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.005b7ea2
pop ecx
pop ecx
jmp 0x5ba2e7
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005a51ef
lea eax, [ebp - 0x34]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7ea2
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00448620
mov eax, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x5ba30c
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5ba30e
xor bl, bl
cmp dword [ebp - 0x34], 0
je 0x5ba31d
push dword [ebp - 0x34]
call fcn.0062d677
pop ecx
mov al, bl
call fcn.00626a9c
ret
Function at 0x5ba412
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xbc
mov eax, 0x65517f
call fcn.00626aed
mov edi, dword [ebp + 8]
call fcn.005c0834
cmp dword [eax + 0x960], 6
jae 0x5ba476
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfileAuthorizedApplicationsList
lea ecx, [ebp - 0x28]
call fcn.00448670
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0x40]
push reloc.WS2_32.dll_bind
push eax
call fcn.005b7176
add esp, 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [eax + 0x10]
call fcn.00448620
lea ecx, [ebp - 0x28]
call fcn.00448620
test esi, esi
setne al
jmp 0x5ba656
and dword [ebp - 0xa8], 0
mov esi, 0x7d0
push esi
push 0
xor bh, bh
mov dword [ebp - 0xa4], 0x3e8
call fcn.0062d692
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
push str.SYSTEMCurrentControlSet_servicesSharedAccessParametersFirewallPolicyFirewallRules
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00448670
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7ea2
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00448620
lea eax, [ebp - 0xb4]
push eax
push 0x20019
push 0
push dword [ebp - 0xa8]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5ba63f
push esi
push eax
mov dword [ebp - 0xc4], 0x3e8
call fcn.0062d692
mov esi, eax
mov dword [ebp - 0xc8], esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push edi
push eax
call fcn.005b3151
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push 0x663dd0
push eax
call fcn.005a0191
add esp, 0x1c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00448620
xor edi, edi
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xac], 0x3e8
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xa8]
push edi
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5ba61c
cmp dword [ebp - 0xb8], 1
jne 0x5ba623
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.005b8bc8
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x5ba5b6
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xa0]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x58]
push eax
call fcn.005ae7f2
mov ecx, 0x70b30c
mov byte [ebp - 4], 8
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.004474f0
lea ecx, [ebp - 0xa0]
mov bl, al
call fcn.00446f10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00448620
test bl, bl
je 0x5ba623
mov bh, 1
jmp 0x5ba623
cmp eax, 0x103
je 0x5ba62c
inc edi
test bh, bh
je 0x5ba546
lea ecx, [ebp - 0x58]
call fcn.00448620
test esi, esi
je 0x5ba63f
push esi
call fcn.0062d677
pop ecx
cmp dword [ebp - 0xa8], 0
je 0x5ba654
push dword [ebp - 0xa8]
call fcn.0062d677
pop ecx
mov al, bh
call fcn.00626a9c
ret
Function at 0x5ba65c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
xor esi, esi
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.00629cd0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5ba6db
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
jne 0x5ba6c1
cmp dword [ebp - 0x218], edi
jne 0x5ba6d4
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5ba6b1
jmp 0x5ba6da
mov esi, dword [ebp - 0x218]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00626a7a
leave
ret

Function at 0x5ba9bd
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x5ba9fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x5ba9f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5baa02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x5baa20
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x428
mov eax, 0x655209
call fcn.00626aed
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
push str._tmp__d.tmp
mov dword [ebp - 4], ebx
call fcn.005b7b70
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005a51ef
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x5baa67
mov esi, dword [esi]
call fcn.00632996
push eax
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.00516e80
add esp, 0xc
lea ecx, [ebp - 0x410]
call fcn.00448620
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x428]
call fcn.00448670
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.005b1d6a
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.005b7ea2
add esp, 0x14
lea ecx, [ebp - 0x410]
call fcn.00448620
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call fcn.00448620
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5bab3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005b7f8c
pop ecx
pop ecx
mov esi, 0x70a09c
mov ecx, esi
call fcn.00448620
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00448840
lea ecx, [ebp - 0x410]
call fcn.00448620
jmp 0x5babc8
push str.test_data
call fcn.0062d730
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x434]
push eax
push esi
push str.test_data
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5bab68
cmp dword [ebp - 0x434], esi
je 0x5baba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005b7f8c
pop ecx
pop ecx
mov esi, 0x70a09c
mov ecx, esi
call fcn.00448620
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00448840
lea ecx, [ebp - 0x410]
call fcn.00448620
jmp 0x5baba7
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
jne 0x5babc8
push dword [ebp - 0x430]
call esi
cmp dword [ebp - 0x430], 0
je 0x5babdd
push dword [ebp - 0x430]
call fcn.0062d677
pop ecx
mov al, bl
call fcn.00626a9c
ret
Function at 0x5bc5c3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
xor ecx, ecx
push eax
push ecx
push esi
push 0x5bc6fa
push ecx
push ecx
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], ecx
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
pop esi
leave
ret