joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4658a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4658d3
push esi
call fcn.004689a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4658cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x465959
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x465942
mov eax, dword [esi + 8]
test eax, eax
je 0x4658f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46593e
cmp eax, 2
je 0x465942
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4658ea
cmp eax, 3
je 0x46591d
cmp eax, 1
jne 0x4658ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4658ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4658ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00465980
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x465968
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00465980
add esp, 4
pop esi
ret

Function at 0x472648
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4991dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0048bcca
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], 0x55ddb4
call fcn.00477290
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.00477290
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.00477290
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.00477290
mov dword [edi], 0x55ddac
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.00489171
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x55de7c
mov eax, dword [0x576564]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.00477290
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.00489171
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x472730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499264
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.0048919a
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x55dda8
call fcn.00477490
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.0048a71b
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.004913b9
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.0048919a
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x55dda8
call fcn.00477490
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x55dda8
call fcn.00477490
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x55dda8
call fcn.00477490
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x55dda8
call fcn.00477490
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00488dd3
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x473390
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x473433
test eax, eax
jbe 0x473433
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x473433
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4733de
xor esi, esi
jmp 0x4733e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47340f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00477760
add esi, eax
push esi
mov ebx, esi
call fcn.00477760
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4733f0
pop ebp
test edi, edi
pop edi
jne 0x473433
test ebx, ebx
je 0x473433
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047b060
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x473575
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47368d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47368d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048c11c
mov esi, eax
test esi, esi
je 0x47368d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47368d
mov ecx, esi
call fcn.004734e0
cmp edi, eax
jge 0x47368d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x473613
mov dword [esp + 0x34], 1
jmp 0x47366e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47368d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00471210
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48cabf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48caf7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048ab76
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048ab4e
jmp 0x48cb03
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48e1b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48e1f7
call fcn.00493d32
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48e1f7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48e1ee
xor eax, eax
jmp 0x48e1ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048e205
pop edi
pop esi
pop ebx
ret 4
Function at 0x494262
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x494290
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4942ae
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004941c8
jmp 0x4942ae
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4942ae
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004941c8
test edi, edi
mov eax, edi
jne 0x494298
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x4000
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp + 8]
push eax
call fcn.00402fd0
add esp, 4
push str.Times_New_Roman
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0xac], 0xe
mov dword [ebp - 0xbc], 0xa
lea edx, [ebp - 0xbc]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x405324], eax
push 0x14
push str.darry
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00403050
add esp, 8
test eax, eax
jne 0x4010ab
xor eax, eax
jmp 0x4010e4
push 0
push 0
push 0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4010de
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4010ab
mov eax, dword [ebp - 0x120]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401195
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4011be
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4011b6
cmp al, 0x22
jne 0x4011aa
cmp byte [esi], 0x22
jne 0x4011c8
inc esi
jmp 0x4011c8
cmp al, 0x20
jle 0x4011c8
inc esi
cmp byte [esi], 0x20
jg 0x4011c2
mov al, byte [esi]
test al, al
je 0x4011d2
cmp al, 0x20
jle 0x4011bb
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401ae8
push 0x405004
push section..data
call fcn.00401228
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x401202
movzx eax, word [ebp - 0x14]
jmp 0x401205
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401eb2
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
aad 0x8b
in al, dx
cmp ebp, 0x78
push esi
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x78]
push 0x78
mov cl, 0xc6
call fcn.004086e0
mov ecx, dword [ebp - 0x1b]
pop edi
adc eax, sym.imp.MSVCRT.dll__iob
push eax
push ecx
mov dword [0x2b6840c2], eax
test eax, 0xfffe0040
adc eax, 0x40c112
mov eax, dword [0x41a4ac]
sub dword [ecx + 0x14], 0xffffff85
mov al, 0x2e
invalid

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401554
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401e00
sub eax, fcn.004015cb
push eax
push fcn.004015cb
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401478
mov eax, ebx
call fcn.004014c9
lea eax, [ebx + 0x1b600]
lea edx, [ebx - 1]
lea ecx, [ebp - 2]
and edx, eax
test ebx, ebx
je 0x401071
mov eax, 0x402054
add eax, eax
jmp 0x401076
mov eax, 0x402054
mov ebx, ecx
call fcn.004015cb
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x401554
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x11c, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x18]
push ebx
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [ebp - 0x18]
movzx ebx, byte [ebp - 0x18]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x4015cb
Capabilities:
Delete file

Disassembly:
hlt
push edi
mov edi, 0x72647246
jb 0x401617
ror byte [ecx + 0x6ed8c765], 0
inc edi
add al, 0xe8
push edi
jbe 0x4015a9
popal
mov dword [ebx + edx*2 + 0x6c], ebp
mov dword [ecx + 0x45], esp
jae 0x401612
and byte [ebp + eax*2], 0x8d
mov dword [edx - 0x39], edx
invalid
inc ebp
call 0x6e75775d
outsb dx, byte [esi]
inc ebp
inc ebp
add al, 0xa2
invalid
Function at 0x401010
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
test eax, eax
je 0x401048
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov ecx, dword [0x43783c]
lea eax, [esi + 0x3f5]
push 5
push eax
push ecx
call ebx
push eax
call edi
inc esi
cmp esi, 4
jb 0x401029
pop edi
pop esi
pop ebx
ret
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov eax, dword [0x43783c]
lea edx, [esi + 0x3f5]
push 0
push edx
push eax
call ebx
push eax
call edi
inc esi
cmp esi, 4
jb 0x401056
pop edi
pop esi
pop ebx
ret

