joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40db30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x429ce8
push 0x413170
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x40db99
xor eax, eax
jmp 0x40dd0f
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dcda
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x40dcda
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dcda
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x40dcda
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dcda
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x40dcda
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dcda
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x40dcda
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dcda
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x40dcda
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40dcda
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40dcc3
push 0
push ecx
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x40dcb0
mov ebx, 1
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], 0
je 0x40dcc0
jmp 0x40dcda
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x38]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0040dd36
test ebx, ebx
jne 0x40dd0d
test esi, esi
je 0x40dcff
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40dd0d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040fef5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
lea esp, [esp]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x42d500], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x42d600], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x42d700], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x42d400], al
inc esi
cmp esi, 0x100
jl 0x40e500
pop esi
add esp, 0x80
ret
Function at 0x41a5e9
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00415de6
mov dword [ebp - 0x14], eax
cmp dword [0x42d370], esi
jne 0x41a6dc
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41a669
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a7bc
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41a7bc
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a7bc
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42d370], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42d374], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42d378], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d380], eax
test eax, eax
je 0x41a6d9
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d37c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41a701
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a6f4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41a716
push 4
pop eax
jmp 0x41a7be
cmp dword [ebp - 0x14], esi
je 0x41a716
push dword [0x42d370]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41a6fb
mov eax, dword [0x42d37c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41a774
cmp dword [0x42d380], edi
je 0x41a774
push eax
call ebx
push dword [0x42d380]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41a774
test eax, eax
je 0x41a774
call ecx
test eax, eax
je 0x41a769
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41a769
test byte [ebp - 8], 1
jne 0x41a774
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41a7a4
mov eax, dword [0x42d374]
cmp eax, edi
je 0x41a7a1
push eax
call ebx
test eax, eax
je 0x41a7a1
call eax
mov esi, eax
test esi, esi
je 0x41a7a1
mov eax, dword [0x42d378]
cmp eax, edi
je 0x41a7a1
push eax
call ebx
test eax, eax
je 0x41a7a1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42d370]
call ebx
test eax, eax
je 0x41a7bc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41a7be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fef5
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x117e7c42
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
mov eax, section..rsrc
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3da07ed5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40140d
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x401448
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40142f
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x401440
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40144a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x401425
xor eax, eax
pop edi
pop esi
ret

Function at 0x401b10
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x401aa4
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x401ac2
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x401b20
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x401b07
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je fcn.00401b10
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x401b1a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x401afc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x401a86
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x401b6d
dec eax
je 0x401b64
sub eax, 3
je 0x401b5b
mov dword [ebp - 4], 0x40
jmp 0x401b8a
mov dword [ebp - 4], 4
jmp 0x401b70
mov dword [ebp - 4], 0x20
jmp 0x401b70
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x401bbc
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x401b3c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004013cd
lodsb al, byte [esi]
fstp xword [esi + esi*4 - 1]
jne 0x401bc7
push 1
push esi
call edi
mov eax, esi
jmp 0x401bc8
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
or al, 0x89
test dword [ecx + edi*8 - 1], esi
invalid
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
stc
invalid
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004013cd
test ch, dh
faddp st(7)
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], pe_nt_image_headers32
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
sti
Function at 0x401ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sti
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.004013cd
push ebp
outsd dx, dword [esi]
dec edx
xor eax, dword [eax - 0x6635b]
inc dword [eax]
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94

