joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455c00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x200
lea eax, [ebp - 0x204]
mov edi, ecx
push 0
push eax
call fcn.00466b60
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00466b60
lea eax, [edi + 0x284]
push eax
lea eax, [edi + 0x84]
push eax
lea eax, [ebp - 0x204]
push 0x4920ac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push str..WASTESTATE
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push 0x491630
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x38
lea eax, [ebp - 0x204]
push 0
push 0x80
push 3
push 0
push 0
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x455cb6
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x418]
push eax
push 0
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x410]
push eax
call fcn.00414d10
mov esi, eax
lea eax, [ebp - 0x418]
push eax
call fcn.00414d10
add esp, 8
mov dword [ebp - 0x408], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0xc24], esi
pop esi
ja 0x455d0f
mov eax, dword [ebp - 0x408]
cmp dword [edi + 0xc28], eax
jbe 0x455ca4
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
Function at 0x4571a0
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x140c
call fcn.00465040
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0xb94], 0xffffffff
je 0x4573a3
cmp dword [edi + 0xbf8], 0
je 0x4573a3
lea edx, [edi + 0x72c]
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4571e0
sub ecx, esi
lea esi, [edi + 0x72c]
add esi, ecx
cmp esi, edx
jb 0x457204
mov al, byte [esi]
cmp al, 0x2f
je 0x457204
cmp al, 0x5c
je 0x457204
dec esi
cmp esi, edx
jae 0x4571f5
push 0x400
lea eax, [ebp - 0x404]
inc esi
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [edi + 0xb90]
call fcn.0046b4f4
lea ecx, [ebp - 0x404]
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457244
sub ecx, edx
mov edx, esi
push ebx
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x457253
sub edx, ebx
lea eax, [ecx + 2]
add eax, edx
push eax
call fcn.0046b4f9
push esi
lea ecx, [ebp - 0x404]
mov dword [edi + 0xb90], eax
push ecx
push 0x4920ac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push dword [edi + 0xb90]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4572bc
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 0x140c]
mov dword [ebp - 0x140c], 0
push eax
push 0
push dword [edi + 0xb94]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push dword [edi + 0xb94]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [edi + 0xbf8]
test byte [ecx], 1
je 0x45736f
nop dword [eax]
push 0x1000
lea eax, [ebp - 0x1404]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea eax, [ebp - 0x1408]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1404]
push eax
push dword [edi + 0xb94]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45736f
push 0
lea eax, [ebp - 0x1408]
push eax
push dword [ebp - 0x1408]
lea eax, [ebp - 0x1404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x1408], 0x1000
jb 0x45736f
mov eax, dword [edi + 0xbf8]
test byte [eax], 1
jne 0x457300
push 0
lea eax, [ebp - 0x140c]
push eax
push ebx
push dword [edi + 0xb94]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0xb90]
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
Function at 0x457540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
cmp byte [edi], 0x20
jne 0x45755e
nop
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0x20
je 0x457550
cmp byte [esi], 0
je 0x45760d
push esi
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0x3a
jne 0x45757e
cmp byte [eax + 1], 0x5c
jne 0x45757e
lea esi, [eax + 2]
jmp 0x4575c7
cmp byte [esi], 0x5c
jne 0x45760d
cmp byte [esi + 1], 0x5c
jne 0x45760d
push ebx
mov ebx, 2
mov al, byte [esi]
cmp al, 0x5c
je 0x4575b3
nop dword [eax]
test al, al
je 0x4575c1
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x4575a0
cmp byte [esi], 0
je 0x4575c1
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
sub ebx, 1
jne 0x457597
pop ebx
cmp byte [esi], 0
je 0x45760d
nop dword [eax]
cmp byte [esi], 0x5c
je 0x4575e8
cmp byte [esi], 0
je 0x4575ed
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0x5c
jne 0x4575d5
cmp byte [esi], 0
jne 0x4575f8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x457608
push 0
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x4575d0
pop edi
pop esi
pop ebp
ret
Function at 0x459610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x437
push dword [0x4c644c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0
test esi, esi
js 0x45964d
push esi
push 0x130c
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x45965d
push 0
push 0x130b
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
js 0x4596f2
mov ecx, dword [0x4c6450]
cmp ecx, dword [esi*4 + 0x4c64b0]
je 0x45969f
test ecx, ecx
je 0x459681
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4c3118]
push esi
push str.xfer_sel
call fcn.00403690
mov ecx, dword [esi*4 + 0x4c64b0]
mov dword [0x4c6450], ecx
test ecx, ecx
je 0x4596f2
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1328
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [0x4c6450]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 8
push dword [0x4c6450]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
Function at 0x45c330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x4c3118]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push 0x490cb9
push str.downloadpath
mov dword [ebp - 0x208], eax
call fcn.00403900
mov esi, eax
test esi, esi
je 0x45c469
cmp byte [esi], 0
je 0x45c469
push edi
push ebx
mov ecx, 0x4c6454
call fcn.00416c70
mov edi, eax
test edi, edi
je 0x45c3d4
cmp dword [ebp + 0x10], 0
je 0x45c39c
mov ecx, edi
call fcn.004571a0
test eax, eax
jne 0x45c3a7
mov ecx, edi
call fcn.0045c480
test eax, eax
je 0x45c3d4
cmp byte [eax], 0
je 0x45c3d4
push 5
push esi
push 0
push eax
push str.open
push dword [ebp - 0x208]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
push 0x200
lea eax, [ebp - 0x204]
mov byte [ebp - 0x204], 0
push eax
push 0
push ebx
mov ecx, 0x4c6454
call fcn.004170f0
cmp byte [ebp - 0x204], 0
je 0x45c468
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c402
sub ecx, edx
lea edx, [ebp - 0x204]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x45c414
sub edx, edi
lea eax, [ecx + 2]
add eax, edx
push eax
call fcn.0046b4f9
mov edi, eax
add esp, 4
test edi, edi
je 0x45c468
lea eax, [ebp - 0x204]
push eax
push esi
push 0x4920ac
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 5
push esi
push 0
push edi
push str.open
push dword [ebp - 0x208]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push edi
call fcn.0046b4f4
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e2f
mov esp, ebp
pop ebp
ret

Function at 0x45c4b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x45ca1b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x45ca2e
xor eax, eax
jmp 0x45cad1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x45ca6d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x45cacf
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0045cb6b
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x45cacd
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x45cad1
jmp 0x45ca64
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4815a6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00481425

Function at 0x484bfc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004848bc

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219

Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014a5f
Capabilities:
Get file attributes
Get session user name

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10014a76
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10014a7e
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop ebp
ret
Function at 0x1001aac4
Capabilities:
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001aade
push 0x1b4b
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1001aae6
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop ebp
ret

Function at 0x1001d2dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001d2f3
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1001d30a
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x100259da
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10025a0f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10025a0d
push 0x9bc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetLayout]
jmp 0x10025a2d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10025a2d
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret

Function at 0x1002698f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100269da
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.1002823c
add esp, 0x10
jmp 0x100269e2
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esp, ebp
pop ebp
ret
Function at 0x1002d6b1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002d7df
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0x6328
push 0x7804
call fcn.10024377
pop ecx
pop ecx
call eax
push eax
push 0x6328
push 0x72cd
call fcn.10024377
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
push 0x1926
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002d5e6
add esp, 0xc
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x6328
push 0x9217
call fcn.10024377
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x6328
push 0x9217
call fcn.10024377
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.100243d8
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0x5e9
push 0x5d12
call fcn.1002d647
add esp, 0x14
jmp 0x1002d7fd
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1002d7fd
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esp, ebp
pop ebp
ret
Function at 0x1002da4d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002dabb
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
push 0x3180
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
call fcn.1002d6b1
add esp, 0x1c
jmp 0x1002dad9
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1002dad9
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret
Function at 0x1002db89
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 0x57c0
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1002d801
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002dbbe
xor eax, eax
jmp 0x1002dd0f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x6dbf
push 1
lea eax, [ebp + 8]
push eax
call fcn.1002d85b
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002dbeb
xor eax, eax
jmp 0x1002dd0f
push 0x7c08
push 0xde9
push 0x5ec2
push 0x2d01
push 0x34c2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x64a7
push 0x5a2c
push 1
call fcn.1002d8ca
add esp, 0x28
cmp dword [ebp - 0xc], 0
jne 0x1002dc2d
xor eax, eax
jmp 0x1002dd0f
push 0x2537
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002da4d
add esp, 0x1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x7b98
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002dadd
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002dc98
push dword [ebp - 0x14]
push 0x201f
push 1
push dword [ebp - 4]
push 0x4cf0
push 0x3526
call fcn.1002973e
add esp, 0x18
push dword [ebp - 4]
call fcn.1002d44f
pop ecx
test eax, eax
jne 0x1002dca9
xor eax, eax
jmp 0x1002dd0f
push 1
push dword [ebp - 4]
call fcn.10026a3d
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002dcf7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002dcd4
xor eax, eax
jmp 0x1002dd0f
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002dced
xor eax, eax
jmp 0x1002dd0f
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002dd08
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002dd0c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret