joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc2bc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x100b081c
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.00c30fa0
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push 0x100b2e47
lea ecx, [esp + 0x14]
mov byte [eax], bl
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x100b326c
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x100b3254
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x100b3240
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0x100b3228
mov dword [esp + 0x40], 0x800
mov dword [esp + 0x44], 0x100b3214
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0x100b31f4
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x54], 0x100b31d8
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 0x100b31b8
mov dword [esp + 0x60], 0x80
mov dword [esp + 0x64], 0x100b319c
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x6c], 0x100b3180
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], 0x100b3168
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x100b3150
mov dword [esp + 0x80], 0x2000
mov dword [esp + 0x84], 0x100b3138
mov dword [esp + 0x88], 0x4000
mov dword [esp + 0x8c], 0x100b311c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00c16640
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.00c16640
cmp ebp, ebx
je 0xc2bdd7
push ebp
call fcn.00c31000
add esp, 4
mov ebx, dword [esp + 0x190]
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test ebx, eax
je 0xc2be0a
not eax
and ebx, eax
cmp dword [edi + 8], 0
je 0xc2bdfe
push 0x100b2ecc
mov ecx, esi
call fcn.00c16470
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.00c16470
add ebp, 1
cmp ebp, 0xe
jb 0xc2bde0
xor ebp, ebp
cmp dword [edi + 8], ebp
jne 0xc2be5b
push 0x100b2ec4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00c16640
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.00c16640
cmp ebx, ebp
je 0xc2be96
push ebx
call fcn.00c31000
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
cmp ebx, ebp
je 0xc2be96
push ebx
lea ecx, [esp + 0x90]
push 0x100b2ebc
push ecx
call dword [0x100b0254]
add esp, 0xc
cmp dword [edi + 8], ebp
je 0xc2be87
push 0x100b2ecc
mov ecx, esi
call fcn.00c16470
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.00c16470
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
Function at 0xc39120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0xc3924d
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx + edi + 0x78]
add ecx, edi
add esi, edi
cmp dword [esi + 0x18], ebx
mov dword [esp + 0x18], ecx
jbe 0xc3924d
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
lea edx, [eax + ebx*4]
mov eax, dword [edx + edi]
add eax, edi
test eax, 0xffff0000
je 0xc39182
test ebp, 0xffff0000
je 0xc39182
push ebp
push eax
call dword [0x100b01ac]
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 1
jmp 0xc3918b
xor edx, edx
cmp eax, ebp
sete dl
mov eax, edx
test eax, eax
jne 0xc391a1
add ebx, 1
cmp ebx, dword [esi + 0x18]
jb 0xc39153
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x24]
lea edx, [eax + ebx*2]
movzx eax, word [edx + edi]
mov edx, dword [esi + 0x1c]
lea eax, [edx + eax*4]
mov ebx, dword [eax + edi]
add ebx, edi
cmp ebx, esi
jb 0xc39249
mov ecx, dword [ecx + 0x7c]
add ecx, esi
cmp ebx, ecx
ja 0xc39249
xor ecx, ecx
cmp byte [ebx], cl
mov eax, ebx
je 0xc391de
add eax, 1
add ecx, 1
cmp byte [eax], 0
jne 0xc391d3
lea esi, [ecx + 1]
xor edi, edi
test esi, esi
jbe 0xc391f2
push esi
call fcn.00c31050
add esp, 4
mov edi, eax
push esi
push ebx
push edi
call fcn.00c30f30
add esp, 0xc
cmp byte [edi], 0
mov esi, edi
je 0xc39211
cmp byte [esi], 0x2e
je 0xc39222
add esi, 1
cmp byte [esi], 0
jne 0xc39204
push edi
call fcn.00c31000
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push edi
mov byte [esi], 0
call dword [0x100b00d4]
add esi, 1
push esi
push eax
call fcn.00c39120
push edi
mov esi, eax
call fcn.00c31000
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xc5d910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov dx, word [eax]
shr dx, 1
push esi
movzx esi, dx
xor ecx, ecx
test si, si
push edi
mov word [esp + 8], 0x5c
mov word [esp + 0xa], 0x2f
mov word [esp + 0xc], 0x3a
mov word [esp + 0xe], 0x2a
mov word [esp + 0x10], 0x3f
mov word [esp + 0x12], 0x22
mov word [esp + 0x14], 0x3c
mov word [esp + 0x16], 0x3e
mov word [esp + 0x18], 0x7c
jbe 0xc5d997
mov edi, dword [eax + 4]
jmp 0xc5d970
movzx edx, cx
movzx edx, word [edi + edx*2]
xor eax, eax
lea esp, [esp]
cmp dx, word [esp + eax*2 + 8]
je 0xc5d9a2
add eax, 1
cmp eax, 9
jb 0xc5d980
add ecx, 1
cmp cx, si
jb 0xc5d970
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x402675
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4026a9
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x40271d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4026cb
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x25c
call fcn.0045d980
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0045d990
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x402727
mov eax, 0
jmp 0x402727
mov esp, ebp
pop ebp
ret 4

