joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1f8c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
test byte [eax + 0x34c], 1
je 0x4b1fa2
or edx, 0x10000000
jmp 0x4b1fa8
or edx, 0x20000000
test byte [eax + 0x34c], 2
je 0x4b1fb9
or edx, 0x40000000
jmp 0x4b1fbf
or edx, 0x80000000
test byte [eax + 0x34c], 4
je 0x4b1fcd
or edx, 1
jmp 0x4b1fd0
or edx, 1
test byte [eax + 0x34c], 8
je 0x4b1fde
or edx, 2
jmp 0x4b1fe1
or edx, 2
test byte [eax + 0x34c], 0x10
je 0x4b1fef
or edx, 4
jmp 0x4b1ff2
or edx, 4
test byte [eax + 0x34c], 0x20
je 0x4b2000
or edx, 6
jmp 0x4b2003
or edx, 6
test byte [eax + 0x34c], 0x40
je 0x4b2011
or edx, 8
jmp 0x4b2014
or edx, 8
push edx
mov eax, dword [eax + 0x240]
push eax
call sub.shlwapi.dll_SHAutoComplete
pop ebp
ret

Function at 0x4b78b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b797c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404cb0
mov eax, dword [0x4f433c]
cmp byte [eax], 0
je 0x4b7931
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
add edx, 1
jno 0x4b78f8
call fcn.00403738
mov eax, ebx
call fcn.00405154
mov eax, dword [ebx]
call fcn.00404e88
push eax
mov eax, dword [ebx]
call fcn.00404e78
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404e88
mov edx, eax
sub edx, 1
jno 0x4b7928
call fcn.00403738
mov eax, ebx
call fcn.00405154
jmp 0x4b7963
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409ef4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7983
lea eax, [ebp - 0x3f0]
call fcn.004045a4
ret

Function at 0x4b798c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409ef4
add esp, 0x3ec
pop ebx
ret
Function at 0x4b7b7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4b7c42
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046a194
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004b77f4
mov edi, eax
test edi, edi
je 0x4b7bdb
mov al, byte [0x4b7c50]
cmp al, bl
jne 0x4b7bdb
mov edx, edi
mov eax, ebp
call fcn.004b770c
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4b7c42
cmp byte [ebp + 0x161], 2
jne 0x4b7c06
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4f48f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0045402c
test eax, eax
jne 0x4b7c42
jmp 0x4b7c3d
mov edx, dword [0x4f4754]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4b7c3d
test byte [eax + 0x2f4], 8
jne 0x4b7c3d
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4f4754]
mov eax, edx
mov edx, 0xb006
call fcn.0045402c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c7af4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c7bc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404cb0
mov eax, dword [0x4f433c]
cmp byte [eax], 0
je 0x4c7b75
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
add edx, 1
jno 0x4c7b3c
call fcn.00403738
mov eax, ebx
call fcn.00405154
mov eax, dword [ebx]
call fcn.00404e88
push eax
mov eax, dword [ebx]
call fcn.00404e78
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404e88
mov edx, eax
sub edx, 1
jno 0x4c7b6c
call fcn.00403738
mov eax, ebx
call fcn.00405154
jmp 0x4c7ba7
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409ef4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7bc7
lea eax, [ebp - 0x3f0]
call fcn.004045a4
ret

