joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7e3aec
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x7e3b78
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x7e3b3b
dec ecx
jne 0x7e3b74
cmp eax, 4
jg 0x7e3b1e
mov al, 1
jmp 0x7e3b7a
cmp eax, 5
jne 0x7e3b2b
test edx, edx
jne 0x7e3b2b
mov al, 1
jmp 0x7e3b7a
cmp eax, 5
jne 0x7e3b37
dec edx
jne 0x7e3b37
mov al, 1
jmp 0x7e3b7a
xor eax, eax
jmp 0x7e3b7a
cmp eax, 4
jne 0x7e3b48
test edx, edx
jne 0x7e3b48
mov al, 1
jmp 0x7e3b7a
cmp eax, 4
jne 0x7e3b62
cmp edx, 0xa
jne 0x7e3b62
cmp word [esp + 0x16], 0x41
jne 0x7e3b5e
mov al, 1
jmp 0x7e3b7a
mov al, 1
jmp 0x7e3b7a
cmp eax, 4
jne 0x7e3b70
cmp edx, 0x5a
jne 0x7e3b70
mov al, 1
jmp 0x7e3b7a
xor eax, eax
jmp 0x7e3b7a
xor eax, eax
jmp 0x7e3b7a
xor eax, eax
add esp, 0x114
ret

Function at 0x7e460c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3f4
xor eax, eax
push ebp
push 0x7e4689
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b3d8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x7e466e
lea ecx, [ebp - 8]
mov eax, dword [0x990a7c]
mov eax, dword [eax]
mov edx, 0x7e46a4
call fcn.0063ebf4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.007bb3d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e4690
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a370
ret