Function at 0x402774
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0045d9b0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4027dc
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x40281a
cmp dword [ebp - 4], 0
je 0x402815
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402815
push 6
call fcn.00458aee
add esp, 4
jmp 0x402822
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x402833
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4070db
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 8
call fcn.00458ae2
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00458ae2
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.00458ae2
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40718a
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.0045d260
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4071e3
push 6
call fcn.00458aee
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
push str.SeDebugPrivilege
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40722e
push 6
call fcn.00458aee
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40723e
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4072d2
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4072f7
push 6
call fcn.00458aee
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x4072ff
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x408fa6
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x408fe7
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
sete al
jmp 0x408ffb
mov esp, ebp
pop ebp
ret 8
Function at 0x409ff0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, str.C:Program_FilesProtect.sys
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a01d
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.C:Program_FilesProtect.sysCON1.._
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a037
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00402675
test eax, eax
je 0x40a0a4
push 0x80000301
push 0
push 0x20
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40a06b
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x260
call fcn.0045e2f0
add esp, 0x1c
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40a091
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x244
call fcn.0045d780
add esp, 0x10
lea eax, [ebp - 8]
push eax
call fcn.0040272d
and eax, 1
xor eax, 1
test eax, eax
je 0x40a1bb
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 4]
mov ecx, 2
call fcn.004010d5
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a102
push ebx
call fcn.00458ae8
add esp, 4
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40a129
push 6
call fcn.00458aee
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a139
push ebx
call fcn.00458ae8
add esp, 4
mov dword [ebp - 0xc], esp
push 0
push str.C:Program_FilesProtect.sysCON_
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a162
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a189
push 6
call fcn.00458aee
add esp, 4
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40a1a8
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x260
call fcn.0045e2f0
add esp, 0x1c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a1cb
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a1db
push ebx
call fcn.00458ae8
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x410bd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x6d94a5]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410c25
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410c3c
mov eax, 0x48139d
jmp 0x410d3a
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x6d94a5]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410c64
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410c7b
mov eax, 0x48139d
jmp 0x410d3a
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410c9d
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x410cb4
mov eax, 0x48139d
jmp 0x410d3a
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0045dba0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410ce7
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410cfe
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410d1b
push 6
call fcn.00458aee
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410d35
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00458ae2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x410d3a
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410d4b
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x411a14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x6d948d]
mov dword [ebp - 4], ebx
push 0x4812d5
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401e33
add esp, 8
cmp eax, 0
je 0x411ae5
mov ebx, dword [0x6d948d]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x411ac5
push 6
call fcn.00458aee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411ad5
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411ae5
push ebx
call fcn.00458ae8
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x42199c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4219cc
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x4219e0
mov esp, ebp
pop ebp
ret 4

Function at 0x421a30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [0x6d9565], 0
jle 0x421a68
cmp dword [0x6d9551], 0
jle 0x421a68
mov eax, 1
jmp 0x421a6a
xor eax, eax
test eax, eax
je 0x421b42
push 1
push dword [0x6d9565]
call fcn.00421b48
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x421b29
push 0x6d9561
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 8]
push eax
call fcn.0040792f
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push dword [0x6d9551]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x421acf
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x421b15
mov dword [ebp - 0xc], esp
push dword [0x6d9551]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x421b01
push 6
call fcn.00458aee
add esp, 4
mov dword [0x6d9551], 0
mov dword [0x6d9565], 0
push 0x6d9561
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x421b42
cmp dword [ebp - 4], 0
jne 0x421b42
push 0x6d9631
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422c0d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.0045d280
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422c52
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00408e5d
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x200
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x422c91
push 6
call fcn.00458aee
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x422cad
push eax
mov ebx, eax
call fcn.0040106a
inc eax
push eax
call fcn.00458ae2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x422cb2
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422cc3
push ebx
call fcn.00458ae8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x423252
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x6d948d]
add ebx, 0x70
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401e33
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4232b7
push ebx
call fcn.00458ae8
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x423368
mov ebx, dword [0x6d948d]
add ebx, 0x70
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x423348
push 6
call fcn.00458aee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x423358
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x423368
push ebx
call fcn.00458ae8
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x428261
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42829c
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0045d990
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4282ff
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0045d260
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x428323
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0045d990
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x428386
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0045d260
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4283aa
push 6
call fcn.00458aee
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0045d990
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42840d
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0045d260
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x428415
mov esp, ebp
pop ebp
ret