joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458c78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458cb0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458c91
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458ca0
or bl, 4
test esi, 0x20000000
je 0x458cab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f374
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f386
add esp, 0xfffffff0
call fcn.00404420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420a2c
mov eax, dword [0x520ea8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f718
mov eax, dword [0x520eb8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f724
mov eax, ebx
call fcn.0045f730
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4175fc]
call fcn.004040b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4175fc]
call fcn.004040b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4175fc]
call fcn.004040b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4175fc]
call fcn.004040b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4175fc]
call fcn.004040b8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45bb48
push eax
push 0
push 0
mov eax, dword [0x521180]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422514]
call fcn.00423d1c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422514]
call fcn.00423d1c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422514]
call fcn.00423d1c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045fb80
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fa48
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fa48
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fa48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f4c3
call fcn.00404478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f82c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f9d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45f9b8
mov dl, 1
mov eax, dword [0x417c60]
call fcn.004040b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ef8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45f9a7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044d070
test al, al
je 0x45f99a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45f9e8
lea eax, [ebp - 0x254]
call fcn.0040a820
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45f99a
xor eax, eax
push ebp
push 0x45f993
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45fa20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45f97c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405168
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45f97c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f99a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f89d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c448
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9de
lea eax, [ebp - 0x260]
call fcn.00404ef8
ret

Function at 0x460320
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x522b80]
cmp byte [eax + 0xa5], 0
jne 0x460391
cmp dword [0x522b98], 0
jne 0x460352
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4602dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x522b98], eax
cmp dword [0x522b94], 0
jne 0x46036d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x522b94], eax
cmp dword [0x522b9c], 0
jne 0x460391
push esp
push 0
push 0
push 0x460280
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x522b9c], eax
pop edx
ret
Function at 0x460a24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x522b80]
cmp dword [eax + 0x30], 0
je 0x460ace
cmp dword [ebx + 0x94], 0
jne 0x460ac8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4609b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460ac8
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 0x460a8e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460ac8
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.00419cc8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460a9d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46162c
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 0x461661
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.00404fe8
jmp 0x46166e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f4c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462838
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462879
mov eax, esi
call fcn.004485c4
test al, al
je 0x462879
mov eax, dword [ebx + 0x84]
call fcn.004482c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462879
push 0
mov eax, dword [ebx + 0x84]
call fcn.004482c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46eb88
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, edx
sub eax, 1
jae 0x46eb98
call fcn.00404024
test eax, eax
jb 0x46ebce
inc eax
xor edx, edx
mov dl, byte [esi]
mov ebx, dword [ecx]
and ebx, 0xff
xor edx, ebx
cmp edx, 0xff
jbe 0x46ebb8
call fcn.0040401c
mov edx, dword [edx*4 + 0x5195cc]
mov ebx, dword [ecx]
shr ebx, 8
xor edx, ebx
mov dword [ecx], edx
add esi, 1
dec eax
jne 0x46eb9d
pop esi
pop ebx
ret
Function at 0x476620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x476628
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4767c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x4767dc
mov eax, esi
call fcn.004744a8
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404f4c
lea ecx, [ebp - 0xc]
mov edx, 0x4767f0
mov eax, esi
call fcn.004744a8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404f4c
lea ecx, [ebp - 0x10]
mov edx, 0x476808
mov eax, esi
call fcn.004744a8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404f4c
lea ecx, [ebp - 0x14]
mov edx, 0x476824
mov eax, esi
call fcn.004744a8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404f4c
lea ecx, [ebp - 0x18]
mov edx, 0x476840
mov eax, esi
call fcn.004744a8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404f4c
lea ecx, [ebp - 0x20]
mov edx, 0x476858
mov eax, esi
call fcn.004744a8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409564
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00409988
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x476870
mov eax, esi
call fcn.004744a8
mov eax, dword [ebp - 0x24]
call fcn.0046d8bc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x476880
mov eax, esi
call fcn.004744a8
mov eax, dword [ebp - 0x28]
call fcn.0046d8bc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x476898
mov eax, esi
call fcn.004744a8
mov eax, dword [ebp - 4]
call fcn.0046d470
test al, al
je 0x47677b
mov eax, dword [ebp - 4]
call fcn.0040994c
mov edi, eax
test edi, edi
jl 0x476771
call fcn.0040b8f8
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x4768a0]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x476787
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x476787
mov eax, dword [ebp - 4]
call fcn.0046d8bc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4768ac
mov eax, esi
call fcn.004744a8
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4767cb
lea eax, [ebp - 0x30]
call fcn.00404ef8
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404f1c
ret
Function at 0x4848d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4848ff
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x48497e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0048318c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48494c
mov cx, word [esp]
sub cx, si
jmp 0x48494e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x484935
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x484974
mov cx, word [esp]
sub cx, si
jmp 0x484976
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48495d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4849db
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004845a4
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4849c6
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4849db
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4848da
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48af10
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x522f9c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48af32
shr eax, 1
xor eax, 0xedb88320
jmp 0x48af34
shr eax, 1
dec edx
jne 0x48af20
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48af19
mov byte [0x52339c], 1
pop esi
pop ebx
ret

