joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470dbe
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x104
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [esi + 4]
cmp eax, edx
ja 0x470fa0
je 0x470fca
cmp eax, 0xa1
jb 0x47100d
cmp eax, 0xa2
jbe 0x470fca
cmp eax, 0xa3
jbe 0x47100d
cmp eax, 0xa5
jbe 0x470fca
cmp eax, 0xa6
jbe 0x47100d
cmp eax, 0xa8
jbe 0x470fca
cmp eax, 0x100
jne 0x47100d
cmp dword [edi + 0xc0], 0xffffffff
je 0x470fca
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x470fc8
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x470f11
sub eax, 1
jne 0x470fc8
mov eax, dword [edi + 0xc0]
lea ecx, [eax + 1]
jmp 0x470e9e
mov eax, ecx
cdq
idiv esi
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
test eax, eax
jne 0x470eaf
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0xc0]
inc ecx
mov esi, dword [edi + 0xbc]
add eax, esi
mov dword [ebp - 4], ecx
cmp ecx, eax
jl 0x470e72
jmp 0x470f09
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041cd83
mov ecx, dword [edi]
mov esi, dword [ecx + 0x270]
push dword [edi + 0xc0]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x471033
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
dec eax
add eax, ecx
cmp eax, ecx
jmp 0x470f52
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
test eax, eax
jne 0x470f59
mov eax, dword [ebp - 4]
dec eax
cmp eax, dword [edi + 0xc0]
mov dword [ebp - 4], eax
jg 0x470f24
jmp 0x470f09
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054bb77
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041cd83
mov eax, dword [edi]
mov esi, dword [eax + 0x270]
jmp 0x470ef1
cmp eax, 0x200
jb 0x47100d
cmp eax, 0x202
jbe 0x470fca
cmp eax, 0x203
jbe 0x47100d
cmp eax, 0x205
jbe 0x470fca
add eax, 0xfffffdf9
cmp eax, 1
ja 0x47100d
jmp 0x470fca
xor ecx, ecx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x470fea
cmp dword [eax + 0x20], 0
je 0x470fea
push esi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x47100b
cmp dword [eax + 0x20], 0
je 0x47100b
push esi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [esi + 4], 0x203
jne 0x47102b
lea eax, [edi + 0x2250]
test eax, eax
je 0x471023
mov ecx, dword [eax + 0x20]
cmp dword [esi], ecx
je 0x470f09
push esi
mov ecx, edi
call fcn.00468c6a
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x474f5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x628f58]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x474f7f
xor eax, eax
jmp 0x475050
cmp dword [ebp + 0xc], 0
je 0x474f78
xor esi, esi
call fcn.00414a14
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x474f78
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x474f78
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x475066
push eax
call fcn.00559610
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 0xc], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x475010
cmp eax, 0x400
ja 0x474ff5
call fcn.0054c050
mov edi, esp
test edi, edi
je 0x47500b
mov dword [edi], 0xcccc
jmp 0x475008
push eax
call fcn.00559405
mov edi, eax
pop ecx
test edi, edi
je 0x47500b
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x475012
mov edi, esi
test edi, edi
je 0x475066
push edx
push dword [ebp - 8]
push edi
call fcn.00412c25
mov dword [ebp - 8], eax
test eax, eax
je 0x475040
mov esi, dword [ebp - 0x10]
push eax
call fcn.0055550b
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.00411f3e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.004769ab
pop ecx
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054b34c
mov esp, ebp
pop ebp
ret 8
call fcn.00412509
int3
Function at 0x486189
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push 5
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4861e0
push edi
push esi
call fcn.004201e7
mov edi, eax
test edi, edi
je 0x4861d0
mov ebx, dword [ebx + 0x20]
cmp ebx, esi
je 0x4861cd
mov eax, esi
cmp ebx, eax
je 0x4861e8
push eax
call fcn.0041eab4
test eax, eax
jne 0x4861bf
mov ebx, dword [ebp - 4]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4861aa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x18000000
cmp dword [ebp + 8], 0
jne 0x486212
cmp eax, 0x10000000
jne 0x4861cd
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [edi + 0x60], 2
jmp 0x4861cd
test eax, eax
jne 0x4861cd
test byte [edi + 0x60], 2
mov ebx, dword [ebp - 4]
je 0x4861d0
cmp dword [ebx + 0xe0], eax
jne 0x4861d0
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x60], 0xfffffffd
jmp 0x4861d0
Function at 0x4e695c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ecx + 0x14]
cmp dword [edi - 0xc], 0
jne 0x4e696f
xor eax, eax
jmp 0x4e69be
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
call fcn.0041be0a
mov ebx, eax
test ebx, ebx
je 0x4e699d
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054bb77
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4e699f
xor eax, eax
test eax, eax
je 0x4e69a6
mov eax, dword [eax + 0x20]
push 1
push esi
push dword [ebp - 8]
push edi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
sbb eax, eax
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4e6b9b
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x580174
call fcn.0054bbe8
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00412cdf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x605c44
call fcn.0041d794
cmp eax, 0xffffffff
jne 0x4e6c74
push 0
push 0x590898
lea ecx, [ebp - 0x4d0]
call fcn.0041d794
cmp eax, 0xffffffff
jne 0x4e6c74
push 0
push 0x5893d0
lea ecx, [ebp - 0x4d0]
call fcn.0041d794
cmp eax, 0xffffffff
jne 0x4e6c74
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00412cdf
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4e6c43
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054bb77
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404520
jmp 0x4e6cac
lea eax, [ebp - 0x218]
push eax
call fcn.0055550b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00411f3e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404520
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4e6c9a
mov edi, dword [ebp - 0x4cc]
jmp 0x4e6cac
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054bb77
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404520
mov eax, edi
call fcn.0054bb92
ret
Function at 0x4f6dbd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4f6e7b
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4f6e70
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4f6e70
neg eax
sbb eax, eax
and eax, ecx
cmp dword [ebx], eax
jne 0x4f6e70
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4f6e44
sub eax, 1
je 0x4f6e10
sub eax, 1
jne 0x4f6e70
mov edi, 0x428e
jmp 0x4f6e49
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4f6e49
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call fcn.0054bb77
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4f6e49
add edi, 3
jmp 0x4f6e49
mov edi, 0x3ea0
push edi
call fcn.00412797
test eax, eax
je 0x4f6e7b
push edi
push eax
mov ecx, 0x631dd0
call fcn.00411d9c
test eax, eax
je 0x4f6e7b
mov eax, dword [0x631dd0]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
jmp 0x4f6e72
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00412509
int3

