joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407015
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a874]
jne 0x40701f
repz ret
jmp fcn.0040b2ec

Function at 0x40a16d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405608
and dword [ebp - 4], 0
cmp dword [0x43f944], 0
mov ebx, eax
jne 0x40a21e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a2cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a2cf
push eax
call fcn.00405596
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f944], eax
call esi
push eax
call fcn.00405596
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f948], eax
call esi
push eax
call fcn.00405596
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f94c], eax
call esi
push eax
call fcn.00405596
pop ecx
mov dword [0x43f954], eax
test eax, eax
je 0x40a21e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405596
pop ecx
mov dword [0x43f950], eax
mov eax, dword [0x43f950]
cmp eax, ebx
je 0x40a276
cmp dword [0x43f954], ebx
je 0x40a276
push eax
call fcn.00405611
push dword [0x43f954]
mov esi, eax
call fcn.00405611
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a276
test edi, edi
je 0x40a276
call esi
test eax, eax
je 0x40a26d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a26d
test byte [ebp - 0xc], 1
jne 0x40a276
or dword [ebp + 0x10], 0x200000
jmp 0x40a2af
mov eax, dword [0x43f948]
cmp eax, ebx
je 0x40a2af
push eax
call fcn.00405611
pop ecx
test eax, eax
je 0x40a2af
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a2af
mov eax, dword [0x43f94c]
cmp eax, ebx
je 0x40a2af
push eax
call fcn.00405611
pop ecx
test eax, eax
je 0x40a2af
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f944]
call fcn.00405611
pop ecx
test eax, eax
je 0x40a2cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a2d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4022a4
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4022f2
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x402303
push 0xd
pop eax
jmp 0x40232d
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x402306
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x402bf7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4206f0]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00402263
mov ebx, eax
cmp ebx, esi
je 0x402c67
lea ecx, [ebp - 0x70]
call fcn.004021ee
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b1da
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x402c7f
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00402bf7
cmp eax, esi
jne 0x402cb1
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x402c6f
lea ecx, [ebp - 0x70]
call fcn.004021ee
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00402193
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004021ee
mov eax, esi
jmp 0x402c4d
Function at 0x406a3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0x3a98
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406a8e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.FadeAwayTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x4072f9
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor esi, esi
xor ecx, ecx
push 4
inc ecx
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov eax, 0x20019
cmp dword [ebp + 8], ecx
jne 0x407328
add eax, 6
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push esi
push esi
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4073fc
push ebx
cmp dword [ebp + 8], esi
jne 0x4073bb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
mov ebx, str.ShowTrayIcon
push ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
je 0x4073b3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4073d2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4073d2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x4073d2
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x10]
push esi
push str.ShowTrayIcon
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x419a18
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
pop ebx
cmp eax, esi
je 0x4073f3
push dword [ebp + 0xc]
push esi
push 0x1729
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret
Function at 0x407403
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor esi, esi
cmp dword [ebp + 0xc], 3
push 4
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov eax, 0x20019
jne 0x407430
add eax, 6
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push esi
push esi
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtray
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4075b3
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4075b3
mov ecx, dword [ebp + 8]
dec ecx
push ebx
je 0x407528
dec ecx
jne 0x4075b2
cmp dword [ebp + 0xc], 2
jne 0x4074e9
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ebx, str.ShowOptimalBalloon
push ebx
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call edi
test eax, eax
je 0x4074de
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtray
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075b2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4075b2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x4075b2
push edi
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push str.ShowOptimalBalloon
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x419a18
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
je 0x4075b2
push dword [ebp + 0x10]
push 1
push 0x1729
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4075b2
cmp dword [ebp + 0xc], 2
jne 0x407594
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ebx, str.ShowGraphicsBalloon
push ebx
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call edi
test eax, eax
je 0x40758c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtray
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075a9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4075a9
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x4075a9
push edi
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push str.ShowGraphicsBalloon
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret

Function at 0x40b1da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4206f0]
jne 0x40b1e4
repz ret
jmp fcn.0040f311
Function at 0x40ccec
Capabilities:
Check for software breakpoints

