joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c8ba
Capabilities:
Delete file

Disassembly:
mov eax, 0x6aa8d2
call fcn.00651da4
sub esp, 0x598
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 - 0x30], eax
and dword [ebp - 4], 0
test eax, eax
js 0x42ca84
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x6d8fc0
push 1
push 0
mov edi, 0x6d8ff0
push edi
call esi
test eax, eax
js 0x42c914
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x42c939
lea eax, [ebp - 0x10]
xor bh, bh
push eax
push 0x6d8fb0
push 1
push 0
push edi
call esi
test eax, eax
js 0x42ca82
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42ca82
lea edx, [ebp - 0x14]
xor edi, edi
push edx
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
push 0x6d1d24
push ecx
call dword [eax]
test eax, eax
js 0x42ca5d
cmp dword [ebp - 0x14], edi
je 0x42ca5d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00428153
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043b84e
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42c987
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
push edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push edi
push 1
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.004284eb
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004284eb
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x42ca5d
mov eax, dword [ebp - 0x10]
push 4
mov ecx, dword [eax]
test bh, bh
je 0x42ca03
lea edx, [ebp - 0x5a4]
push edx
push 0x104
lea edx, [ebp - 0x354]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x42c9ff
push dword [ebp + 8]
lea eax, [ebp - 0x354]
push eax
call fcn.006775ba
pop ecx
pop ecx
test eax, eax
jne 0x42c9ff
mov bl, 1
jmp 0x42ca5d
xor bl, bl
jmp 0x42ca5d
lea edx, [ebp - 0x28c]
push edx
push 0x104
lea edx, [ebp - 0x14c]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0047aca8
test esi, esi
js 0x42ca4f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42ca3c
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.006775ba
pop ecx
pop ecx
test eax, eax
jne 0x42ca4f
mov bl, 1
jmp 0x42ca51
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004284eb
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x42ca82
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
mov esp, ebp
pop ebp
ret 8
Function at 0x42dea6
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 0x42df10
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42dec2
sub ecx, edx
sar ecx, 1
push 0x5c
pop edi
lea eax, [ecx + ecx]
lea ecx, [eax + esi]
je 0x42def5
cmp word [ecx - 2], di
jne 0x42def5
add ecx, 0xfffffffe
xor edx, edx
mov word [ecx], dx
jmp 0x42def5
cmp word [ecx - 2], di
je 0x42def9
add ecx, 0xfffffffe
cmp ecx, esi
jne 0x42deec
sub eax, ecx
add eax, 2
add eax, esi
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.00669cc0
add esp, 0xc
jmp 0x42df26
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 0x42df17
pop edi
pop esi
ret 4
Function at 0x42f73b
Capabilities:
Create directory

Disassembly:
mov eax, 0x6aac58
call fcn.00651da4
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.00480de1
mov eax, dword [ebp - 0x30]
xor ebx, ebx
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], ebx
jae 0x42f765
lea eax, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0042812e
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov esi, 0x7c6f94
push eax
mov ecx, esi
call fcn.0042a797
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004862bb
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0042a797
mov ecx, dword [ebp - 0x14]
call fcn.00485ffb
push 0xc4
call fcn.00651ae6
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x42f7cf
mov ecx, eax
call fcn.00463684
jmp 0x42f7d1
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42f7e4
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 - 0x14]
mov byte [ebp - 4], 3
push eax
call fcn.0042a797
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edi, 0x6d5bf8
push edi
push eax
call fcn.00486de3
mov esi, dword [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x42f81e
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
jne 0x42f853
push edi
lea ecx, [ebp - 0x48]
call fcn.0040f49f
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 1
push ebx
push 0x4316bd
lea eax, [ebp - 0x48]
push eax
call fcn.005ab180
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040facf
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x42f864
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430127
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6aad5b
call fcn.00651da4
sub esp, 0x7c
push ebx
push esi
push str.netsh.exe
lea ecx, [ebp - 0x58]
call fcn.00428153
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0043153b
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004284eb
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
push 0x10
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, str.enterpriseclient
test ax, ax
js 0x43018a
mov ecx, 0x6d63f8
cmp byte [0x7c05d8], 6
jb 0x430238
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
push ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push str.interface_ipv6_set_teredo__s
push eax
call fcn.00462014
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x4301c5
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x4301d1
lea ecx, [ebp - 0x40]
push 1
push ebx
push 1
lea edx, [ebp - 0x58]
push edx
push eax
push ecx
call fcn.00432adc
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov bl, al
call fcn.004284eb
test bl, bl
je 0x430214
mov esi, 0x6d6444
push esi
call fcn.004287c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004286de
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x430233
mov esi, str.Unknown_error.
push esi
call fcn.004287c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004286de
mov dword [ebp - 0x10], 1
xor ebx, ebx
lea ecx, [ebp - 0x58]
jmp 0x43028f
push ecx
lea eax, [ebp - 0x88]
push str.netsh.exe_interface_ipv6_set_teredo__s
push eax
call fcn.00462014
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x430259
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x430265
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x10]
push edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.004341b4
push eax
lea ecx, [ebp - 0x28]
call fcn.004281d1
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004284eb
lea ecx, [ebp - 0x88]
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.004284eb
cmp dword [ebp - 0x18], 0
je 0x4302ab
cmp dword [ebp - 0x10], 0
jne 0x4302ab
mov bl, 1
jmp 0x4302c4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4302b7
lea eax, [ebp - 0x28]
push eax
push str.Could_not_setup_teredo__result_was:___s_
call fcn.0047995d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004284eb
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430eed
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 0x430f67
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 0x430f38
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x430f67
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0047ae37
test al, al
je 0x430f67
mov al, 1
jmp 0x430f69
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430f6f
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6b68ad
call fcn.00651da4
sub esp, 0x440
lea eax, [ebp - 0x44c]
push ebx
push esi
push edi
push 0x208
push eax
push 0x6d6bc0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00483239
test al, al
je 0x43105a
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x431058
xor ecx, ecx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], ebx
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 0x430ffc
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.00462014
add esp, 0x38
jmp 0x431011
mov esi, eax
lea eax, [ebp - 0x3c]
push str.__s_
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00462014
add esp, 0x20
push eax
lea ecx, [ebp - 0x24]
call fcn.004281d1
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004284eb
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x431031
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.006775ba
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.004284eb
mov al, bl
jmp 0x43105a
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43140c
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6aae1b
call fcn.00651da4
sub esp, 0x258
push edi
lea ecx, [ebp - 0x10]
call fcn.00482b37
push 0x20019
push str.SoftwareBitTorrent
xor edi, edi
lea ecx, [ebp - 0x10]
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], edi
call fcn.00482df5
test al, al
je 0x431522
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.00482e54
cmp dword [ebp - 0x14], edi
je 0x431522
push edi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x431522
push 0x6d21f4
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2c]
push str._s_stats__s.txt
push eax
call fcn.00462014
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0043b829
cmp dword [eax + 0x14], 0x10
jb 0x4314b5
mov eax, dword [eax]
push esi
push 0x6d2228
push eax
call fcn.00679406
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0040facf
test esi, esi
je 0x431516
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0047aca8
cmp dword [eax + 0x14], 8
jb 0x4314e8
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.0043c04f
add esp, 0x14
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.004284eb
push esi
call fcn.00678e58
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004284eb
pop esi
lea ecx, [ebp - 0x10]
call fcn.00482b3d
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push 0x25
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00428153
push dword [ebp + 8]
call fcn.0045c726
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4341b4
Capabilities:
Create pipe
Read file on windows
Read pipe