Function at 0x5022a1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x5022f0
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0055550b
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x5022e5
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x5022d3
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00412509
int3
Function at 0x54b9f6
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x623c30
call fcn.0054bd80
push 1
call fcn.0054b537
pop ecx
test al, al
je 0x54bb57
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0054b502
mov byte [ebp - 0x24], al
mov eax, dword [0x632bf0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x54bb57
test eax, eax
jne 0x54ba80
mov dword [0x632bf0], ecx
push 0x585cbc
push 0x585c98
call fcn.005650c0
pop ecx
pop ecx
test eax, eax
je 0x54ba63
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x54bb51
push 0x585c94
push 0x5859e4
call fcn.00565064
pop ecx
pop ecx
mov dword [0x632bf0], 2
jmp 0x54ba85
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0054b6a4
pop ecx
call fcn.0054c507
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x54bab5
push esi
call fcn.0054b61a
pop ecx
test al, al
je 0x54bab5
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0054bb77
call esi
call fcn.0054c50d
mov esi, eax
cmp dword [esi], edi
je 0x54bad3
push esi
call fcn.0054b61a
pop ecx
test al, al
je 0x54bad3
push dword [esi]
call fcn.005642a3
pop ecx
call fcn.00562dae
mov edi, dword [eax]
call fcn.00562da8
mov esi, eax
call fcn.00564aa3
push eax
push edi
push dword [esi]
call main
add esp, 0xc
mov esi, eax
call fcn.0054c1d0
test al, al
je 0x54bb5e
test bl, bl
jne 0x54bb06
call fcn.0056427e
push 0
push 1
call fcn.0054b6c1
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x54bb51
call fcn.0054bdc6
ret
push 7
call fcn.0054c0b4
push esi
call fcn.005642db
push dword [ebp - 0x20]
call fcn.0056428d
int3
call fcn.006e2000
jmp 0x54b9f6
Function at 0x54c830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x628f58]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push 0x10
mov dword [ebp - 0x40], edi
lea eax, [edi + 0x3c8]
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0054e4c0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
test ebx, ebx
jle 0x54c994
mov edx, dword [ebp + 0xc]
dec ebx
add edx, 2
shr ebx, 4
add esi, 2
mov dword [ebp - 0x38], edx
inc ebx
mov dword [ebp - 0x3c], ebx
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.0054c810
add esp, 8
xor edi, edi
nop word [eax + eax]
mov al, byte [ebp + edi - 0x34]
xor al, byte [ebp + edi - 0x14]
mov edx, dword [ebp + edi - 0x34]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, ebx
mov byte [esi + 1], al
mov eax, edx
shr ecx, 8
shr eax, 8
xor cl, al
mov eax, edx
mov byte [esi], cl
mov ecx, ebx
shr eax, 0x10
shr ecx, 0x10
xor cl, al
shr ebx, 0x18
mov eax, dword [ebp + edi - 0x24]
shr edx, 0x18
xor bl, dl
mov dword [ebp + edi - 0x34], eax
mov byte [esi - 1], cl
add edi, 4
mov byte [esi - 2], bl
add esi, 4
cmp edi, 0x10
jl 0x54c930
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x54c883
push 0x10
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.0054e4c0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054b34c
mov esp, ebp
pop ebp
ret
Function at 0x5535be
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5fa8dc
push str.FlsAlloc
push 0
call fcn.00553537
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5535f0
push dword [ebp + 8]
mov ecx, esi
call fcn.0054bb77
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x553632
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5fa900
push str.FlsGetValue
push 2
call fcn.00553537
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x553663
mov ecx, esi
call fcn.0054bb77
call esi
jmp 0x553669
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x55366c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5fa914
push str.FlsSetValue
push 3
call fcn.00553537
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x5536a0
mov ecx, esi
call fcn.0054bb77
call esi
jmp 0x5536a6
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x56a9a0
Capabilities:
Read file on windows

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

Function at 0x56a9ab
Capabilities:
Read file on windows

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

Function at 0x56e578
Capabilities:
Set environment variable

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

Function at 0x56e583
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056e0cf
Function at 0x40145c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
cld
mov esi, dword [ebp + 8]
mov edi, esi
lodsd eax, dword [esi]
mov edx, eax
lodsd eax, dword [esi]
mov ecx, eax
xor eax, eax
test cl, 3
je 0x401477
inc eax
sub ecx, 8
mov dword [ebp - 4], ecx
shr ecx, 2
add ecx, eax
lodsd eax, dword [esi]
mov ebx, eax
xor eax, edx
stosd dword es:[edi], eax
mov edx, ebx
loop 0x401482
popal
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x4014e6
Capabilities:
Authenticate hmac

Disassembly:
mov bh, 0xd0
mul edx
xor eax, ecx
xor eax, ebx
test eax, 0xffff
jne 0x4014b4
add ax, bx
test eax, 0xffff0000
jne 0x4014c0
shl ebx, 0x10
add eax, ebx
mov dword [ebp - 4], eax
inc ebp
cld
popal
mov eax, dword [ebp - 4]
leave
ret
cld
push 0x4014e6
call fcn.0040145c
call fcn.0040154f
jbe 0x4014d7
add byte [eax], al
call 0x4014e6
dec esp
cmp eax, 0xc23800c0
int 0
dec ecx
scasb al, byte es:[edi]
cmpsd dword [esi], dword es:[edi]
push ds
jb 0x401520
add byte [eax], al
mov eax, dword [0xa11eb5d9]
pop esp
jne 0x401560
out 0x36, al
jne 0x4014fa
out 0x5c, al
jne 0x4014e6
call 0x6c288a5a
scasd eax, dword es:[edi]
je 0x4014a2
pop esp
sub al, 0x8c
arpl word [eax], bp
push ds
mov al, 1
push ds
xor edi, ecx
pop ds
adc dword [ebx], ebx
adc esi, ebx
pop ds
sbb edx, dword [ecx]
push ebx
sbb dh, byte [ebx]
add edx, dword [edx]
sbb bl, byte [ecx + 3]
jp 0x4014c1
or dword [ebx + 0x7a], eax
je 0x401572
dec edi
jp 0x4015a1
mov al, byte [0xa0747a03]
call 0xfab8b1a7
jo 0x4014d5
nop
out 0x62, eax
pushfd
nop
lea esp, [edx - 0xc]
sbb eax, 0xf5f422dd
stc
hlt
hlt
adc al, 0xe3
push edx
loopne 0x401579
inc eax
jp 0x4015c0
push esi
inc eax
adc byte [esi + 0x5f8055a9], ch
jmp 0x4015c7
and esi, dword [ebx + 0x53]
pop ss
and ebp, dword [ecx + 0x55777a4d]
dec ebp
jp 0x4015f3
push ebp
mov gs, word [edx]
and al, 4
fdivr qword [ebx + esi*2 + 0x6e]
fcom qword [ebx + eax*2]
salc
sahf
adc al, 0x29
xlatb
idiv byte [esi + ebx*4 - 0x54bc096b]
mov ecx, 0x46ab014e
pop ebx
cdq
pop edx
add al, 0x5b
mov byte [esi + ebx*2], 2
popfd
pop esp
popfd
push edi
adc al, 0xb9
int 4
inc ebp
jmp 0x401548
add bl, byte [ebp + 0x14579d5c]
mov ecx, 0xeb4504cd
wait
push ebx
mov edx, 0x76bb939e
bound ebp, qword [esp + eax*2 + 0x1c]
bound eax, qword [esi]
inc esp
dec esp
popfd
jae 0x40160a
mov bl, 0xa8
pop ebx
hlt
pop ecx
out 0xe1, al
cmp al, byte [edi]
mov esp, 0x755f61b8
jp 0x401638
pop edi
and bl, dh
or byte [edi], 0x73
mov byte [0x5d2459d2], al
cmpsd dword [esi], dword es:[edi]
push ecx
int3
xchg si, ax
shl dword [eax + 0x24], cl
xchg esi, eax
pop eax
and eax, 0x51981328
inc ebx
jo 0x401630
retf 0x8fbc
ret 0xa20a
retf 0x66df
fist word [ecx + ecx*8]
xrelease xchg byte [edi - 0x6f], cl
cmp al, byte [edi + eax*2 - 0x6f]
outsd dx, dword [esi]
int 0xa2
adc al, byte [ebx - 0x9123d37]
shr dword [eax - 0x1f2bf653], 0x5c
dec ebx
aam 0x69
sbb dword [edi + 0x4b5ce2b5], esi
jl 0x40167e
pop eax
dec ebx
sub dword [ecx - 0x2329d443], ebp
mov ch, 0xd4
ret
retf 0x59ed
Function at 0x64011bf9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6401c014]
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.64005994
and dword [ebp - 0x14], 0
cmp dword [0x6401dba8], 0
mov dword [ebp - 0x18], eax
jne 0x64011cac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x64011d54
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x64011d54
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x6401dba8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6401dbac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6401dbb0], eax
call edi
push eax
call esi
mov dword [0x6401dbb8], eax
test eax, eax
je 0x64011cac
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6401dbb4], eax
mov eax, dword [0x6401dbb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x64011d05
cmp dword [0x6401dbb8], ecx
je 0x64011d05
push eax
call esi
push dword [0x6401dbb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x64011d05
test ebx, ebx
je 0x64011d05
call edi
test eax, eax
je 0x64011cfc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x64011cfc
test byte [ebp - 8], 1
jne 0x64011d05
or dword [ebp + 0x10], 0x200000
jmp 0x64011d38
mov eax, dword [0x6401dbac]
cmp eax, dword [ebp - 0x18]
je 0x64011d38
push eax
call esi
test eax, eax
je 0x64011d38
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x64011d38
mov eax, dword [0x6401dbb0]
cmp eax, dword [ebp - 0x18]
je 0x64011d38
push eax
call esi
test eax, eax
je 0x64011d38
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6401dba8]
call esi
test eax, eax
je 0x64011d54
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x64011d56
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64003b2c
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx