joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415185
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4151bb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x7b76
push 1
push dword [ebp - 0xc]
push 1
call fcn.004152c3
add esp, 0x14
jmp 0x4152bf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4152a5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41528a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 3
jmp 0x41521d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x415288
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x1454bcd7
push 2
lea ecx, [ebp - 0x44]
call fcn.00432a80
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.0040a386
add esp, 0xc
push 0x5e2
push 0x4e6f
push 1
lea eax, [ebp - 0x44]
push eax
push 0x3a2d
push 1
push 0x2e57
push 0x660b
push 1
push 1
push 0
call fcn.00414810
add esp, 0x2c
lea ecx, [ebp - 0x44]
call fcn.00432b52
jmp 0x415212
jmp 0x4152a3
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1355
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4152bf
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0
push 0
push 0x26e5
call fcn.00419d9f
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4152e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41539b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x415347
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x1f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x5655
push 1
call fcn.004153f5
add esp, 0x14
jmp 0x415399
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x415382
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x415380
push 0x5a7
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x415399
push 0xe7a
push 0x2657
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x4153f1
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4153d0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0x31e2
push dword [ebp - 0x38]
push 0x6d43
push 1
call fcn.0040eaf7
add esp, 0x10
jmp 0x4153f1
push 0x60a
push 0x24d3
push 0
push 1
push 0x6acc
push 1
push 1
push 1
call fcn.004087b1
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x41d1dc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41d2d3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41d257
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41d24b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0xc], 0
jmp 0x41d255
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x41d2d1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x41d2a3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41d2a1
push 1
push 1
push 0
push 0x4cf0
push 0x2e88
push 0x61fb
push 0x1d96
call fcn.0041d13f
add esp, 0x1c
jmp 0x41d2d1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push 2
mov ecx, dword [ebp - 0x44]
call fcn.00432b6e
or dword [eax], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [eax], 0xffffffff
jmp 0x41d2e9
push 0xa0e
push 0x642
push 1
push 0
call fcn.004089e4
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x41dc2a
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x41dcf0
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41dcb8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0041dd83
add esp, 0x1c
jmp 0x41dceb
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
push 1
push 0
push 0x7f0a
push 0x7704
push dword [ebp - 0x40]
push 0x3f8d
push 0x111a
push 0x7589
push 0x6962
call fcn.0041ac77
add esp, 0x24
jmp 0x41dd7f
lea eax, [ebp + 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x41dd2b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x4c]
push 0x685
push 0x3ae3
call fcn.00417ed5
add esp, 0x10
jmp 0x41dd7f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x41dd5a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41dd58
push 1
push 0
push 0x3c06
call fcn.00417d23
add esp, 0xc
jmp 0x41dd7f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x228f
push 0x39a
push 0x1a65
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esp, ebp
pop ebp
ret
Function at 0x41e8e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x41e94d
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41e914
push 1
call fcn.0041ea13
pop ecx
jmp 0x41e948
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
push 0x15b4
push 0
push 0x97a
push 0x6174
push 0x5306
call fcn.0041541f
add esp, 0x24
jmp 0x41ea0f
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41e982
push 1
call fcn.0041514d
pop ecx
jmp 0x41ea0f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x41e9c4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x41e9c2
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41ea0f
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x41e9f2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x41ea0f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.00432b6e
mov dword [eax], 0xcff0
jmp 0x41e9e7
mov esp, ebp
pop ebp
ret
Function at 0x42225e
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x42229c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xc]
push 0x26ca
push dword [ebp - 0x10]
push 1
call fcn.00422306
add esp, 0x14
jmp 0x422302
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4222e5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4222d2
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4222e3
mov byte [ebp - 1], 0
push 0
lea eax, [ebp - 1]
push eax
call fcn.0040c74e
pop ecx
pop ecx
jmp 0x422302
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 0x7179
push dword [ebp - 0x24]
push 0x726b
push 0
call fcn.004177b7
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x42d34f
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x42d3b4
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x42d39e
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x42d394
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
jmp 0x42d39c
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42d3af
push 0x7ecb
push 1
push 1
call fcn.004192f0
add esp, 0xc
jmp 0x42d447
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x42d3fa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00411f36
add esp, 0xc
jmp 0x42d447
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push 0x6abb
push 0
push 0x76d4
push 0x2f32
push 1
push 1
push 0x1153
push 0x304f
push 0x509c
push dword [ebp - 0x2c]
push 0x3476
push 0x5115
push 0x5dca
push dword [ebp - 0x30]
call fcn.0040cc2a
add esp, 0x38
mov esp, ebp
pop ebp
ret
Function at 0x42edbb
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x42ee47
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x42edff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 1
call fcn.0042eef6
pop ecx
pop ecx
jmp 0x42ee42
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x42ee2d
push 0x136a
push 0
push 0
push 0x5cc
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
jmp 0x42ee42
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0xfffffffb
jmp 0x42eef2
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x42ee79
push 1
push 0x7f9f
call fcn.0041da73
pop ecx
pop ecx
jmp 0x42eef2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x42eea1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x42eef2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x42eecf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffff5
jl 0x42eef2
mov dword [ebp - 0x54], 2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x42eef0
jmp 0x42eef2
jmp 0x42eec4
mov esp, ebp
pop ebp
ret
Function at 0x42f185
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x42f241
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x42f1cf
push 0x7141
push 1
push 0x6b64
call fcn.0042f25b
add esp, 0xc
jmp 0x42f23f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x42f1f7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x42f23f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x42f225
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x42f23f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.00432b6e
and dword [eax], 0
jmp 0x42f21a
jmp 0x42f257
push 0x16a
push 1
push 0
push 0x211c
call fcn.004141c7
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x43bae1
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43bc37
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43bbf0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x43bb38
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x43bbee
mov dword [ebp - 0x28], 0xfffffffe
mov dword [ebp - 0x2c], 0xfffffff8
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x38], 0xfffffffa
mov dword [ebp - 0x3c], 0x59609c3f
mov dword [ebp - 0x40], 0xfffffffd
mov dword [ebp - 0x44], 0xfffffff9
mov dword [ebp - 0x48], 0x622a149c
mov dword [ebp - 0x4c], 0xca3c0bf9
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x5c], 0x58edfe01
mov dword [ebp - 0x60], 0xffffffff
push 1
lea ecx, [ebp - 0x70]
call fcn.00432a80
mov dword [ebp - 8], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 4], 0
jmp 0x43bbc9
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x43bbdf
push dword [ebp - 4]
lea ecx, [ebp - 0x70]
call fcn.00432b6e
and dword [eax], 0
jmp 0x43bbc2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x70]
call fcn.00432b52
jmp 0x43bc35
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0x59c6
push 1
push dword [ebp - 0x20]
push 0xe3
push 1
push 0
push 0x3d85
push 0x429a
push 0x3e7a
push dword [ebp - 0x24]
push 1
push 0x5b79
push 0xaa2
call fcn.00456b7a
add esp, 0x34
jmp 0x43bc4b
push 0x2c2f
push 0x5f48
push 0
call fcn.0043b475
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x43f3d2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x43f49f
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43f45d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43f43b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x43f45b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43f45b
push 0x90f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43f49d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x43f48c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x43f49d
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push 0
call fcn.00454d5e
pop ecx
pop ecx
jmp 0x43f4c5
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0
push 0x2a26
push dword [ebp - 0x40]
push 0x47e2
call fcn.0043cc5f
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x441ab0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x441bad
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x441b12
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
push 0x4d3f
push 0x2a1c
call fcn.00441c3b
add esp, 0x10
jmp 0x441ba8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x441b81
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x441b62
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x441b7f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.00432b6e
mov dword [eax], 0xe60b0cea
jmp 0x441b57
jmp 0x441ba8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x441ba8
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetPropA]
jmp 0x441c37
lea eax, [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x441c07
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x441bfd
push 0x1b96
push 0x24bb
push 0x779
push 0x2000
push 0
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x441c05
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x441c37
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
push 0x6131
push 0x26fd
push dword [ebp - 0x5c]
push 0x534e
push dword [ebp - 0x60]
push 0
push 0x4e07
call fcn.0043daee
add esp, 0x1c
mov esp, ebp
pop ebp
ret