joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433af0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0044c4f0
mov eax, dword [0x466040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x467f30]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x433cdb
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x433c26
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x433c26
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x433c02
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x433b79
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x433c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x433cfb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x433cd6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x433cfb
jmp 0x433b52
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004090f0
mov esp, ebp
pop ebp
ret
Function at 0x43df60
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.0040f3b0
lea ecx, [ebp - 4]
call fcn.0043df30
movzx eax, al
test eax, eax
jne 0x43df9d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.0043de70
mov eax, dword [ebp - 0x18]
jmp 0x43e0c5
lea ecx, [ebp - 4]
call fcn.0040f480
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043def0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.0040f480
push eax
push 0
push 0
call fcn.0043afb0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43e003
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.0043de70
mov eax, dword [ebp - 0x20]
jmp 0x43e0c5
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00414780
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.004055a0
lea ecx, [ebp - 8]
call fcn.004090a0
movzx edx, al
test edx, edx
jne 0x43e04c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.00409080
lea ecx, [ebp - 4]
call fcn.0043de70
mov eax, dword [ebp - 0x24]
jmp 0x43e0c5
lea ecx, [ebp - 8]
call fcn.00408c30
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.0040f480
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.0043afb0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x43e0a7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.00409080
lea ecx, [ebp - 4]
call fcn.0043de70
mov eax, dword [ebp - 0x34]
jmp 0x43e0c5
lea ecx, [ebp - 8]
call fcn.00415580
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.00409080
lea ecx, [ebp - 4]
call fcn.0043de70
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x4497a0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.00424960
lea ecx, [ebp - 0x34]
call fcn.00424960
call fcn.0042ee80
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004248b0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4497f3
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.00424a00
lea ecx, [ebp - 0x4c]
call fcn.00424a00
mov eax, dword [ebp - 8]
jmp 0x449868
call fcn.0042ee80
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004248b0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44982e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.00424a00
lea ecx, [ebp - 0x4c]
call fcn.00424a00
mov eax, dword [ebp - 0x10]
jmp 0x449868
lea ecx, [ebp - 0x34]
call fcn.00424cb0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00424cb0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.00424a00
lea ecx, [ebp - 0x4c]
call fcn.00424a00
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10001920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000193b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001972
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1000196e
jmp 0x10001960
cmp esi, eax
jae 0x10001972
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001960
cmp esi, eax
jb 0x10001979
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10001af0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.1000c1c0
mov eax, dword [0x1002abc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10001b58
lea ecx, [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x1008]
push 0x800
push edx
call fcn.1000c186
add esp, 0x10
test eax, eax
jns 0x10001b34
mov dword [ebp - 8], 0xa
jmp 0x10001b4b
mov edx, 0xa
xor ecx, ecx
mov word [ebp + eax*2 - 0x1008], dx
mov word [ebp + eax*2 - 0x1006], cx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c1a3
mov esp, ebp
pop ebp
ret

Function at 0x10002190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
movsx ebx, ax
shr eax, 0x10
push esi
mov esi, ecx
cwde
mov ecx, 0x800
mov dword [ebp - 4], eax
test word [esi + 0x276], cx
jne 0x10002261
push eax
push ebx
lea edx, [esi + 0x294]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10002261
cmp dword [esi + 0x36c], 8
push edi
lea edi, [esi + 0x358]
jb 0x100021e4
mov eax, dword [edi]
jmp 0x100021e6
mov eax, edi
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
push 0x22d
push str.C_SummaryCtrl2::OnLButtonUp
push str.__S_L_06d__Clink__x__x_:_s
call fcn.10001af0
add esp, 0x18
push 1
lea ecx, [esi + 0x37c]
call fcn.10009800
cmp dword [esi + 0x3c8], 1
jne 0x10002240
cmp dword [edi + 0x14], 8
jb 0x10002221
mov edi, dword [edi]
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x14], 8
jb 0x10002248
mov edi, dword [edi]
push edi
push 0x2d5
call fcn.10001b70
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
pop esi
mov dword [ecx], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10004c40
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10004c4a
lea esi, [ecx - 8]
jmp 0x10004c4c
xor esi, esi
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 0x14]
push eax
call edx
mov esi, dword [esi + 0x74]
test esi, esi
je 0x10004c68
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10005320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10005332
add eax, 0xfffffff4
jmp 0x10005334
xor eax, eax
mov eax, dword [eax + 0x38]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, 7
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], 0
test eax, eax
jne 0x1000535d
xor ecx, ecx
mov dword [ebp + 8], ecx
mov eax, 0x80004005
jmp 0x10005370
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x1001fc14
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp + 8]
test eax, eax
js 0x100053c0
test ecx, ecx
je 0x100053bb
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
jns 0x1000538e
mov esi, 1
push 0x11
call edi
test ax, ax
jns 0x1000539a
add esi, 2
push 0x12
call edi
test ax, ax
jns 0x100053a6
add esi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp + 8]
jmp 0x100053c0
mov eax, 1
xor edx, edx
test eax, eax
setne dl
mov esi, edx
test ecx, ecx
je 0x100053d5
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c1a3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002abc8]
jne 0x1000c1ad
repz ret
jmp fcn.10015869
Function at 0x100177b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002abc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000e0be
and dword [ebp - 0x14], 0
cmp dword [0x1002ce60], 0
mov dword [ebp - 0x18], eax
jne 0x10017869
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10017911
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10017911
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002ce60], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002ce64], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002ce68], eax
call edi
push eax
call esi
mov dword [0x1002ce70], eax
test eax, eax
je 0x10017869
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1002ce6c], eax
mov eax, dword [0x1002ce6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100178c2
cmp dword [0x1002ce70], ecx
je 0x100178c2
push eax
call esi
push dword [0x1002ce70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100178c2
test ebx, ebx
je 0x100178c2
call edi
test eax, eax
je 0x100178b9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100178b9
test byte [ebp - 8], 1
jne 0x100178c2
or dword [ebp + 0x10], 0x200000
jmp 0x100178f5
mov eax, dword [0x1002ce64]
cmp eax, dword [ebp - 0x18]
je 0x100178f5
push eax
call esi
test eax, eax
je 0x100178f5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100178f5
mov eax, dword [0x1002ce68]
cmp eax, dword [ebp - 0x18]
je 0x100178f5
push eax
call esi
test eax, eax
je 0x100178f5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002ce60]
call esi
test eax, eax
je 0x10017911
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10017913
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c1a3
leave
ret
Function at 0x1001d878
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1002ced0], 0
push esi
push edi
jne 0x1001d7ee
call fcn.1001d75a
test eax, eax
je 0x1001d833
mov eax, dword [0x1002ced0]
cmp eax, 1
jne 0x1001d80f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1001d833
jmp 0x1001d875
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1001d875
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1001d837
xor eax, eax
jmp 0x1001d875
mov eax, dword [esi]
push dword [0x1002ced0]
call edi
mov edi, eax
test edi, edi
je 0x1001d859
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1001d875
lea edi, [esi + 0xff0]
push esi
push dword [0x1002ced0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1001d85f
mov eax, esi
pop edi
pop esi
ret
jmp 0x1001d7da
Function at 0x4018d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.004070c0
add esp, 4
lea ecx, [eax*4 + 1]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004071a0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40190c
call fcn.00401870
push eax
call fcn.00407970
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
je 0x4019b6
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
cmp edx, 0x7f
jle 0x40195d
movzx eax, byte [ebp - 1]
push eax
push 0x4311c0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401ae0
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x401912
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x27
jne 0x401995
mov eax, dword [ebp - 8]
mov byte [eax], 0x27
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov byte [edx], 0x27
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov byte [ecx], 0x27
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x401912
mov edx, dword [ebp - 8]
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x404680
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.004042a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4046b2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x431144]
call dword [ebp - 8]
jmp 0x4046bc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x422f38
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.004169e0
and dword [ebp - 4], 0
cmp dword [0x496efc], 0
mov ebx, eax
jne 0x422fe9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42309a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42309a
push eax
call fcn.0041696e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x496efc], eax
call esi
push eax
call fcn.0041696e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x496f00], eax
call esi
push eax
call fcn.0041696e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x496f04], eax
call esi
push eax
call fcn.0041696e
pop ecx
mov dword [0x496f0c], eax
test eax, eax
je 0x422fe9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041696e
pop ecx
mov dword [0x496f08], eax
mov eax, dword [0x496f08]
cmp eax, ebx
je 0x423041
cmp dword [0x496f0c], ebx
je 0x423041
push eax
call fcn.004169e9
push dword [0x496f0c]
mov esi, eax
call fcn.004169e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423041
test edi, edi
je 0x423041
call esi
test eax, eax
je 0x423038
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423038
test byte [ebp - 0xc], 1
jne 0x423041
or dword [ebp + 0x10], 0x200000
jmp 0x42307a
mov eax, dword [0x496f00]
cmp eax, ebx
je 0x42307a
push eax
call fcn.004169e9
pop ecx
test eax, eax
je 0x42307a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42307a
mov eax, dword [0x496f04]
cmp eax, ebx
je 0x42307a
push eax
call fcn.004169e9
pop ecx
test eax, eax
je 0x42307a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x496efc]
call fcn.004169e9
pop ecx
test eax, eax
je 0x42309a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42309c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x457c08
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.0040c060
xor esi, esi
push 0x3c
lea eax, [esp + 0x28]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x1c], 1
call fcn.004131f0
add esp, 0xc
cmp dword [esp + 0x70], 2
jb 0x457c69
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00453081
cmp word [eax], bx
je 0x457c69
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
push eax
call fcn.00453081
mov edi, eax
call fcn.0040fff0
mov ebx, eax
cmp dword [esp + 0x70], 3
jb 0x457c89
mov eax, dword [ebp + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00453081
mov edi, eax
call fcn.0040fff0
mov dword [esp + 0x6c], eax
mov esi, eax
cmp dword [esp + 0x70], 4
jb 0x457cc6
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.00453081
cmp word [eax], 0
je 0x457cc6
mov edx, dword [ebp + 4]
mov edi, dword [edx + 0xc]
push edi
call fcn.0044adff
test al, al
jne 0x457cc6
push edi
call fcn.00453063
push eax
lea esi, [esp + 0x18]
call fcn.0040df50
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x70], 5
jb 0x457cdf
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040c760
movzx ecx, ax
mov dword [esp + 0x10], ecx
push 0x3c
lea edx, [esp + 0x28]
push 0
push edx
call fcn.004131f0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], pe_nt_image_headers32
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.00453081
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
test ebx, ebx
je 0x457d49
push ebx
call fcn.004112ef
add esp, 4
test esi, esi
je 0x457d56
push esi
call fcn.004112ef
add esp, 4
test edi, edi
jne 0x457d94
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
push 1
add eax, ecx
call fcn.004040e0
mov esi, dword [esp + 0x74]
call fcn.004092c0
lea ecx, [esp + 0x14]
mov dword [esi + 8], 1
mov dword [esi], edi
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
cmp byte [esp + 0x68], 0
je 0x457dbe
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x450], eax
lea ecx, [esp + 0x14]
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
mov esi, dword [esp + 0x74]
call fcn.004092c0
mov eax, dword [esp + 0x5c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x457de3
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
Function at 0x468387
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [esp + 0x3c], 1
cmp dword [ebp + 4], esi
jne 0x4683b0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov byte [ebx], 0
mov byte [eax], 0
mov byte [ecx], 0
mov byte [edx], 0
push esi
push ebp
call fcn.00438a19
movzx eax, word [eax]
cmp ax, 0x2b
je 0x4683f0
cmp ax, 0x5e
je 0x4683ea
cmp ax, 0x21
je 0x4683ea
cmp ax, 0x23
jne 0x468426
cmp ax, 0x2b
jne 0x4683fa
mov eax, dword [esp + 0x30]
mov byte [eax], 1
inc esi
jmp 0x4683c8
cmp ax, 0x5e
jne 0x46840a
mov ecx, dword [esp + 0x34]
mov byte [ecx], 1
inc esi
jmp 0x4683c8
cmp ax, 0x21
jne 0x46841a
mov edx, dword [esp + 0x38]
mov byte [edx], 1
inc esi
jmp 0x4683c8
cmp ax, 0x23
jne 0x468423
mov byte [ebx], 1
inc esi
jmp 0x4683c8
mov eax, esi
push eax
inc esi
push ebp
mov dword [esp + 0x30], esi
call fcn.00438a19
movzx eax, word [eax]
cmp ax, 0x7b
jne 0x46850f
mov eax, pe_nt_image_headers32
lea ecx, [esp + 0x10]
call fcn.00401400
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebp
push 0x7d
call fcn.0045f717
test al, al
je 0x4684e7
mov edx, dword [esp + 0x10]
mov eax, dword [edi*4 + 0x492b10]
push edx
push eax
call fcn.004115d0
add esp, 8
test eax, eax
je 0x468488
inc edi
cmp edi, 0x62
jl 0x468469
cmp edi, 0x62
jne 0x4684de
xor edi, edi
lea esi, [esp + 0x10]
call fcn.00401be0
movzx ecx, word [eax]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov edx, dword [esp + 0x2c]
cwde
mov dword [edx], eax
test eax, 0x200
je 0x4684b7
mov ecx, dword [esp + 0x34]
mov byte [ecx], 1
test eax, 0x400
je 0x4684c5
mov edx, dword [esp + 0x38]
mov byte [edx], 1
test eax, 0x100
je 0x468504
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov byte [eax], 1
call fcn.00402620
jmp 0x468547
cmp byte [edi + 0x492c98], 0
je 0x4684f7
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.00402620
jmp 0x468547
movzx ecx, byte [edi + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [esp + 0x2c]
mov dword [edx], ecx
lea ecx, [esp + 0x10]
call fcn.00402620
jmp 0x468547
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [esp + 0x2c]
cwde
mov dword [ecx], eax
test eax, 0x200
je 0x46852b
mov edx, dword [esp + 0x34]
mov byte [edx], 1
test eax, 0x400
je 0x468539
mov ecx, dword [esp + 0x38]
mov byte [ecx], 1
test eax, 0x100
je 0x468547
mov edx, dword [esp + 0x30]
mov byte [edx], 1
mov eax, dword [esp + 0x2c]
and dword [eax], 0xff
mov al, byte [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18