Disassembly:
pushal
test ah, al
add ah, ch
sub al, 0x4c
jbe fcn.0040ccf6
dec ebp

Function at 0x40ccf6
Capabilities:
Check for software breakpoints

Disassembly:
imul esi, ebp, 0xbef5cbf1
lea esi, [0xcbbc74bd]
test edi, edi
and edx, ebx
cmp eax, 0xebde
dec dl
inc ecx
imul edi, ecx
jmp 0x40cd19
sbb bh, dh
movsx ebx, cx
inc cl
test esi, esi
call 0x40cd90
mov eax, 0
test eax, 0xeb610b7d
and edx, edx
or ebx, edi
xchg dl, dl
jmp 0x40cd41
imul edi, ebp
mov ecx, 0
or edi, edx
sub ecx, 0xfffff92d
inc edi
add edx, esi
lea edx, [0x8b2f736e]
sub ecx, 0x661
cmp dl, 0x7a
xadd eax, ecx
xchg bh, bl
sub eax, 0x71
dec edi
imul edi, ebp
scasd eax, dword es:[edi]
std
imul esi, ebx, 0xea32dc74
jno 0x40cd7e
cmp bh, dl
mov cl, bl
xchg edx, ebp
mov bh, 0xf5
dec esi
cmp eax, 0xd55
jbe 0x40cd2d
pop ebx
and ch, 0xa9
imul ebp, ebp, 0x6fd3b0f8
xchg dh, dl
push ebp
push esi
imul eax, esi, 0x54d3495
mov al, 4
jmp 0x40cdad
mov cl, al
mov ecx, 0x92158b26
add eax, ecx
dec edi
cmp ebp, 0x5546
jmp 0x40cdc3
cmp eax, 0xf3c0
ja 0x40cdd5
or dl, 0xe5
lea esi, [0xae957b]
mov ebp, edx
jmp 0x40cddd
test al, bh
test bh, al
adc ch, 0x3f
imul ecx, ebp, 0x2db475ce
test edx, 0x576d048e
lea edi, [0x3df]
imul ecx, edx, 0xfaf6b446
inc esi
mov ah, 0xf6
cli
test ebp, 0x32066267
imul edx, ebp
sub edi, 0xbf
dec edi
add cl, 0x99
jmp 0x40ce15
mov edx, 0x7697a4a1
mov dh, bh
test bl, bh
cmp edi, 0xcc
invalid
invalid

Function at 0x40cd70
Capabilities:
Check for software breakpoints

Disassembly:
imul esi, ebp, 0xbef5cbf1
lea esi, [0xcbbc74bd]
test edi, edi
and edx, ebx
cmp eax, 0xebde
dec dl
inc ecx
imul edi, ecx
jmp 0x40cd19
sbb bh, dh
movsx ebx, cx
inc cl
test esi, esi
call 0x40cd90
mov eax, 0
test eax, 0xeb610b7d
and edx, edx
or ebx, edi
xchg dl, dl
jmp 0x40cd41
imul edi, ebp
mov ecx, 0
or edi, edx
sub ecx, 0xfffff92d
inc edi
add edx, esi
lea edx, [0x8b2f736e]
sub ecx, 0x661
cmp dl, 0x7a
xadd eax, ecx
xchg bh, bl
sub eax, 0x71
dec edi
imul edi, ebp
scasd eax, dword es:[edi]
std
imul esi, ebx, 0xea32dc74
jno 0x40cd7e
cmp bh, dl
mov cl, bl
xchg edx, ebp
mov bh, 0xf5
dec esi
cmp eax, 0xd55
jbe 0x40cd2d
pop ebx
and ch, 0xa9
imul ebp, ebp, 0x6fd3b0f8
xchg dh, dl
push ebp
push esi
imul eax, esi, 0x54d3495
mov al, 4
jmp 0x40cdad
mov cl, al
mov ecx, 0x92158b26
add eax, ecx
dec edi
cmp ebp, 0x5546
jmp 0x40cdc3
cmp eax, 0xf3c0
ja 0x40cdd5
or dl, 0xe5
lea esi, [0xae957b]
mov ebp, edx
jmp 0x40cddd
test al, bh
test bh, al
adc ch, 0x3f
imul ecx, ebp, 0x2db475ce
test edx, 0x576d048e
lea edi, [0x3df]
imul ecx, edx, 0xfaf6b446
inc esi
mov ah, 0xf6
cli
test ebp, 0x32066267
imul edx, ebp
sub edi, 0xbf
dec edi
add cl, 0x99
jmp 0x40ce15
mov edx, 0x7697a4a1
mov dh, bh
test bl, bh
cmp edi, 0xcc
invalid
invalid
Function at 0x40cd90
Capabilities:
Check for software breakpoints

