joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43de70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
sete cl
jmp dword [ecx*4 + 0x449d10]

Function at 0x43f440
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp + 4], 0x393a3bec
mov eax, 0xaa60d84b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x559f27b9]
xor ecx, eax
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0x88
mov byte [esp + eax + 0x559f27b9], cl
inc eax
cmp eax, 0xaa60d84f
jne 0x43f460
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [esp + 0x24], 0
sete cl
jmp dword [ecx*4 + 0x44a60c]

Function at 0x43f810
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x57564938
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea esi, [eax - 0x4926812]
xor esi, edx
lea edx, [esi + 0x16dc0859]
mov edi, edx
and edi, 1
mov ebx, 0x26
sub ebx, esi
and ebx, 0x60
and edx, 0x9f
or edx, ebx
xor edx, 0x61
lea edx, [edx + edi*2]
mov byte [esp + eax], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 5
jb case.default.0x43f87f
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x44a6cc]
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [0x44a6f0]
mov edi, dword [edx]
xor ebx, ebx
cmp edi, edx
setne bl
jmp dword [ebx*4 + 0x44a6d4]
xor ebx, ebx
cmp dword [edi + 0x18], ecx
sete bl
jmp dword [ebx*4 + 0x44a6dc]
mov ebx, 1
jmp 0x43f8e0
mov eax, dword [edi + 0x28]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x43f910
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, dword [esp + 0x44]
movzx eax, word [esi]
mov dword [esp], 0xf7f6afbd
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov ecx, 0xff956cfe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x6a9302]
mov ebx, edx
and ebx, ecx
add bl, bl
sub dl, bl
movzx edx, dl
add edx, ecx
add dl, 0xa
mov byte [esp + ecx + 0x6a9302], dl
inc ecx
cmp ecx, 0xff956d05
jne 0x43f940
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x44a6fc]
Function at 0x600855a3
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0x1c], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
je 0x600855d2
mov edi, 0x60081464
or ecx, 0xffffffff
xor eax, eax
mov ebx, edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 0x1c], ecx
jmp 0x600855fd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.6008642b
cmp eax, 1
je 0x600855fa
push 0x80097004
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x60085660
mov ebx, dword [ebp - 0xc]
cmp dword [ebp + 0x1c], esi
je 0x60085675
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x8004
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x60085660
cmp dword [ebp + 0x24], esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
je 0x60085636
push 0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 4]
call esi
test eax, eax
je 0x6008565e
push 0
push dword [ebp + 0x1c]
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x6008565e
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x60085675
xor esi, esi
cmp dword [ebp - 8], 0
je 0x60085678
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and dword [ebp - 8], 0
jmp 0x60085678
push 1
pop esi
cmp dword [ebp - 0xc], 0
je 0x60085686
push dword [ebp - 0xc]
call fcn.6008538a
cmp dword [ebp - 4], 0
je 0x60085695
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 8]
pop edi
mov dword [eax], ecx
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0x60085cde
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x60085d97
push 0x27
call fcn.6008536b
mov ebx, eax
test ebx, ebx
je 0x60085d97
mov edi, 0x6008147c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + 6]
push eax
lea eax, [ebp - 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x10
call fcn.60085dd8
push 8
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
push ebx
push eax
call esi
test eax, eax
je 0x60085d97
push dword [ebp + 0x24]
xor edi, edi
push edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.600856d5
test eax, eax
jne 0x60085dc1
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x10
lea eax, [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp dword [ebp - 4], esi
je 0x60085db1
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x60085dbd
push ebx
call fcn.6008538a
xor ebx, ebx
xor eax, eax
jmp 0x60085dc4
push 1
pop eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x28]
pop ebx
mov dword [ecx], edx
leave
ret 0x28
Function at 0x401520
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x4c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str._NXZKWireless_OSDMain_MUTEX
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40155b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop esi
add esp, 0x4c
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [esp + 0x58]
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x80
push 0
mov dword [0x41aa58], esi
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x401370
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
call edi
push 0x7f00
push 0
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x7f00
push 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], str.NXZK_Wireless_Mouse_OSD
call edi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push esi
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x40e240
push str.NXZK_Wireless_Mouse_OSD
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x44c
mov esi, eax
call fcn.004038cf
add esp, 4
test eax, eax
je 0x40164f
mov ecx, dword [0x41aa58]
push esi
push ecx
mov ecx, eax
call fcn.004016c0
jmp 0x401651
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
mov dword [0x41aa54], eax
call esi
test eax, eax
je 0x4016a0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ebx, [ebx]
lea eax, [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
call ebp
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
call esi
test eax, eax
jne 0x401680
pop ebp
mov ecx, dword [0x41aa54]
pop edi
test ecx, ecx
je 0x4016b3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x4c
ret 0x10
Function at 0x403856
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419240]
jne 0x403860
repz ret
jmp fcn.0040506c