Function at 0x48af50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x52339c], 0
jne 0x48af67
call fcn.0048af10
mov eax, edi
dec eax
test eax, eax
jl 0x48af90
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x522f9c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48af71
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x48d9f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x48da21
dec al
je 0x48da5d
dec al
je 0x48daa1
dec al
je 0x48db0c
jmp 0x48db96
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x48db96
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48da31
jmp 0x48db96
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48db96
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48da6d
jmp 0x48db96
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48db96
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x48dacf
xor ebp, ebp
jmp 0x48dae0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x48dae9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48dab1
jmp 0x48db96
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48db96
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x48db64
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0048af98
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48db20
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x493c60
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x493ce1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x51d460
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.0040ee60
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x493cc0
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x493cc4
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493ce8
cmp dword [ebp - 8], 0
je 0x493ce0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
Function at 0x49a42c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49a45a
mov eax, ebx
call fcn.0049aee0
cmp dword [ebx + 0x40], 0
je 0x49a453
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49a4cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x49a4bd
cmp dword [ebx + 8], 0
je 0x49a47c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x49a48e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49a4bd
cmp dword [ebx + 8], 0
je 0x49a46f
cmp eax, 3
je 0x49a4a1
dec eax
jne 0x49a46f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x49a46f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49a46f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49a4e9
cmp dword [ebx + 0x14], 0xcc
je 0x49a4e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0049a4f4
pop ebx
ret

Function at 0x4ad740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ad7b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x520a94]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4ad79b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004ad730
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ad538]
call fcn.004ad7d8
mov dword [0x520af8], eax
mov eax, dword [ebp - 4]
call fcn.004ad6e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad7b8
lea eax, [ebp - 8]
call fcn.00406ad4
ret

Function at 0x4af424
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 0x4af4de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405604
mov eax, dword [0x521558]
cmp dword [eax], 2
jne 0x4af493
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040584c
mov eax, dword [ebx]
call fcn.00405770
push eax
mov eax, dword [ebx]
call fcn.00405760
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405770
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040584c
jmp 0x4af4c5
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.0040a3a0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af4e5
lea eax, [ebp - 0x3f0]
call fcn.00404ef8
ret
Function at 0x4d28d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004d28bc
test eax, eax
jne 0x4d28f1
mov eax, esi
call fcn.00404ef8
jmp 0x4d2982
mov eax, ebx
call fcn.004d2a18
test al, al
je 0x4d2937
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404fe8
test edi, edi
je 0x4d292e
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4d2982
mov eax, esi
call fcn.00404ef8
jmp 0x4d2982
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je 0x4d297b
mov eax, dword [ebp + 0x208]
call fcn.0041aa4c
test eax, eax
jle 0x4d2969
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.004677f0
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404f4c
jmp 0x4d2982
mov eax, esi
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x210]
call fcn.00404f4c
jmp 0x4d2982
mov eax, esi
call fcn.00404ef8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ea18c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4ea33f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042948c
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.004541d4
call fcn.004d52d0
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4ea210
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00424218
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042948c
mov eax, dword [eax + 0xc]
pop edx
call fcn.00424220
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00424100
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.0040a230
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042948c
call fcn.00424fc0
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00424174
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004241b0
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004241b0
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004241b0
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00424218
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042948c
mov eax, dword [eax + 0xc]
pop edx
call fcn.004240ac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042948c
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x23
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x94]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.00423ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea346
lea eax, [ebp - 4]
call fcn.00404ef8
ret