Function at 0x7e46dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3f4
xor eax, eax
push ebp
push 0x7e4759
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b3d8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x7e473e
lea ecx, [ebp - 8]
mov eax, dword [0x990a7c]
mov eax, dword [eax]
mov edx, 0x7e4774
call fcn.0063ebf4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.007bb3d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e4760
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a370
ret
Function at 0x81a7a8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x81a8d0
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0081a694
mov eax, dword [esi]
call fcn.0040c870
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41f6b8]
call fcn.0040ca8c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.0040675c
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.0040675c
add ebx, 0x1c
mov eax, dword [esi]
call fcn.0040c870
mov dword [ebp - 0xc], eax
mov eax, dword [0x991148]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00809550
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00407604
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.0040c870
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0080952c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.008092e4
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00809548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81a8d7
lea eax, [ebp - 4]
mov edx, dword [0x41f6b8]
call fcn.0040cbb0
ret
Function at 0x85c110
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 0x85c118
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x85c2cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x85c2e8
call fcn.0040b644
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.00859dec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x85c2fc
call fcn.0080a92c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x85c193
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x85c1d4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.00859dec
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x85c364
call fcn.0080a92c
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040b5ec
mov eax, esi
mov edx, 0x85c390
call fcn.0040b5ec
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x85c1ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x85c25a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x85c3a4
call fcn.0080a92c
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040b5ec
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x85c223
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x85c24e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x85c3d4
call fcn.0080a92c
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040b5ec
mov eax, esi
mov edx, 0x85c390
call fcn.0040b5ec
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x85c266
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x85c291
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x85c400
call fcn.0080a92c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040b5ec
mov eax, esi
mov edx, 0x85c390
call fcn.0040b5ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x85c2d4
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040a370
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040a370
lea eax, [ebp - 4]
call fcn.0040a310
ret
Function at 0x887c98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x887d9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebx + 0x44]
call fcn.00427598
test al, al
je 0x887d84
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00406978
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004279a0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.007e3678
push dword [ebp - 8]
push 0x887db8
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
call fcn.007e3678
push dword [ebp - 0x14]
push 0x887db8
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x14]
call fcn.00426abc
push dword [ebp - 0x18]
push 0x887db8
push dword [ebx + 0x18]
push 0x887db8
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x40]
call fcn.007e3678
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov edx, 9
call fcn.0040b6cc
cmp dword [ebx + 0xc], 0
je 0x887d62
push dword [ebp - 4]
push 0x887db8
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0xc]
call fcn.007e3678
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040b6cc
push 5
push 0x887dbc
mov eax, dword [ebp - 4]
call fcn.0040b3d8
push eax
mov eax, dword [ebx + 0x44]
call fcn.0040b3d8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x887da6
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.0040a370
ret
Function at 0x8ab2f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x8ab334]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x8ab310
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x8ab320
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x8ab330
or bx, 2
mov eax, ebx
pop ebx
ret
Function at 0x8b9bf8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x8b9c5c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040b494
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00426d64
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8b9c63
lea eax, [ebp - 0x14]
call fcn.0040a310
ret
Function at 0x8bd2e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x8bd4db
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.008b1238
mov ecx, 0x8bd4ec
mov edx, 0x8bd4f4
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x250]
mov eax, dword [0x994c50]
mov dword [0x98ff18], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0x98ff2c]
push eax
mov eax, dword [0x994c50]
push eax
call sub.user32.dll_GetClassInfoW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x8bd35b
mov edx, sub.user32.dll_DefWindowProcW
cmp edx, dword [ebp - 0x3c]
je 0x8bd37a
test al, al
je 0x8bd370
mov eax, dword [0x994c50]
push eax
mov eax, dword [0x98ff2c]
push eax
call sub.user32.dll_UnregisterClassW
push 0x98ff08
call sub.user32.dll_RegisterClassW
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005fdc54
push 0x80000000
mov eax, dword [ebp - 0x18]
sub eax, 0x10
push eax
mov eax, dword [ebp - 0x14]
sub eax, 0x10
push eax
push 0x20
push 0x20
mov eax, dword [ebp - 4]
call fcn.006074c4
push eax
push 0
mov eax, dword [0x994c50]
push eax
push 0
xor ecx, ecx
mov edx, dword [0x98ff2c]
mov eax, 0x80
call fcn.004152b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x478], eax
mov dl, 1
mov eax, dword [0x50aa64]
call fcn.00514148
mov edx, dword [ebp - 4]
mov dword [edx + 0x480], eax
mov eax, dword [ebp - 4]
call fcn.005fdb44
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44c]
jge 0x8bd426
mov eax, dword [ebp - 4]
call fcn.005fdb84
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x450]
jge 0x8bd417
lea eax, [ebp - 8]
mov edx, 0x8bd508
call fcn.0040a738
jmp 0x8bd433
lea eax, [ebp - 8]
mov edx, 0x8bd52c
call fcn.0040a738
jmp 0x8bd433
lea eax, [ebp - 8]
mov edx, 0x8bd54c
call fcn.0040a738
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x480]
mov ecx, dword [ebp - 8]
mov edx, dword [0x994c50]
call fcn.00515220
push 0
push ebp
call fcn.008bd0a4
pop ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x478]
mov esi, 0xfffffffc
mov eax, dword [ebp - 4]
push eax
push 0x8bc594
call fcn.004cbb9c
push eax
push esi
push ebx
call sub.user32.dll_SetWindowLongW
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xfc]
mov eax, dword [ebp - 4]
call fcn.006074c4
push eax
call sub.user32.dll_SetCapture
push 0
push 0x14
push 4
mov eax, dword [ebp - 4]
call fcn.006074c4
push eax
call sub.user32.dll_SetTimer
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8bd4e2
lea eax, [ebp - 8]
call fcn.0040a310
ret
Function at 0x8d16c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x8d17c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [esi + 0x24]
mov ecx, ebx
add ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov eax, ebx
call fcn.004a8b64
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 5]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [esi + 0xc]
call fcn.008d17e4
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [esi + 8]
call fcn.008d17e4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x18]
pop edx
call fcn.008d14fc
movzx eax, byte [ebp - 5]
mov byte [esi + 0x21], al
mov edx, 2
mov eax, dword [edi + 0x44]
call fcn.0050d630
mov edx, 0xff000008
mov eax, dword [edi + 0x44]
call fcn.0050d4dc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x60]
movzx eax, byte [esi + 0x20]
push eax
lea eax, [ebp - 4]
push eax
movzx ecx, byte [esi + 0x21]
mov edx, dword [esi + 0x10]
mov eax, dword [0x8cf0cc]
call fcn.008d1194
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d17cf
lea eax, [ebp - 4]
call fcn.0040a310
ret
Function at 0x8e50c8
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x8e50e4
push esi
mov esi, edx
mov edx, eax
lodsb al, byte [esi]
xor edx, eax
shr eax, 8
shl edx, 2
xor eax, dword [edx + 0x9b7f5c]
dec ecx
jne 0x8e50cf
pop esi
ret

