joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ea20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ea53
push esi
call fcn.00441b30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ea4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ead9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43eac2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ea77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43eabe
cmp eax, 2
je 0x43eac2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ea6a
cmp eax, 3
je 0x43ea9d
cmp eax, 1
jne 0x43ea6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ea6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ea6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043eb00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43eae8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043eb00
add esp, 4
pop esi
ret

Function at 0x44af20
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4892a4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x44af33
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x44af74
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x48934c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x44afa6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44afaa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x44af9b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x44afc8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44afcc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x44afbd
xor ecx, ecx
mov eax, 0x4892b4
xor ebx, ebx
mov bl, byte [ecx + 0x48935c]
cmp byte [esp + ebx + 0x14], 0
je 0x44aff7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x489374]
cmp byte [esp + ebx + 0x14], 0
je 0x44b00e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x44afde
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x44af67
lea edx, [esp + 0x84]
push edx
call fcn.0044b050
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4601e5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46021d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e29c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e274
jmp 0x460229
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4618d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461915
call fcn.0046738a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461915
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46190c
xor eax, eax
jmp 0x46191d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461923
pop edi
pop esi
pop ebx
ret 4

Function at 0x4678ba
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4678e8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467906
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467820
jmp 0x467906
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467906
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467820
test edi, edi
mov eax, edi
jne 0x4678f0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4016c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4016cf
pop dword [ebp - 0x48]
mov eax, 0xf787f358
add eax, 0x8b82377
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xed13286a
add dword [ebp - 0x58], 0x613f1ce1
mov dword [ebp - 0x54], 0xba0b2ab6
add dword [ebp - 0x54], 0x7828218f
mov dword [ebp - 0x50], 0xc8967cde
sub dword [ebp - 0x50], 0x7c4a38b0
mov dword [ebp - 0x4c], 0x131a64e0
sub dword [ebp - 0x4c], 0x131a64e0
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xbbbc0cbe
add dword [ebp - 0x58], 0xb8b65c98
mov dword [ebp - 0x54], 0x810334e3
sub dword [ebp - 0x54], 0x3f96d36e
mov dword [ebp - 0x50], 0x35feb769
add dword [ebp - 0x50], 0x2d70b503
mov dword [ebp - 0x4c], 0xeb1cc707
add dword [ebp - 0x4c], 0x14e338f9
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xf4708d4b
add eax, 0xbd0a2f1
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3a13b
push 0
call eax
mov ecx, 0xbf121dac
sub ecx, 0xbf11d81f
xor ebx, ebx
add ebx, eax
mov esi, 0xe72e07b7
sub esi, 0xe6ec57b7
add esi, dword [ebp - 0x48]
mov edi, 0x894f8e4b
mov dword [ebp - 0x30], 0xd33a5515
mov edx, dword [esi]
xor dword [ebp - 0x2c], ebx
xor edx, edi
xor dword [ebp - 0x24], ebx
mov dword [ebx], edx
add dword [ebp - 0xc], esi
add ebx, 0xee445456
sub ebx, 0xee445452
add esi, 4
loop 0x4017e8
add eax, 0x501f486f
add eax, 0xafe1c098
mov ebx, eax
add eax, 0xd15a3863
sub eax, 0xd15a385e
mov ecx, 0x5e336885
add ecx, 0xa20c977b
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403f30
Capabilities:
Hash data with md5

Disassembly:
mov edx, ecx
push ebx
push edi
xor ebx, ebx
lea edi, [edx + 0x18]
mov ecx, 0x10
xor eax, eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x14], ebx
mov dword [edx + 0x10], ebx
rep stosd dword es:[edi], eax
lea edi, [edx + 0x6d]
mov ecx, 8
mov dword [edx + 0x58], ebx
mov byte [edx + 0x5c], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
pop edi
pop ebx
ret
Function at 0x401880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4018a6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40193a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4018f5
cmp eax, 0x40
je 0x4018f5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401899
cmp eax, 0x40
je 0x401899
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401899
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x401434
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x423f08]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov esi, eax
mov edi, edx
shl esi, 0xa
mov ecx, section..ndata
mov dword [ebp - 4], ebx
shl edi, 0xa
add esi, ecx
add edi, ecx
lea ecx, [ebp - 0x24]
mov dword [0x409404], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffffe
cmp ecx, 0x41
ja case.0x401489.65
jmp dword [ecx*4 + 0x40288f]

Function at 0x402a28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423fb0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402abc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a79
cmp dword [ebp + 0x10], ebx
jne 0x402ab0
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a28
test eax, eax
jne 0x402a8b
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a60
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405d61
cmp eax, ebx
je 0x402ac3
push ebx
push dword [0x423fb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402abc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423fb0], ebx
jne 0x402ab9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ab9
jmp 0x402abc
Function at 0x40302c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x4170a4]
sub esi, dword [0x40b010]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x423f0c], eax
jle 0x403196
push dword [0x41f0b4]
call fcn.004031da
push ebx
push ebx
push dword [0x40b010]
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f0b0], esi
mov dword [0x4170a0], ebx
mov ebp, 0x40b0a0
mov eax, dword [0x4170a8]
mov edi, 0x4000
sub eax, dword [0x41f0b4]
cmp eax, edi
jg 0x4030a1
mov edi, eax
mov esi, 0x4130a0
push edi
push esi
call fcn.004031a8
test eax, eax
je 0x403188
add dword [0x41f0b4], edi
mov dword [0x40b030], esi
mov dword [0x40b034], edi
cmp dword [0x423f10], ebx
je 0x4030f8
cmp dword [0x423fa0], ebx
jne 0x4030f8
mov eax, dword [0x41f0b0]
push ebx
sub eax, dword [0x4170a4]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40b010]
mov dword [0x4170a0], eax
call fcn.00402bc5
pop ecx
mov ecx, 0x40b018
mov dword [0x40b038], ebp
mov dword [0x40b03c], 0x8000
call fcn.00405e5b
test eax, eax
jl 0x403191
mov esi, dword [0x40b038]
sub esi, ebp
je 0x403152
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40318d
cmp esi, dword [esp + 0x10]
jne 0x40318d
add dword [0x40b010], esi
cmp dword [0x40b034], ebx
jne 0x4030c7
jmp 0x40315e
cmp dword [0x40b034], ebx
jne 0x403191
cmp edi, ebx
je 0x403191
mov eax, dword [0x4170a4]
mov ecx, eax
sub ecx, dword [0x40b010]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x40308b
push ebx
push ebx
push eax
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403196
or eax, 0xffffffff
jmp 0x4031a0
push 0xfffffffffffffffe
jmp 0x403193
push 0xfffffffffffffffd
pop eax
jmp 0x4031a0
push 1
call fcn.00402bc5
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x4052a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x422508], 0x44
push eax
xor eax, eax
push 0x422508
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4052de
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x405368
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405617
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x40539c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423f88], eax
jmp 0x405530
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4053ba
test eax, eax
je 0x4054db
test byte [ebp + 0xc], 2
je 0x4054db
mov esi, 0x421508
push edi
push esi
call fcn.00405a43
test ebx, ebx
je 0x4053d7
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4053dd
push edi
call fcn.0040557d
cmp byte [edi], 0
jne 0x4053eb
cmp byte [0x421508], 0x5c
jne 0x4053f6
push 0x40900c
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4054d1
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405561
cmp byte [eax], 0
je 0x40543c
cmp byte [ebp - 0x18], 0
je 0x40543c
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405452
mov al, byte [esi + 1]
test al, al
je 0x4054b0
cmp al, 0x2e
jne 0x405452
cmp byte [esi + 2], 0
je 0x4054b0
push esi
push ebx
call fcn.00405a43
test byte [ebp - 0x148], 0x10
je 0x405477
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4054b0
push dword [ebp + 0xc]
push edi
call fcn.00405368
jmp 0x4054b0
push edi
call fcn.004056fb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4054a8
test byte [ebp + 0xc], 4
je 0x4054a0
push edi
push 0xfffffffffffffff1
call fcn.00404de1
push 0
push edi
call fcn.00405791
jmp 0x4054b0
inc dword [0x423f88]
jmp 0x4054b0
push edi
push 0xfffffffffffffff2
call fcn.00404de1
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40541a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x4054db
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405530
cmp dword [ebp - 8], esi
jne 0x4054f0
inc dword [0x423f88]
jmp 0x405530
push edi
call fcn.00405d3a
test eax, eax
je 0x405530
push edi
call fcn.00405536
push edi
call fcn.004056fb
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405528
test byte [ebp + 0xc], 4
je 0x4054e8
push edi
push 0xfffffffffffffff1
call fcn.00404de1
push esi
push edi
call fcn.00405791
jmp 0x405530
push edi
push 0xffffffffffffffe5
call fcn.00404de1
pop edi
pop esi
leave
ret 8
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a94], 0
push esi
jne 0x405e04
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dde
mov dword [ecx*4 + 0x422a90], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a90]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a410
mov ecx, dword [ebp - 0x1e]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test dword [ebx], edi
jne 0x40a40a
push esi
mov esi, dword [0x40a198]
salc
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
ret 0x28e
call esi
add eax, 0xafc5e
pop esi
sbb eax, edx
or byte [eax], al
xor eax, eax
and dword [esi], edx
or byte [eax], al
mov eax, 0xd83b
pop ebp
ret 8
Function at 0x406b60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x6c
cmp dword [0x4339d4], 0
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
jne 0x406c89
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [0x433a30], eax
call edi
push 1
mov esi, eax
call edi
push 1
mov edi, eax
call sub.EyeGuardHook.dll_EnableKeyboardHook
add esp, 4
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x40
push edi
push esi
push 0
push 0
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
push 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_ShowCursor]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
cmp dword [0x4337a0], 0
je 0x406c75
mov eax, 0x433010
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406c01
sub eax, edx
mov edi, 0x414af8
lea esi, [eax + 0x43300c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406c90
push 0x40
push edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x3c], 0x44
call fcn.0040e170
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x433010
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406c75
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov dword [0x4339e4], 0
mov dword [0x4339d4], 1
pop edi
pop esi
pop ebp
add esp, 0x6c
ret
mov edx, dword [0x433738]
push 0x433010
push 0x40004002
push edx
push ebp
call sub.MSVFW32.dll_MCIWndCreateA
add esp, 0x10
push 0
push 0
push 0x806
push eax
mov dword [0x4339e4], eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov dword [0x4339d4], 1
pop ebp
add esp, 0x6c
ret