Disassembly:
imul esi, ebp, 0xbef5cbf1
lea esi, [0xcbbc74bd]
test edi, edi
and edx, ebx
cmp eax, 0xebde
dec dl
inc ecx
imul edi, ecx
jmp 0x40cd19
sbb bh, dh
movsx ebx, cx
inc cl
test esi, esi
call 0x40cd90
mov eax, 0
test eax, 0xeb610b7d
and edx, edx
or ebx, edi
xchg dl, dl
jmp 0x40cd41
imul edi, ebp
mov ecx, 0
or edi, edx
sub ecx, 0xfffff92d
inc edi
add edx, esi
lea edx, [0x8b2f736e]
sub ecx, 0x661
cmp dl, 0x7a
xadd eax, ecx
xchg bh, bl
sub eax, 0x71
dec edi
imul edi, ebp
scasd eax, dword es:[edi]
std
imul esi, ebx, 0xea32dc74
jno 0x40cd7e
cmp bh, dl
mov cl, bl
xchg edx, ebp
mov bh, 0xf5
dec esi
cmp eax, 0xd55
jbe 0x40cd2d
pop ebx
and ch, 0xa9
imul ebp, ebp, 0x6fd3b0f8
xchg dh, dl
push ebp
push esi
imul eax, esi, 0x54d3495
mov al, 4
jmp 0x40cdad
mov cl, al
mov ecx, 0x92158b26
add eax, ecx
dec edi
cmp ebp, 0x5546
jmp 0x40cdc3
cmp eax, 0xf3c0
ja 0x40cdd5
or dl, 0xe5
lea esi, [0xae957b]
mov ebp, edx
jmp 0x40cddd
test al, bh
test bh, al
adc ch, 0x3f
imul ecx, ebp, 0x2db475ce
test edx, 0x576d048e
lea edi, [0x3df]
imul ecx, edx, 0xfaf6b446
inc esi
mov ah, 0xf6
cli
test ebp, 0x32066267
imul edx, ebp
sub edi, 0xbf
dec edi
add cl, 0x99
jmp 0x40ce15
mov edx, 0x7697a4a1
mov dh, bh
test bl, bh
cmp edi, 0xcc
invalid
invalid
Function at 0x41501b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040d872
and dword [ebp - 4], 0
cmp dword [0x42278c], 0
mov ebx, eax
jne 0x4150cc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41517d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41517d
push eax
call fcn.0040d800
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42278c], eax
call esi
push eax
call fcn.0040d800
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422790], eax
call esi
push eax
call fcn.0040d800
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422794], eax
call esi
push eax
call fcn.0040d800
pop ecx
mov dword [0x42279c], eax
test eax, eax
je 0x4150cc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d800
pop ecx
mov dword [0x422798], eax
mov eax, dword [0x422798]
cmp eax, ebx
je 0x415124
cmp dword [0x42279c], ebx
je 0x415124
push eax
call fcn.0040d87b
push dword [0x42279c]
mov esi, eax
call fcn.0040d87b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415124
test edi, edi
je 0x415124
call esi
test eax, eax
je 0x41511b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41511b
test byte [ebp - 0xc], 1
jne 0x415124
or dword [ebp + 0x10], 0x200000
jmp 0x41515d
mov eax, dword [0x422790]
cmp eax, ebx
je 0x41515d
push eax
call fcn.0040d87b
pop ecx
test eax, eax
je 0x41515d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41515d
mov eax, dword [0x422794]
cmp eax, ebx
je 0x41515d
push eax
call fcn.0040d87b
pop ecx
test eax, eax
je 0x41515d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42278c]
call fcn.0040d87b
pop ecx
test eax, eax
je 0x41517d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41517f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401190
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x426014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x42c]
push esi
push edi
push 0
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0xc
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], 1
push eax
mov esi, edx
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4013d8
mov eax, dword [ebp - 0x420]
xorps xmm0, xmm0
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x484]
movlpd qword [ebp - 0x480], xmm0
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push esi
push str.adb.exe
movlpd qword [ebp - 0x478], xmm0
movlpd qword [ebp - 0x470], xmm0
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
movlpd qword [ebp - 0x454], xmm0
mov dword [ebp - 0x484], 0x44
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x458], 0x100
movups xmmword [ebp - 0x43c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4013c8
push dword [ebp - 0x420]
mov dword [ebp - 0x488], esi
call esi
push 0
lea eax, [ebp - 0x418]
push eax
push 0x404
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x490], eax
call eax
test eax, eax
je 0x40138f
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x401389
cmp eax, 0x404
jae 0x4013eb
lea esi, [ebp - 0x414]
mov byte [ebp + eax - 0x414], 0
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x401300
mov edx, dword [ebx + 0x14]
sub esi, ecx
mov ecx, dword [ebx + 0x10]
mov eax, edx
sub eax, ecx
cmp esi, eax
ja 0x401340
lea eax, [ecx + esi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x401326
mov eax, dword [ebx]
lea edi, [eax + ecx]
push esi
lea eax, [ebp - 0x414]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x401360
push esi
lea eax, [ebp - 0x414]
mov ecx, ebx
lfence
push eax
mov byte [ebp - 0x48c], 0
push dword [ebp - 0x48c]
push esi
call fcn.004016c0
push 0
lea eax, [ebp - 0x418]
push eax
push 0x404
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
call dword [ebp - 0x490]
test eax, eax
jne 0x4012d1
mov esi, dword [ebp - 0x488]
push 0xffffffffffffffff
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x43c]
call esi
push dword [ebp - 0x438]
call esi
push dword [ebp - 0x41c]
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x41c]
call esi
push dword [ebp - 0x420]
call esi
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret
call fcn.0041c6d9
int3
Function at 0x401c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x426014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x42667c]
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x120], 0x100
push esi
mov esi, ecx
test eax, eax
je 0x401d43
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push 0
push str.bluetoothDevice
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x104]
push 0x422ad0
push eax
call fcn.00401b20
movzx eax, byte [ebp - 0x11c]
add esp, 0x20
mov byte [esi], al
movzx eax, byte [ebp - 0x118]
mov byte [esi + 1], al
movzx eax, byte [ebp - 0x114]
mov byte [esi + 2], al
movzx eax, byte [ebp - 0x110]
mov byte [esi + 3], al
movzx eax, byte [ebp - 0x10c]
mov byte [esi + 4], al
movzx eax, byte [ebp - 0x108]
mov byte [esi + 5], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret
Function at 0x402370
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov eax, ecx
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jle 0x4023ad
mov ebx, dword [ebp + 8]
lfence
nop word [eax + eax]
push 0
sub eax, esi
push esi
add eax, edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4023b6
sub esi, eax
mov eax, dword [ebp - 4]
test esi, esi
jg 0x402390
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov byte [edi + 0x10], 1
mov byte [esi], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 4], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov word [esi + 0x20], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
lea esi, [edi + 0xc]
push 8
call fcn.0041c7b3
add esp, 4
mov dword [eax], 0x402a90
push 0
push 0
push eax
push 0x402440
push 0
push 0
mov dword [eax + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x402a30
test esi, esi
je 0x402a30
mov dword [esi], eax
push 2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
ret 8