Function at 0x401080
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
pop edi
cmp eax, 4
jne 0x4010f5
mov eax, dword [esp + 8]
test eax, eax
jne 0x4010d9
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x4010cb
mov al, 7
add esp, 0x94
ret
cmp eax, 2
jne 0x40112f
mov al, 6
add esp, 0x94
ret
cmp eax, 0xa
jne 0x4010e7
mov al, 1
add esp, 0x94
ret
cmp eax, 0x5a
jne 0x40112f
mov al, 2
add esp, 0x94
ret
cmp eax, 5
jne 0x401119
mov eax, dword [esp + 8]
test eax, eax
jne 0x40110b
mov al, 3
add esp, 0x94
ret
cmp eax, 1
jne 0x40112f
mov al, 4
add esp, 0x94
ret
cmp eax, 6
jne 0x40112f
mov eax, dword [esp + 8]
test eax, eax
jne 0x40112f
mov al, 5
add esp, 0x94
ret
or al, 0xff
add esp, 0x94
ret
Function at 0x402b60
Capabilities:
Delete file

Disassembly:
sub esp, 0x900
mov dl, byte [0x410f30]
push ebx
push ebp
push edi
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x3f9]
mov byte [esp + 0x3f8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x205]
mov byte [esp + 0x204], dl
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x914]
mov ebp, dword [esp + 0x910]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x10]
push 2
push ebx
push ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], 0x31c
call dword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
test eax, eax
je 0x402d37
push esi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x14]
xor esi, esi
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x31c
mov dword [esp + 0x1c], 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.00402d50
cmp al, 1
jne 0x402c1b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x30c
push eax
jmp 0x402c28
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x31c
push ecx
push esi
push 2
push ebx
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDriverInfoA]
test eax, eax
je 0x402d36
push 0
lea edx, [esp + 0x5f4]
push 0x31d
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
push ebp
mov dword [esp + 0x608], 0x31d
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInfoDetailA]
lea edi, [esp + 0x708]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea esi, [esp + 0x208]
sub ecx, 3
lea edi, [esp + 0x3fc]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x3fc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40f810
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x3fc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x208]
push ecx
call esi
mov eax, dword [esp + 0x10]
mov ecx, 0x19
inc eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
mov esi, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], 0x31c
mov dword [esp + 0x18], 2
jmp 0x402c03
pop esi
push 2
push ebx
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDriverInfoList]
pop edi
pop ebp
pop ebx
add esp, 0x900
ret
Function at 0x402d50
Capabilities:
Get common file path

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x104
push 0x4376cc
mov dword [0x43e21c], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [0x43e21c]
mov edx, ecx
and edx, 0xff
cmp edx, 4
jb 0x402d92
test eax, eax
je 0x402d92
and ecx, 0x80000000
neg ecx
sbb cl, cl
add ecx, 2
mov al, cl
ret
mov eax, dword [0x43783c]
push 0x10
push str.Initialize
push str.Windows_version_or_directory_error
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x43783c]
push 0x81
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
or al, 0xff
ret
Function at 0x402ff0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2b60
call fcn.00405dc0
mov dl, byte [0x410f30]
push ebx
push ebp
push esi
push edi
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], dl
mov byte [esp + 0x460], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x9c3
xor eax, eax
lea edi, [esp + 0x461]
mov ebp, dword [esp + 0x2b74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push ebp
stosb byte es:[edi], al
lea eax, [esp + 0x464]
push 0x2710
push eax
push str.Manufacturer
call ebx
cmp eax, 1
jae 0x403066
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2b60
ret
lea edi, [esp + 0x460]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3d
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x7c]
push ecx
call fcn.00405d00
mov edx, eax
add esp, 8
inc edx
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x14]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push 0x2710
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x468]
push ecx
push edx
call ebx
cmp eax, 1
jae 0x4030ec
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2b60
ret
mov al, byte [esp + 0x460]
lea ebx, [esp + 0x460]
test al, al
je 0x4031e2
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x2b78]
lea eax, [edx + 0xc8]
push eax
push ebx
call fcn.00405ea0
add esp, 8
test eax, eax
je 0x4031d2
cmp byte [ebx], 0x3b
jne 0x403138
push ebx
call ebp
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0x3b
je 0x40312c
cmp byte [ebx], 0
je 0x4031e2
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3d
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00405d00
lea ecx, [esp + 0x80]
push 0x2c
push ecx
mov esi, eax
call fcn.00405d00
add esp, 0x10
mov edx, dword [esp + 0x2b78]
inc eax
inc esi
mov ecx, eax
lea edi, [edx + 0x12c]
sub ecx, esi
dec ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2b74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call ebp
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x403108
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2b60
ret
Function at 0x405470
Capabilities:
Delete file
Delete registry key
Delete service

Disassembly:
sub esp, 0x84
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, dword [esp + 0x94]
mov edi, eax
test edi, edi
je 0x4054bd
push ebp
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4054b9
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebp
push edi
call ebp
pop ebp
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4054f1
mov ecx, dword [esp + 0xc]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ecx, 0xffffffff
mov edi, 0x4376cc
xor eax, eax
push 0x43e560
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x43e560
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.SYSTEM32DRIVERS_
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, 0x43e560
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x43e560
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..SYS
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x43e560
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
push ebx
jne 0x4055dd
lea eax, [esp + 0x14]
push str.Failed_in_deleting_driver__s
push eax
call fcn.004059a0
mov edx, dword [0x43783c]
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x10
push str._Uninstall_Driver
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret
push str.Uninstall_driver__s_completed.
push 0x43e4e0
call fcn.004059a0
mov eax, dword [0x43783c]
add esp, 0xc
push 0x40
push str._Uninstall_Driver
push 0x43e4e0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x84
ret