joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452280
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460bdc]
cmp dword [eax + 0x30], 0
je 0x45232a
cmp dword [ebx + 0x94], 0
jne 0x452324
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452210
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452324
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4522ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452324
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041484c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4522f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452e88
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452ebd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404860
jmp 0x452eca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047c4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45406c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4540ad
mov eax, esi
call fcn.0043a5e0
test al, al
je 0x4540ad
mov eax, dword [ebx + 0x84]
call fcn.0043a308
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4540ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a308
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455cf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c20
xor eax, eax
push ebp
push 0x455db9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x455dd0
call fcn.00404d74
test eax, eax
jne 0x455d40
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x455ddc
call fcn.00404a7c
test bl, bl
je 0x455d7f
lea edx, [ebp - 8]
mov eax, 0x455dec
call fcn.00455960
cmp dword [ebp - 8], 0
je 0x455d7f
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404c30
push eax
mov eax, dword [ebp - 8]
call fcn.00404c30
push eax
push 0x455df4
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x455d9e
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c30
push eax
push 0x455df4
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455dc0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404794
ret
Function at 0x455dfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c20
mov eax, dword [ebp - 8]
call fcn.00404c20
mov eax, dword [ebp - 0xc]
call fcn.00404c20
mov eax, dword [ebp + 0x10]
call fcn.00404c20
mov eax, dword [ebp + 0xc]
call fcn.00404c20
mov eax, dword [ebp + 8]
call fcn.00404c20
xor eax, eax
push ebp
push 0x455efa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x455e73
push 0x455f10
push dword [ebp - 8]
push 0x455f20
push dword [ebp - 4]
push 0x455f2c
lea eax, [ebp - 4]
mov edx, 5
call fcn.00404af0
jmp 0x455e83
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x455f10
call fcn.00404a7c
push dword [ebp - 4]
push 0x455f38
push dword [ebp - 0xc]
push 0x455f4c
push dword [ebp + 0x10]
push 0x455f5c
push dword [ebp + 0xc]
push 0x455f6c
push dword [ebp + 8]
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404af0
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c30
push eax
push 0x455f74
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455f01
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404794
lea eax, [ebp + 8]
mov edx, 3
call fcn.00404794
ret

Function at 0x455f7c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
xor eax, eax
push ebp
push 0x4560c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
mov edx, 0x94
call fcn.0040722c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
xor ebx, ebx
cmp dword [ebp - 0x84], 2
jne 0x45600a
mov eax, dword [ebp - 0x90]
sub eax, 3
je 0x455ff5
dec eax
je 0x455ffc
dec eax
je 0x456003
jmp 0x4560a4
mov bl, 5
jmp 0x4560a4
mov bl, 6
jmp 0x4560a4
mov bl, 7
jmp 0x4560a4
cmp dword [ebp - 0x90], 4
jne 0x456058
cmp dword [ebp - 0x8c], 0
jne 0x456058
mov bl, 1
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.004049e0
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.004086f0
mov eax, dword [ebp - 0x98]
mov edx, 0x4560d8
call fcn.00404b7c
jne 0x4560a4
mov bl, 2
jmp 0x4560a4
cmp dword [ebp - 0x90], 4
jne 0x4560a4
cmp dword [ebp - 0x8c], 0xa
jne 0x4560a4
mov bl, 3
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.004049e0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.004086f0
mov eax, dword [ebp - 0xa0]
mov edx, 0x4560e4
call fcn.00404b7c
jne 0x4560a4
mov bl, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4560c9
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00404794
ret
Function at 0x4563ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456456
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.00409088
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040cc64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45645d
lea eax, [ebp - 0x10c]
call fcn.00404770
ret

Function at 0x456464
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4564ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.00409088
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040cc64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4564d5
lea eax, [ebp - 0x10c]
call fcn.00404770
ret

Function at 0x4564dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456546
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.00409088
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040cc64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45654d
lea eax, [ebp - 0x10c]
call fcn.00404770
ret