Disassembly:
mov eax, 0x6ab080
call fcn.00651da4
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 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 - 0x18]
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.005aa163
mov esi, dword [ebp + 8]
mov cl, al
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x434241
mov eax, dword [esi]
jmp 0x434243
mov eax, esi
xor edx, edx
mov word [eax], dx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test cl, cl
je 0x434334
push edi
push 0x104
call fcn.0045c47c
xor ecx, ecx
mov ebx, eax
mov edi, ecx
mov byte [ebp + 0x13], cl
jmp 0x4342d7
cmp dword [ebp + 0xc], 0
jne 0x434297
cmp byte [ebp + 0x13], 0
jne 0x4342ec
push 0xc8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x4342d5
mov byte [ebp + 0x13], 1
jmp 0x4342d5
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, 0x103
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4342bd
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4342d3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x4342ec
cmp edi, 0x103
je 0x4342ec
mov eax, dword [ebp + 0xc]
add edi, eax
xor ecx, ecx
push ecx
lea eax, [ebp + 0xc]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x434270
push ebx
lea eax, [ebp - 0x44]
mov byte [edi + ebx], 0
push eax
call fcn.0047aca8
push eax
mov ecx, esi
call fcn.004281d1
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004284eb
push 1
push ebx
call fcn.0045c46f
cmp dword [ebp + 0x18], 0
pop edi
je 0x434329
push dword [ebp + 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x43433e
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x43433e
or dword [eax], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x434b4e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
jmp 0x434bd2
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 0x434ba9
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 0x434bf1
test edi, edi
je 0x434bf1
push dword [ebp - 4]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x434bd2
push 0x7530
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x7a6dc8
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x434b57
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
push str.TerminateSessionClientInstances_failed__hp:0x_X_result:_d_n
call fcn.0040e854
add esp, 0xc
xor al, al
jmp 0x434beb

Function at 0x4354cc
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6c5a9d
call fcn.00651da4
sub esp, 0x24c
cmp byte [0x7c62a6], 0
push esi
push edi
jne 0x4355a8
test byte [0x7c259c], 2
jne 0x4355a8
cmp byte [ebp + 8], 0
je 0x435594
push ebx
push 0x22
pop esi
push 0x104
lea eax, [ebp - 0x256]
mov word [ebp - 0x258], si
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x254], cx
lea ecx, [ebp - 0x24]
mov word [ebp + eax*2 - 0x256], si
lea eax, [ebp - 0x258]
push eax
call fcn.00428153
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
call fcn.00430f6f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
xor esi, esi
mov bl, al
push edi
inc esi
push esi
call fcn.004284eb
test bl, bl
pop ebx
jne 0x4355a8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00428153
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push eax
call fcn.0043561a
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.004284eb
jmp 0x4355a8
push 0x6d6bc0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00483018
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43561a
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6b68ad
call fcn.00651da4
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x43563a
xor al, al
jmp 0x4356f0
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], edi
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], edi
cmp dword [eax + 0x10], edi
je 0x43567e
cmp dword [eax + 0x14], 8
jb 0x43565d
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x435667
mov ecx, dword [esi]
jmp 0x435669
mov ecx, esi
push eax
push ecx
lea eax, [ebp - 0x3c]
push 0x6d3078
push eax
call fcn.00462014
add esp, 0x10
jmp 0x43569c
cmp dword [esi + 0x14], 8
jb 0x435688
mov eax, dword [esi]
jmp 0x43568a
mov eax, esi
push eax
lea eax, [ebp - 0x3c]
push 0x6d201c
push eax
call fcn.00462014
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.004281d1
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.004284eb
cmp dword [ebp - 0x14], 0
je 0x4356c6
cmp dword [ebp - 0x10], 8
jb 0x4356c1
mov esi, dword [ebp - 0x24]
jmp 0x4356ce
lea esi, [ebp - 0x24]
jmp 0x4356ce
cmp dword [esi + 0x14], 8
jb 0x4356ce
mov esi, dword [esi]
push esi
push 0x6d6bc0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.004832b3
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.004284eb
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4357be
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6aff93
call fcn.00651da4
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x4358c3
cmp byte [esi + 0x3e], bl
je 0x4358c3
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x435803
xor al, al
jmp 0x4358c5
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.004361e5
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x435830
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43585b
sub eax, 1
je 0x43585f
dec eax
sub eax, 1
je 0x4358b1
xor bl, bl
jmp 0x4358b3
mov byte [esi + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x43586f
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
sub ebx, ecx
je 0x435897
cmp eax, 0x10
jae 0x43587e
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.00679980
add esp, 0x10
cmp ebx, eax
jne 0x435857
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3e], 0
je 0x4358b1
test ebx, ebx
jne 0x435824
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040eb73
jmp 0x43581e
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040facf
mov al, bl
jmp 0x4358c5
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43dff0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov eax, 0x6ab956
call fcn.00651da4
sub esp, 0x1c
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov esi, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
test edi, edi
jns 0x43e023
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x43e178
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 0x6d7c2c
push 1
push ebx
push 0x6d7c1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x43e04d
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x43e167
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
jns 0x43e071
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x43e156
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 6
call fcn.00490e6e
push 1
push eax
mov ecx, esi
call fcn.00478748
mov esi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test eax, eax
je 0x43e0a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov eax, dword [edi]
push ecx
push esi
push edi
call dword [eax + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
test edi, edi
jns 0x43e0c2
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x43e13e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
and dword [ebp - 0x14], 0
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
js 0x43e10a
cmp dword [ebp - 0x14], 0
je 0x43e13e
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.006775ba
pop ecx
pop ecx
test eax, eax
jne 0x43e133
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov edi, eax
test edi, edi
jns 0x43e112
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x43e133
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x43e121
mov byte [eax], 1
jmp 0x43e133
push dword [ebp + 8]
mov byte [eax], 0
push str.Authorized_application__lS_is_disabled_in_the_firewall._n
call fcn.00428840
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x43e13e
push dword [ebp - 0x14]
call ebx
test esi, esi
je 0x43e145
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x43e156
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x43e167
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x43e178
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8