Function at 0x4cb1c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4cb21a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004cb224
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb221
ret
Function at 0x4d4e34
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004597ac
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00452d98
pop ebx
ret
Function at 0x4dfc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dfe01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4dfde6
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409ef4
mov dl, 1
mov eax, dword [0x4b4e94]
call fcn.004b4eec
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x417de4]
call fcn.004037cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004b4f68
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4dfde3
mov dl, 1
mov eax, dword [0x4b36cc]
call fcn.004b3734
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4dfe18
call fcn.004b5974
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004048b0
xor eax, eax
push ebp
push 0x4dfddc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b3a6c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004dfe20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dfde3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004037fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004037fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004037fc
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dfe08
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045c8
ret
Function at 0x4e1244
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
xor edx, edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a54
lea eax, [ebp - 0x15c]
mov edx, dword [0x407f68]
call fcn.004051bc
xor eax, eax
push ebp
push 0x4e142b
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [ebp - 4]
call fcn.00409790
test al, al
je 0x4e13f4
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0040db74
lea eax, [ebp - 0x160]
mov edx, 0x4e1444
call fcn.0040486c
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00409908
mov ebx, eax
xor eax, eax
push ebp
push 0x4e13e3
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4e13ca
mov eax, dword [ebp - 0x150]
mov edx, 0x4e1450
call fcn.004049b0
je 0x4e13b5
mov eax, dword [ebp - 0x150]
mov edx, 0x4e145c
call fcn.004049b0
je 0x4e13b5
push 0x80
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.0040db74
lea eax, [ebp - 0x164]
mov edx, dword [ebp - 0x150]
call fcn.0040486c
mov eax, dword [ebp - 0x164]
call fcn.00404a64
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x154]
and eax, 0x10
cmp eax, 0x10
jne 0x4e138b
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.0040db74
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x150]
call fcn.0040486c
mov eax, dword [ebp - 0x168]
call fcn.004e1244
jmp 0x4e13b5
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.0040db74
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x150]
call fcn.0040486c
mov eax, dword [ebp - 0x16c]
call fcn.00409998
lea eax, [ebp - 0x15c]
call fcn.00409958
mov ebx, eax
test ebx, ebx
je 0x4e12f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e13ea
lea eax, [ebp - 0x15c]
call fcn.0040997c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1432
lea eax, [ebp - 0x16c]
mov edx, 4
call fcn.004045c8
lea eax, [ebp - 0x15c]
mov edx, dword [0x407f68]
call fcn.0040528c
lea eax, [ebp - 4]
call fcn.004045a4
ret
Function at 0x4e1a88
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.0040519c
lea eax, [ebp - 8]
call fcn.0040519c
xor eax, eax
push ebp
push 0x4e1b81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040482c
mov eax, dword [ebp - 0xc]
call fcn.00409780
test al, al
je 0x4e1b51
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.0040482c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409b8c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040482c
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
pop edx
call fcn.00409a38
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00404e68
push 0
lea eax, [ebp - 0x20]
mov edx, dword [esi + 0x3c]
call fcn.00404e68
lea eax, [ebp - 0x20]
mov edx, dword [ebx]
call fcn.00404e94
mov eax, dword [ebp - 0x20]
call fcn.00404e78
push eax
mov eax, dword [ebp - 4]
call fcn.00404e78
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x4e1b51
mov eax, ebx
call fcn.00404cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1b88
lea eax, [ebp - 0x20]
call fcn.00404cb0
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004045c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cc8
ret
Function at 0x4e1b90
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4e1ba9
add esp, 0xfffffff0
call fcn.00403b34
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404a54
mov eax, dword [ebp + 8]
call fcn.00404a54
xor eax, eax
push ebp
push 0x4e1cfa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42b174]
call fcn.0042b2ac
mov dword [esi + 4], eax
mov byte [esi + 0x40], 0
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 4]
call fcn.004045f8
lea eax, [esi + 0x30]
mov edx, dword [ebp + 8]
call fcn.004045f8
cmp dword [esi + 0x30], 0
jne 0x4e1c15
lea ecx, [ebp - 8]
mov eax, dword [esi + 0x2c]
xor edx, edx
call fcn.00409a38
mov edx, dword [ebp - 8]
lea eax, [esi + 0x30]
call fcn.004045f8
push dword [esi + 0x30]
push 0x4e1d28
push 0x4e1d34
lea eax, [esi + 0x34]
mov edx, 3
call fcn.00404924
push dword [esi + 0x30]
push 0x4e1d28
push 0x4e1d44
lea eax, [esi + 0x38]
mov edx, 3
call fcn.00404924
mov edx, dword [esi + 0x34]
lea eax, [esi + 0x3c]
mov ecx, 0x4e1d54
call fcn.004048b0
mov eax, dword [esi + 0x30]
call fcn.004e1244
mov eax, dword [esi + 0x30]
call fcn.004097b4
mov eax, dword [esi + 0x34]
call fcn.004097b4
mov eax, dword [esi + 0x38]
call fcn.004097b4
mov eax, dword [esi + 0x3c]
call fcn.004097b4
lea eax, [esi + 0x14]
mov edx, 0x4e1d60
call fcn.00404cec
lea eax, [esi + 0x10]
mov edx, 0x4e1d80
call fcn.00404cec
lea eax, [esi + 0x28]
mov edx, 0x4e1da4
call fcn.00404cec
lea eax, [esi + 0x18]
mov edx, 0x4e1dc0
call fcn.00404cec
lea eax, [esi + 0x1c]
mov edx, 0x4e1ddc
call fcn.00404cec
lea eax, [esi + 0x24]
call fcn.00404cb0
lea eax, [esi + 0xc]
mov edx, 0x4e1dfc
call fcn.00404cec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1d01
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045c8
lea eax, [ebp + 8]
call fcn.004045a4
ret
Function at 0x4eb57c
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4eb584
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4eb79f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004045a4
lea ecx, [ebp - 0x10]
mov edx, 0xcb
mov eax, ebx
call fcn.0049e088
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4eb7b0
call fcn.0040638c
cmp dword [ebp - 4], 0
je 0x4eb72e
lea eax, [ebp - 0x14]
call fcn.00406348
push eax
lea eax, [ebp - 0x24]
mov edx, 0x4eb7c8
call fcn.00414ca8
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
call fcn.00406348
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406458
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406458
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00406360
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406458
mov eax, dword [ebp - 0x2c]
mov ebx, eax
sub ebx, 1
jno 0x4eb643
call fcn.00403738
test ebx, ebx
jl 0x4eb72e
inc ebx
xor esi, esi
lea eax, [ebp - 0x30]
call fcn.00406348
push eax
lea eax, [ebp - 0x40]
xor edx, edx
mov cl, 1
call fcn.004149f4
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0x50]
mov edx, esi
mov cl, 0xfc
call fcn.004149f4
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406458
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov ecx, 0x4eb7cc
call fcn.0040638c
cmp dword [ebp - 0xc], 0
je 0x4eb726
lea eax, [ebp - 0x54]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406458
mov eax, dword [ebp - 0x54]
mov edx, 0x4eb7e0
call fcn.00404fa4
jne 0x4eb726
lea eax, [ebp - 0x5c]
mov edx, dword [edi]
call fcn.00404e68
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xf0]
call fcn.00406458
push dword [ebp - 0x60]
push 0x4eb7f0
push 0x4eb7f8
push 0x4eb7f0
push 0x4eb7f8
lea eax, [ebp - 0x58]
mov edx, 6
call fcn.00404f5c
mov edx, dword [ebp - 0x58]
mov eax, edi
call fcn.0040482c
inc esi
dec ebx
jne 0x4eb64e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb7a6
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00404cc8
lea eax, [ebp - 0x50]
mov edx, dword [0x40111c]
mov ecx, 2
call fcn.004052d8
lea eax, [ebp - 0x30]
call fcn.00406348
lea eax, [ebp - 0x28]
call fcn.00406348
lea eax, [ebp - 0x24]
call fcn.00410734
lea eax, [ebp - 0x14]
mov edx, dword [0x4011e8]
mov ecx, 2
call fcn.004052d8
lea eax, [ebp - 0xc]
call fcn.00406348
lea eax, [ebp - 8]
call fcn.00406348
lea eax, [ebp - 4]
call fcn.00406348
ret
Function at 0x100911c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100913a4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a000]
push edi
or ebp, 0xffffffff
jmp 0x100911ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100911f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100911e0
mov eax, 1
add ebx, ebx
jne 0x10091203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10091214
jne 0x10091233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10091233
dec eax
add ebx, ebx
jne 0x10091220
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100911f8
add ebx, ebx
jne 0x1009122f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10091285
xor ecx, ecx
sub eax, 3
jb 0x1009124b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100912ba
sar eax, 1
mov ebp, eax
jmp 0x10091256
add ebx, ebx
jne 0x10091256
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10091224
inc ecx
add ebx, ebx
jne 0x10091264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10091224
add ebx, ebx
jne 0x10091271
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10091266
jne 0x10091282
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10091266
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100912a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10091296
jmp 0x100911e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100912a4
add edi, ecx
jmp 0x100911e6
pop esi
mov edi, esi
mov ecx, 0xafb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100912c2
cmp byte [edi], 9
jne 0x100912c2
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 0x100912c7
lea edi, [esi + 0x8e000]
mov eax, dword [edi]
or eax, eax
je 0x10091336
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x913b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x913dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100912f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x913e0]
or eax, eax
je 0x10091330
mov dword [ebx], eax
add ebx, 4
jmp 0x10091311
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10091367
cmp al, 0xef
ja 0x1009135a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1009133c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10091349
mov ebp, dword [esi + 0x913e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1009139b
sub esp, 0xffffff80
jmp 0x1003de74
Function at 0x4011f0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0x7f02
mov esi, dword [esp + 0xc]
push 0
mov dword [0x403104], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x403108], eax
test eax, eax
jne 0x401217
xor eax, eax
pop esi
ret 8
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Sentinel_Driver_Startup_Program
push str.Sentstrt
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x40124f
xor eax, eax
pop esi
ret 8
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 3
push 0
push 0
push 0
push 0x4011d0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x401283
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40128a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 1
pop esi
ret 8