Function at 0x458578
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x458625
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1dc]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x4c]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x4c]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45860f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
xor ebx, ebx
jmp 0x4585e5
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00404968
inc ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x4585d3
call sub.wsock32.dll_WSACleanup
cmp dword [ebp - 0xc], 0
je 0x458609
mov eax, dword [ebp - 0xc]
mov edx, 0x45863c
call fcn.00404b7c
jne 0x45860d
xor ebx, ebx
jmp 0x45860f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45862c
lea eax, [ebp - 0xc]
call fcn.00404770
ret
Function at 0x536e30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x131000]
push edi
jmp 0x536e4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x536e51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536e40
mov eax, 1
add ebx, ebx
jne 0x536e63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x536e74
jne 0x536e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536e93
dec eax
add ebx, ebx
jne 0x536e80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x536e58
add ebx, ebx
jne 0x536e8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x536ee5
xor ecx, ecx
sub eax, 3
jb 0x536eab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x536f1a
sar eax, 1
mov ebp, eax
jmp 0x536eb6
add ebx, ebx
jne 0x536eb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536e84
inc ecx
add ebx, ebx
jne 0x536ec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536e84
add ebx, ebx
jne 0x536ed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x536ec6
jne 0x536ee2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x536ec6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x536f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x536ef6
jmp 0x536e46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x536f04
add edi, ecx
jmp 0x536e46
pop esi
mov edi, esi
mov ecx, 0x255
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536f22
cmp byte [edi], 1
jne 0x536f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x536f27
lea edi, [esi + 0x134000]
mov eax, dword [edi]
or eax, eax
je 0x536f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13a7e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13a898]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x536f54
mov ecx, edi
jns 0x536f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13a89c]
or eax, eax
je 0x536f99
mov dword [ebx], eax
add ebx, 4
jmp 0x536f71
call dword [esi + 0x13a8ac]
mov ebp, dword [esi + 0x13a8a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x536fd3
sub esp, 0xffffff80
jmp 0x40354b
Function at 0x401cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov eax, dword [esi + 0x8f8]
mov ecx, dword [esi + 0x8f0]
mov dword [ebp - 0xc], eax
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov dword [esi + 0x8e8], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp ebx, eax
je 0x401d19
mov dword [ebx], eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [esi]
push eax
mov eax, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x401d97
mov edx, dword [ebp + 0x14]
push edx
push 0
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x401d5d
push 0x3e3
jmp 0x401d91
cmp eax, 1
jne 0x401d78
push eax
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
jmp 0x401d97
cmp eax, 0x102
jne 0x401d8f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x102
jmp 0x401d91
push 0x16
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp ebx, eax
je 0x401da2
mov edx, dword [ebp - 4]
mov dword [ebx], edx
mov dword [esi + 0x8e8], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc70
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push 0x38
lea eax, [ebp - 0xc6c]
push esi
push eax
mov dword [ebp - 0xc70], esi
call fcn.004036a0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0xa2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
call fcn.004043cb
push esi
push esi
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x824]
push ecx
call fcn.0040419e
push 0x4203c4
push str.devcon
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0xc34]
push ecx
call fcn.0040419e
lea edx, [ebp - 0x20c]
mov ecx, edx
lea eax, [ebp - 0x824]
push str._c_devcon.exe_install_VkmHid_310A.inf__9AADA584_9A0A_457d_A85D_8939BD7FC2A5HID_DEVICE_
push ecx
mov dword [ebp - 0xc70], 0x3c
mov dword [ebp - 0xc6c], 0x40
mov dword [ebp - 0xc68], esi
mov dword [ebp - 0xc64], str.open
mov dword [ebp - 0xc60], 0x4202e8
mov dword [ebp - 0xc5c], edx
mov dword [ebp - 0xc58], eax
mov dword [ebp - 0xc54], esi
mov dword [ebp - 0xc50], esi
call fcn.00403b4d
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esp, 0x44
lea edx, [ebp - 0xc70]
push edx
call esi
mov eax, dword [ebp - 0xc38]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push eax
call edi
lea ecx, [ebp - 0x20c]
push str._c_DIFxCmd.exe__i_VkmHid_310A_MouFiltr.inf
push ecx
call fcn.00403b4d
add esp, 8
lea edx, [ebp - 0xc70]
push edx
call esi
mov eax, dword [ebp - 0xc38]
push 0xffffffffffffffff
push eax
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a91
mov esp, ebp
pop ebp
ret
Function at 0x402d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc70
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push 0x38
lea eax, [ebp - 0xc6c]
push esi
push eax
mov dword [ebp - 0xc70], esi
call fcn.004036a0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x824]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x824]
push ecx
call fcn.004043cb
push esi
push esi
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
call fcn.0040419e
push 0x4203c4
push str.devcon
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc34]
push ecx
call fcn.0040419e
lea edx, [ebp - 0x20c]
mov ecx, edx
lea eax, [ebp - 0xa2c]
push str._c_DIFxCmd.exe__u_VkmHid_310A_MouFiltr.inf_2.DRIVER_PACKAGE_SILENT_4.DRIVER_PACKAGE_FORCE_32.DRIVER_PACKAGE_DELETE_FILES
push ecx
mov dword [ebp - 0xc70], 0x3c
mov dword [ebp - 0xc6c], 0x40
mov dword [ebp - 0xc68], esi
mov dword [ebp - 0xc64], str.open
mov dword [ebp - 0xc60], 0x4202e8
mov dword [ebp - 0xc5c], edx
mov dword [ebp - 0xc58], eax
mov dword [ebp - 0xc54], esi
mov dword [ebp - 0xc50], esi
call fcn.00403b4d
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esp, 0x44
lea edx, [ebp - 0xc70]
push edx
call esi
mov eax, dword [ebp - 0xc38]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push eax
call edi
lea ecx, [ebp - 0x20c]
push str._c_devcon.exe_remove__HIDVid_6666Pid_310ACol02_
push ecx
call fcn.00403b4d
add esp, 8
lea edx, [ebp - 0xc70]
push edx
call esi
mov eax, dword [ebp - 0xc38]
push 0xffffffffffffffff
push eax
call edi
push str._c_devcon.exe_remove__9AADA584_9A0A_457d_A85D_8939BD7FC2A5HID_DEVICE_
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00403b4d
add esp, 8
lea edx, [ebp - 0xc70]
push edx
call esi
mov eax, dword [ebp - 0xc38]
push 0xffffffffffffffff
push eax
call edi
lea ecx, [ebp - 0x20c]
push str._c_DIFxCmd.exe__u_VkmHid_310A.inf_2.DRIVER_PACKAGE_SILENT_4.DRIVER_PACKAGE_FORCE_32.DRIVER_PACKAGE_DELETE_FILES
push ecx
call fcn.00403b4d
add esp, 8
lea edx, [ebp - 0xc70]
push edx
call esi
mov eax, dword [ebp - 0xc38]
push 0xffffffffffffffff
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403a91
mov esp, ebp
pop ebp
ret