Function at 0x401f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], pe_nt_image_headers32
lea eax, [ebp - 0x664]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004013cd
fstp dword [ebx + esi*8]
pushfd
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004013dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401392
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004013cd
pop ds
and ebp, dword [esp]
push 0x104
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4020c1
cmp dword [ebp - 0x398], 0
je 0x40228b
cmp dword [ebp + 0xc], 1
je 0x40228b
cmp dword [ebp + 0xc], 8
jne 0x402253
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
invalid
test dword [ecx - 7], edx
invalid
invalid
Function at 0x404ee0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x6d
push eax
mov edi, ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x20]
push edx
call ebx
lea eax, [esp + 0x18]
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x76
call esi
push 0x77
call esi
push 0x78
call esi
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40505f
jmp 0x404f56
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 0xffffffff
je 0x40505f
mov ecx, edi
call fcn.00404280
test eax, eax
jl 0x40505f
lea edx, [esp + 0x20]
push edx
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, dword [esp + 0x18]
mov esi, edx
sbb esi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
fild qword [esp + 0x28]
mov bl, 1
fmul qword [0x417ef0]
fild qword [esp + 0x30]
fdivp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp qword [0x4180d8]
fnstsw ax
test bl, ah
jne 0x404fc1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
xor bl, bl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x405046
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
test bl, bl
jne 0x40503b
cmp byte [0x41c324], bl
jne 0x40503b
mov ecx, edi
call fcn.00402560
test al, al
jne 0x40501e
cmp dword [edi + 0x1924], 4
jne 0x40501e
cmp byte [0x41c325], al
jne 0x40501e
cmp dword [0x41c350], 0x1e
ja 0x40501e
inc dword [0x41c350]
jmp 0x405034
call fcn.00402ac0
mov dword [0x41c350], 0
mov byte [0x41c325], 0
mov ecx, edi
call fcn.00404780
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x404f50
mov ecx, edi
call fcn.004046d0
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405200
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b018]
jne 0x40520a
repz ret
jmp fcn.00406710
Function at 0x410e73
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.00406d02
and dword [ebp - 4], 0
cmp dword [0x41cd94], 0
mov ebx, eax
jne 0x410f24
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410fd5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x410fd5
push eax
call fcn.00406c90
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41cd94], eax
call esi
push eax
call fcn.00406c90
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41cd98], eax
call esi
push eax
call fcn.00406c90
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41cd9c], eax
call esi
push eax
call fcn.00406c90
pop ecx
mov dword [0x41cda4], eax
test eax, eax
je 0x410f24
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406c90
pop ecx
mov dword [0x41cda0], eax
mov eax, dword [0x41cda0]
cmp eax, ebx
je 0x410f7c
cmp dword [0x41cda4], ebx
je 0x410f7c
push eax
call fcn.00406d0b
push dword [0x41cda4]
mov esi, eax
call fcn.00406d0b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410f7c
test edi, edi
je 0x410f7c
call esi
test eax, eax
je 0x410f73
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410f73
test byte [ebp - 0xc], 1
jne 0x410f7c
or dword [ebp + 0x10], 0x200000
jmp 0x410fb5
mov eax, dword [0x41cd98]
cmp eax, ebx
je 0x410fb5
push eax
call fcn.00406d0b
pop ecx
test eax, eax
je 0x410fb5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410fb5
mov eax, dword [0x41cd9c]
cmp eax, ebx
je 0x410fb5
push eax
call fcn.00406d0b
pop ecx
test eax, eax
je 0x410fb5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41cd94]
call fcn.00406d0b
pop ecx
test eax, eax
je 0x410fd5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410fd7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x416462
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword [0x4164e6], ebp
cmc
xchg ebx, ebx
mov dword fs:[0], esp
xor edx, edx
push edx
push 4
push edx
push edx
push edx
push edx
push edx
push 0x10000
push edx
push edx
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
cld
clc
sub ebx, ebx
sub ecx, ecx
xchg ebx, ebx
mov edx, edx
mov cl, 0xc4
nop
cmc
lea ebx, [ebx + 1]
xchg ebx, ebx
dec ecx
jne 0x4164a5
jmp 0x4164af
stc
cld
call fcn.00416503
clc
sub edi, 0xffff78b6
push edi
mov edx, 0x2a69
stc
stc
mov al, byte [edi]
xor ax, bx
cld
xchg ebx, ebx
clc
xchg byte [edi], al
clc
stc
add edi, 1
sub edx, 1
mov eax, eax
or edx, edx
jne 0x4164c5
pop edi
mov eax, eax
nop
mov ecx, ecx
clc
mov ebp, 0x13593950
jmp 0x4164ec
mov ebx, dword [ebp - 8]
mov dword fs:[0], ebx
clc
stc
nop
leave
mov ecx, ecx
nop
jmp 0x4164fe
jmp edi