Function at 0x409f2c
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.0040475f
and dword [ebp - 4], 0
cmp dword [0x41b43c], 0
mov ebx, eax
jne 0x409fdd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a08e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a08e
push eax
call fcn.004046ed
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41b43c], eax
call esi
push eax
call fcn.004046ed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41b440], eax
call esi
push eax
call fcn.004046ed
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41b444], eax
call esi
push eax
call fcn.004046ed
pop ecx
mov dword [0x41b44c], eax
test eax, eax
je 0x409fdd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004046ed
pop ecx
mov dword [0x41b448], eax
mov eax, dword [0x41b448]
cmp eax, ebx
je 0x40a035
cmp dword [0x41b44c], ebx
je 0x40a035
push eax
call fcn.00404768
push dword [0x41b44c]
mov esi, eax
call fcn.00404768
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a035
test edi, edi
je 0x40a035
call esi
test eax, eax
je 0x40a02c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a02c
test byte [ebp - 0xc], 1
jne 0x40a035
or dword [ebp + 0x10], 0x200000
jmp 0x40a06e
mov eax, dword [0x41b440]
cmp eax, ebx
je 0x40a06e
push eax
call fcn.00404768
pop ecx
test eax, eax
je 0x40a06e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a06e
mov eax, dword [0x41b444]
cmp eax, ebx
je 0x40a06e
push eax
call fcn.00404768
pop ecx
test eax, eax
je 0x40a06e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41b43c]
call fcn.00404768
pop ecx
test eax, eax
je 0x40a08e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a090
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1b85b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xff2000]
push edi
jmp 0x1b85baa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1b85bb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b85ba0
mov eax, 1
add ebx, ebx
jne 0x1b85bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1b85bd4
jne 0x1b85bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b85bf3
dec eax
add ebx, ebx
jne 0x1b85be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1b85bb8
add ebx, ebx
jne 0x1b85bef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1b85c45
xor ecx, ecx
sub eax, 3
jb 0x1b85c0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1b85c7a
sar eax, 1
mov ebp, eax
jmp 0x1b85c16
add ebx, ebx
jne 0x1b85c16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b85be4
inc ecx
add ebx, ebx
jne 0x1b85c24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b85be4
add ebx, ebx
jne 0x1b85c31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1b85c26
jne 0x1b85c42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1b85c26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1b85c64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1b85c56
jmp 0x1b85ba6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1b85c64
add edi, ecx
jmp 0x1b85ba6
pop esi
mov edi, esi
mov ecx, 0xaeaf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1b85c82
cmp byte [edi], 0x29
jne 0x1b85c82
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 0x1b85c87
lea edi, [esi + 0x1782000]
mov eax, dword [edi]
or eax, eax
je 0x1b85cff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x179dbf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x179dd70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1b85cb4
mov ecx, edi
jns 0x1b85ce3
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 + 0x179dd78]
or eax, eax
je 0x1b85cf9
mov dword [ebx], eax
add ebx, 4
jmp 0x1b85cd1
call dword [esi + 0x179dd74]
mov ebp, dword [esi + 0x179dd7c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1785d5a]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1b85d4b
sub esp, 0xffffff80
jmp 0x4e4572
Function at 0x4144f8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
push ebx
mov edx, 0x10e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4144ff
call fcn.0042e970
mov edx, dword [esp + 0x448]
lea ecx, [esp]
call fcn.00419000
mov dword [0x4b5001], 0x4000096
mov dword [0x4b5001], 0x400009a
push dword [esp + 0x444]
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x42c], eax
mov dword [0x4b5001], 0x400009b
cmp dword [esp + 0x42c], 0
je 0x41467c
mov dword [0x4b5001], 0x400009c
lea ebp, [esp + 4]
mov dword [ebp], 0x428
mov dword [0x4b5001], 0x400009d
lea eax, [esp + 4]
push eax
push dword [esp + 0x430]
call sub.KERNEL32.dll_Module32FirstW
mov dword [esp + 0x430], eax
mov dword [0x4b5001], 0x400009e
cmp dword [esp + 0x430], 0
je 0x414666
mov dword [0x4b5001], 0x400009f
push edx
call fcn.0042e7d0
pop edx
push eax
push 1
push 1
push dword [esp + 0xc]
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
lea ebp, [esp + 0x1c]
lea eax, [ebp + 0x20]
push eax
call fcn.0042d880
call fcn.004192d2
add dword [esp], edx
call fcn.0042c890
call fcn.004192b0
and eax, eax
je 0x41462b
mov dword [0x4b5001], 0x40000a0
lea ebp, [esp + 4]
push dword [ebp + 0x14]
pop eax
mov dword [esp + 0x434], eax
mov dword [0x4b5001], 0x40000a1
jmp 0x414666
mov dword [0x4b5001], 0x40000a2
mov dword [0x4b5001], 0x40000a3
lea eax, [esp + 4]
push eax
push dword [esp + 0x430]
call sub.KERNEL32.dll_Module32NextW
mov dword [esp + 0x430], eax
mov dword [0x4b5001], 0x40000a4
jmp 0x41459b
mov dword [0x4b5001], 0x40000a5
push dword [esp + 0x42c]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b5001], 0x40000a6
mov dword [0x4b5001], 0x40000a8
mov eax, dword [esp + 0x434]
jmp 0x4146a5
push dword [esp]
call fcn.0042e9d0
add esp, 0x438
pop ebx
pop ebp
ret 8
Function at 0x41553f
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x415546
call fcn.0042e970
mov dword [0x4b5001], 0x400007f
mov dword [0x4b5001], 0x4000081
mov dword [esp + 0x30], 0
mov dword [0x4b5001], 0x4000083
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [0x4b5001], 0x4000084
lea ebp, [esp + 0xc]
movsx ebx, word [ebp]
cmp ebx, 9
jne 0x415678
mov dword [0x4b5001], 0x4000085
mov eax, str.IsWow64Process
push eax
mov eax, str.kernel32.dll
push eax
call fcn.00415447
mov dword [esp], eax
mov dword [0x4b5001], 0x4000086
cmp dword [esp], 0
je 0x41566e
mov dword [0x4b5001], 0x4000087
push dword [esp + 0x40]
push 0
push 0x400
call sub.KERNEL32.dll_OpenProcess
mov dword [esp + 8], eax
mov dword [0x4b5001], 0x4000088
cmp dword [esp + 8], 0
je 0x415664
mov dword [0x4b5001], 0x4000089
lea eax, [esp + 4]
push eax
push dword [esp + 0xc]
push dword [esp + 8]
call fcn.0041c1ed
mov dword [0x4b5001], 0x400008a
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b5001], 0x400008b
mov ebx, dword [esp + 4]
and ebx, ebx
jne 0x41565a
mov dword [0x4b5001], 0x400008c
mov dword [esp + 0x30], 1
mov dword [0x4b5001], 0x400008d
mov dword [0x4b5001], 0x400008e
mov dword [0x4b5001], 0x400008f
mov dword [0x4b5001], 0x4000090
mov dword [0x4b5001], 0x4000092
mov eax, dword [esp + 0x30]
jmp 0x41569e
add esp, 0x34
pop ebx
pop ebp
ret 4