Function at 0x402fa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x425f48
push 0x425e80
push 0
mov dword [0x426010], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x402fe1
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x403240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x425f48
push 0x67
push esi
call edi
push 0x64
push 0x425e80
push 0x6d
push esi
call edi
push esi
call fcn.004031c0
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00402fa0
add esp, 0xc
test eax, eax
jne 0x403288
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 0x10]
push str._Uninstall
push edi
call fcn.004045b2
add esp, 8
test eax, eax
jne 0x4032a7
push eax
push eax
push eax
push 0x402f40
jmp 0x4032cb
push str._SmartUninstall
push edi
call fcn.004045b2
add esp, 8
push 0
push 0
push 0
test eax, eax
jne 0x4032c6
push 0x402f60
jmp 0x4032cb
push 0x402f80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov esi, eax
call edi
test eax, eax
je 0x403334
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
lea ecx, [ecx]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
push edx
push esi
push eax
call ebx
test eax, eax
jne 0x403323
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x403300
pop ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403a91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425010]
jne 0x403a9b
repz ret
jmp fcn.00406366
Function at 0x40b35b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405425
and dword [ebp - 0x14], 0
cmp dword [0x426d64], 0
mov dword [ebp - 0x18], eax
jne 0x40b40e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b4b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42171c
push ebx
call edi
test eax, eax
je 0x40b4b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x426d64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x426d68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x426d6c], eax
call edi
push eax
call esi
mov dword [0x426d74], eax
test eax, eax
je 0x40b40e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x426d70], eax
mov eax, dword [0x426d70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b467
cmp dword [0x426d74], ecx
je 0x40b467
push eax
call esi
push dword [0x426d74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b467
test ebx, ebx
je 0x40b467
call edi
test eax, eax
je 0x40b45e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b45e
test byte [ebp - 8], 1
jne 0x40b467
or dword [ebp + 0x10], 0x200000
jmp 0x40b49a
mov eax, dword [0x426d68]
cmp eax, dword [ebp - 0x18]
je 0x40b49a
push eax
call esi
test eax, eax
je 0x40b49a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b49a
mov eax, dword [0x426d6c]
cmp eax, dword [ebp - 0x18]
je 0x40b49a
push eax
call esi
test eax, eax
je 0x40b49a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x426d64]
call esi
test eax, eax
je 0x40b4b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b4b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a91
leave
ret