Function at 0x8e8800
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x8e88e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebx + 0xc], 0
je 0x8e88c8
lea eax, [ebp - 4]
push eax
mov eax, 0x8e8904
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
movzx eax, byte [esi + 0x14]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x2c]
mov ecx, 3
mov eax, 0x8e8924
call fcn.00428468
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040afa0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0xc]
call fcn.0063ae28
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x8e88c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0063c1cc
test eax, eax
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e88c8
mov eax, dword [ebp - 0xc]
call fcn.00408650
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e88ed
lea eax, [ebp - 0x30]
call fcn.0040a334
lea eax, [ebp - 4]
call fcn.0040a310
ret

Function at 0x8ec8b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3f4
xor eax, eax
push ebp
push 0x8ec917
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b3d8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x8ec901
mov edx, 0x8ec930
mov eax, ebx
call fcn.007bb3d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8ec91e
lea eax, [ebp - 4]
call fcn.0040a310
ret

Function at 0x8eedfc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x8eee2d
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.0040b494
jmp 0x8eee34
mov eax, ebx
call fcn.0040a310
add esp, 0x204
pop ebx
ret
Function at 0x8eee3c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x8eeeb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b56c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b3d8
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x8eee94
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b7b4
jmp 0x8eee9b
mov eax, ebx
call fcn.0040a310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8eeeb8
lea eax, [ebp - 4]
call fcn.0040a310
ret

Function at 0x8f1a24
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x8f1b75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x48], 0
je 0x8f1b4f
lea eax, [ebp - 4]
push eax
mov eax, 0x8f1b8c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x8f1bb8
call fcn.00428468
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040afa0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0063ae28
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x8f1ac4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0063c6a4
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8f1acb
mov eax, dword [ebp - 0x14]
call fcn.00408650
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8f1b7c
lea eax, [ebp - 0x24]
call fcn.0040a310
lea eax, [ebp - 0x20]
call fcn.0040a334
lea eax, [ebp - 4]
call fcn.0040a310
ret

Function at 0x8f1f68
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x8f202c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, 0x8f2044
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x8f2070
call fcn.00428468
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040afa0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x48]
call fcn.0063ae28
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x8f2007
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0063c1cc
test eax, eax
jle 0x8f1ff1
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0063c538
mov edx, eax
mov eax, ebx
call fcn.008f1c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8f200e
mov eax, dword [ebp - 8]
call fcn.00408650
ret
Function at 0x901e2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x901ee3
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x190
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x901ef4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x901ecd
mov dword [ebp - 0xc], 0x40
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x901f20
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp esi, 2
je 0x901ecd
test esi, esi
jne 0x901ea4
cmp dword [ebp - 8], 1
je 0x901ea8
xor ebx, ebx
jmp 0x901ecd
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x50]
mov ecx, 0x20
call fcn.0040b494
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x10]
call fcn.0040812c
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x901ecd
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x901eea
lea eax, [ebp - 0x54]
call fcn.0040a310
ret
Function at 0x907af6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or ecx, 0x135ec
xor ecx, 0x125af
sub ecx, 0x17f87
pop ecx
push eax
or eax, 0x1859d
or eax, 0x69d1
pop eax
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x907b46
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x9078fc
mov dword [ebp - 0x6ec], 0
Function at 0x92cc0c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3f4
mov eax, dword [ebp - 8]
call fcn.0040a3f4
xor eax, eax
push ebp
push 0x92cd10
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x10], 0
je 0x92cced
lea eax, [ebp - 0xc]
push eax
mov eax, 0x92cd2c
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x28]
mov ecx, 2
mov eax, 0x92cd60
call fcn.00428468
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov ecx, 0
call fcn.0040afa0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x10]
call fcn.0063ae28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x92cce6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0063c1cc
test eax, eax
jle 0x92ccd0
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0063c538
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.004bca7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x92cced
mov eax, dword [ebp - 0x10]
call fcn.00408650
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x92cd17
lea eax, [ebp - 0x2c]
call fcn.0040a334
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a370
ret