Function at 0x4158c9
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4158d0
call fcn.0042e970
mov dword [0x4b5001], 0x171
mov dword [0x4b5001], 0x172
mov byte [esp], 0
mov dword [0x4b5001], 0x174
lea eax, [esp + 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.DLL_OpenProcessToken
and eax, eax
je 0x415a10
mov dword [0x4b5001], 0x175
lea eax, [esp + 8]
mov dword [0x4b5001], 0x177
lea eax, [esp + 8]
push eax
mov eax, str.SeDebugPrivilege
push eax
push 0
call sub.ADVAPI32.DLL_LookupPrivilegeValueW
and eax, eax
je 0x4159f3
mov dword [0x4b5001], 0x178
lea eax, [esp + 0x10]
mov dword [0x4b5001], 0x17b
lea ebp, [esp + 0x10]
mov dword [ebp], 1
mov dword [0x4b5001], 0x17c
lea ebp, [esp + 8]
push dword [ebp]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 4], eax
mov dword [0x4b5001], 0x17d
lea ebp, [esp + 8]
push dword [ebp + 4]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 8], eax
mov dword [0x4b5001], 0x17e
push ebp
pop ebp
mov dword [ebp + 0xc], 2
mov dword [0x4b5001], 0x180
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x18]
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
push eax
pop eax
mov byte [esp], al
mov dword [0x4b5001], 0x181
mov dword [0x4b5001], 0x182
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b5001], 0x183
mov dword [0x4b5001], 0x184
movsx eax, byte [esp]
movsx eax, al
jmp 0x415a39
add esp, 0x34
pop ebx
pop ebp
ret
Function at 0x416986
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.0042e970
mov edx, dword [esp + 0x14]
lea ecx, [esp]
call fcn.00419000
mov dword [0x4b5001], 0x3b7
mov dword [0x4b5001], 0x3b9
push 5
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.USER32.DLL_GetWindow
mov dword [esp + 4], eax
mov dword [0x4b5001], 0x3ba
cmp dword [esp + 4], 0
je 0x416ae1
mov dword [0x4b5001], 0x3bb
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
push dword [esp + 0xc]
call sub.USER32.DLL_GetWindowTextLengthW
mov ebx, eax
add ebx, 2
push ebx
call fcn.0042d1c0
lea eax, [esp + 0xc]
push eax
call fcn.0042e870
mov dword [0x4b5001], 0x3bc
push dword [esp + 8]
call fcn.0042c970
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call sub.USER32.DLL_GetWindowTextW
mov dword [0x4b5001], 0x3bd
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
push dword [esp + 0xc]
call fcn.0042d300
call fcn.0042e900
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
push dword [esp + 0x18]
call fcn.0042d300
call fcn.004192d2
add dword [esp], edx
call fcn.004192d2
add dword [esp + 4], edx
call fcn.0042c910
call fcn.004192b0
and eax, eax
je 0x416aac
mov dword [0x4b5001], 0x3be
mov eax, 1
jmp 0x416afb
mov dword [0x4b5001], 0x3bf
mov dword [0x4b5001], 0x3c0
push 2
push dword [esp + 8]
call sub.USER32.DLL_GetWindow
mov dword [esp + 4], eax
mov dword [0x4b5001], 0x3c1
jmp 0x4169c5
mov dword [0x4b5001], 0x3c2
xor eax, eax
jmp 0x416afb
push dword [esp]
call fcn.0042e9d0
push dword [esp + 8]
call fcn.0042e9d0
add esp, 0xc
pop ebx
ret 4
Function at 0x416bb8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov edx, 0x10d
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x416bbe
call fcn.0042e970
mov edx, dword [esp + 0x440]
lea ecx, [esp]
call fcn.00419000
mov dword [0x4b5001], 0x2000085
mov dword [0x4b5001], 0x2000088
lea ebp, [esp + 8]
mov dword [ebp], 0x428
mov dword [0x4b5001], 0x200008b
push dword [esp + 0x43c]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 4], eax
mov dword [0x4b5001], 0x200008c
cmp dword [esp + 4], 0
je 0x416d97
mov dword [0x4b5001], 0x200008d
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_Module32FirstW
and eax, eax
je 0x416d7a
mov dword [0x4b5001], 0x200008e
mov dword [0x4b5001], 0x200008f
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
lea ebp, [esp + 0x10]
lea eax, [ebp + 0x20]
push eax
call fcn.0042d880
lea eax, [esp + 0x434]
push eax
call fcn.0042e870
mov dword [0x4b5001], 0x2000090
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
lea eax, [ebp + 0x220]
push eax
call fcn.0042d880
lea eax, [0x4fece8]
push eax
call fcn.0042e870
mov dword [0x4b5001], 0x2000094
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
push dword [esp + 0x438]
call fcn.0042ca90
call fcn.0042e900
push edx
call fcn.0042e7d0
pop edx
push eax
push edx
call fcn.0042e7d0
pop edx
push eax
push dword [esp + 0xc]
call fcn.0042ca90
call fcn.004192f0
mov edx, eax
pop ecx
push ecx
call fcn.004192f0
mov ecx, eax
call fcn.00419270
je 0x416d43
mov dword [0x4b5001], 0x2000096
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b5001], 0x2000097
lea ebp, [esp + 8]
mov eax, dword [ebp + 0x14]
jmp 0x416dbb
mov dword [0x4b5001], 0x2000098
mov dword [0x4b5001], 0x2000099
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_Module32NextW
and eax, eax
je 0x416d6d
xor eax, eax
jmp 0x416d72
mov eax, 1
and eax, eax
je 0x416c52
mov dword [0x4b5001], 0x200009a
mov dword [0x4b5001], 0x200009b
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b5001], 0x200009c
mov dword [0x4b5001], 0x200009e
xor eax, eax
jmp 0x416dbb
push dword [esp]
call fcn.0042e9d0
push dword [esp + 0x430]
call fcn.0042e9d0
add esp, 0x434
pop ebp
ret 8