Function at 0x4012a0
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x401e58
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x40505c], eax
mov al, ah
and eax, 0xff
mov dword [0x405068], eax
mov eax, dword [0x40505c]
shr dword [0x40505c], 0x10
and eax, 0xff
mov dword [0x405064], eax
shl eax, 8
add eax, dword [0x405068]
mov dword [0x405060], eax
call fcn.00401dae
mov dword [ebp - 4], 0
call fcn.00401cc0
call fcn.00401cb5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40341c], eax
call fcn.00401829
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x405034], eax
call fcn.0040175e
call fcn.00401420
mov esi, dword [0x40341c]
mov al, byte [esi]
cmp al, 0x22
jne 0x40135e
mov al, byte [ebp - 0x28]
inc esi
mov al, byte [esi]
test al, al
je 0x401356
cmp al, 0x22
jne 0x40134b
cmp byte [esi], 0x22
jne 0x401368
inc esi
jmp 0x401368
cmp al, 0x20
jbe 0x401368
inc esi
cmp byte [esi], 0x20
ja 0x401362
cmp byte [esi], 0
je 0x401378
cmp byte [esi], 0x20
ja 0x401378
inc esi
cmp byte [esi], 0
jne 0x40136d
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x401398
movzx eax, word [ebp - 0x40]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00401450
jmp 0x4013d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401472
Capabilities:
Terminate process

Disassembly:
mov dword [0x405094], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x405090], bl
jne 0x4014ce
cmp dword [0x403418], 0
je 0x4014bc
mov esi, dword [0x403410]
sub esi, 4
cmp dword [0x403418], esi
ja 0x4014bc
mov eax, dword [esi]
test eax, eax
je 0x4014b1
call eax
sub esi, 4
cmp dword [0x403418], esi
jbe 0x4014a9
push 0x405778
push 0x405774
call fcn.004014f1
add esp, 8
push 0x405780
push 0x40577c
call fcn.004014f1
add esp, 8
test ebx, ebx
jne 0x4014ee
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret
Function at 0x402a12
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00402bc2
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402b10
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x402ab3
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402af6
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x402aca
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402ae5
test al, 0x40
je 0x402adc
mov ecx, dword [edi + 0x20]
jmp 0x402ae3
test al, 0x80
je 0x402af6
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402af6
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x402a82
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret