joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f4d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push esi
mov dword [ecx + 0x10], eax
push edi
push ebp
mov esi, ecx
mov ecx, dword [esp + 0x20]
push 0
push 0x8000000
mov dword [esi + 0x14], ecx
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
mov dword [0x469160], eax
jne 0x44f52a
push 0x1277
mov eax, dword [esi + 0x10]
push str.nheapall.c
mov edx, 0x158
push eax
mov ecx, 0x53
call fcn.004472f8
push 0
mov eax, dword [esi + 0x14]
push 0
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x469160], eax
cmp eax, 0xffffffff
jne 0x44f563
push 0x127b
mov eax, dword [esi + 0x10]
push str.nheapall.c
mov edx, 0x158
push eax
mov ecx, 0x56
call fcn.004472f8
mov ebx, dword [esi + 0x10]
push 0
lea eax, [esp + 0x14]
mov ecx, dword [esi + 0x18]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 4
push esi
push ecx
call edi
cmp dword [esp + 0x10], 4
je 0x44f59d
push 0x34f
mov edx, 0x158
push str.p1inl.c
mov ecx, 0x54
push ebx
call fcn.004472f8
mov ebx, dword [esi + 0x10]
push 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [esi + 0x18]
mov dword [esp + 0x1c], 0
push 4
push ecx
push edx
call edi
cmp dword [esp + 0x10], 4
je 0x44f5dd
push 0x34f
mov edx, 0x158
push str.p1inl.c
mov ecx, 0x54
push ebx
call fcn.004472f8
cmp dword [esp + 0x14], 0
je 0x44f6b6
mov edx, esi
mov ecx, dword [esi + 0x18]
call fcn.0044ec8a
mov dword [esi + 4], eax
mov ebx, dword [0x46a398]
mov eax, dword [esi]
shl eax, 2
add eax, 3
and eax, 0xfffffffc
add dword [0x46a398], eax
mov ecx, dword [0x46a398]
cmp dword [0x46a39c], ecx
jae 0x44f624
mov ecx, 0x46a398
call fcn.0040bd26
mov eax, dword [esi]
mov dword [esi + 8], ebx
xor ebx, ebx
mov dword [esi + 0x34], eax
test eax, eax
jle 0x44f64d
xor ebp, ebp
mov edx, esi
mov ecx, dword [esi + 0x18]
add ebp, 4
call fcn.0044ec8a
mov ecx, dword [esi + 8]
inc ebx
mov dword [ecx + ebp - 4], eax
cmp dword [esi], ebx
jg 0x44f634
push 1
mov eax, dword [esi + 0x18]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
mov ebx, dword [esi + 0x10]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esi + 0xc]
push 4
mov edx, dword [esi + 0x18]
push ecx
push edx
call edi
cmp dword [esp + 0x10], 4
je 0x44f696
push 0x34f
mov edx, 0x158
push str.p1inl.c
mov ecx, 0x54
push ebx
call fcn.004472f8
cmp dword [esi + 0xc], ebp
je 0x44f6ac
mov eax, dword [esi + 0x10]
push eax
push 0x354
call fcn.004473a7
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esi + 4], 0
call fcn.00425b8c
jmp 0x44f5f5
Function at 0x44f706
Capabilities:
Check os version

Disassembly:
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
push ebx
mov dword [esp + 4], eax
push esi
push edi
mov esi, ecx
test byte [0x46b434], 1
push ebp
jne 0x44f733
or byte [0x46b434], 1
call fcn.0044ec1e
mov dword [0x46b438], eax
xor ebp, ebp
cmp dword [0x46b438], ebp
je 0x44f7bb
push ebp
mov ecx, esi
push 8
call fcn.0044f6cd
mov dword [esi + 0x1c], eax
cmp eax, ebp
je 0x44f7bb
xor ebx, ebx
xor edi, edi
cmp dword [esi], ebx
jle 0x44f77a
mov eax, dword [esi + 8]
push 0
push 0
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + edi]
push edx
mov eax, dword [ecx]
call dword [eax]
cmp eax, 6
je 0x44f772
mov ebp, 1
add edi, 4
inc ebx
test ebp, ebp
je 0x44f752
test ebp, ebp
jne 0x44f792
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
sub ebx, 2
js 0x44f7ae
lea edi, [ebx*4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi]
mov ebx, dword [ecx]
call dword [ebx + 0xc]
sub edi, 4
jns 0x44f79e
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
xor ebp, ebp
xor ebx, ebx
cmp dword [esi], ebp
jle 0x44f7e6
xor edi, edi
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x18]
push edx
mov ecx, dword [eax + edi]
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, 6
je 0x44f7de
mov ebp, 1
add edi, 4
inc ebx
cmp dword [esi], ebx
jg 0x44f7c5
test ebp, ebp
je 0x44f855
cmp dword [0x45cb28], 0
je 0x44f808
push 0
call dword [sym.imp.MSVCRT40.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT40.dll_srand]
add esp, 4
xor edi, edi
xor ebx, ebx
mov ebp, 6
cmp dword [esi], ebx
jle 0x44f83a
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi]
cmp dword [ecx + 0xc], ebp
je 0x44f834
push 0
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, 5
jne 0x44f834
inc dword [esp + 0x10]
add edi, 4
inc ebx
jmp 0x44f811
cmp dword [esp + 0x10], 0
je 0x44f855
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.0044f8da
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x44f8d2
push eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov dword [0x469160], eax
test eax, eax
jne 0x44f88b
push 0x1410
mov eax, dword [esi + 0x10]
push str.nheapall.c
mov edx, 0x158
push eax
mov ecx, 0x52
call fcn.004472f8
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x44f786
push eax
call edi
mov dword [0x469160], eax
test eax, eax
jne 0x44f8c6
push 0x1415
mov eax, dword [esi + 0x10]
push str.nheapall.c
mov edx, 0x158
push eax
mov ecx, 0x52
call fcn.004472f8
mov dword [esi + 0x18], 0
jmp 0x44f786
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44f892
Function at 0x45049c
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x466450], 0
jne 0x4504ab
call fcn.0040e53d
ret
mov eax, dword [0x466294]
push eax
push 1
push 2
push 0x455da8
call dword [sym.imp.MSVCRT40.dll_fwrite]
add esp, 0x10
mov eax, dword [0x46631c]
mov cl, byte [eax]
movzx edx, cl
movzx eax, byte [edx + 0x45b0b0]
inc dword [0x46631c]
test eax, eax
je 0x45051a
cmp eax, 2
je 0x4504c3
cmp eax, 5
je 0x450521
mov eax, dword [0x466294]
dec dword [eax + 4]
mov eax, dword [0x466294]
cmp dword [eax + 4], 0
jl 0x450508
mov edx, dword [eax]
mov byte [edx], cl
mov eax, dword [0x466294]
inc dword [eax]
jmp 0x4504c3
mov eax, dword [0x466294]
push eax
push edx
call dword [sym.imp.MSVCRT40.dll__flsbuf]
add esp, 8
jmp 0x4504c3
call fcn.00408004
jmp 0x4504c3
dec dword [0x46631c]
jmp 0x4504aa
Function at 0x405d6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x405d79
pop dword [ebp - 0x40]
mov eax, 0x6835a5bf
sub eax, 0x67f54846
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xc0413194
sub dword [ebp - 0x50], 0x71eeec49
mov dword [ebp - 0x4c], 0x53eae0c5
add dword [ebp - 0x4c], 0xde486b80
mov dword [ebp - 0x48], 0xae05103b
add dword [ebp - 0x48], 0x9e4733f3
mov dword [ebp - 0x44], 0x7f72a7d1
add dword [ebp - 0x44], 0x808d582f
lea eax, [ebp - 0x50]
push eax
mov eax, 0xd03ac16
add eax, 0xf33cc406
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x403319ad
add dword [ebp - 0x50], 0x343f4fa9
mov dword [ebp - 0x4c], 0xc62106d5
add dword [ebp - 0x4c], 0x7b4b5aa0
mov dword [ebp - 0x48], 0x7ed1fe9f
sub dword [ebp - 0x48], 0x1b629233
mov dword [ebp - 0x44], 0x8337016
sub dword [ebp - 0x44], 0x8337016
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x3fda6ceb
add eax, 0xc0660335
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36d5b
push 0
call eax
mov ecx, 0x86cf486e
add ecx, 0x7930fc0d
mov edi, eax
mov edx, 0x40c800
add edx, dword [ebp - 0x40]
mov esi, 0x455b53b6
xor dword [ebp - 0x28], edi
mov ebx, dword [edx]
xor dword [ebp - 0x2c], 0xde103009
add ebx, esi
sub dword [ebp - 0x14], 0x5bd269f7
mov dword [edi], ebx
add edi, 0xd859c607
add edi, 0x27a639fd
add edx, 0x92a8ccdb
sub edx, 0x92a8ccd7
loop 0x405e8f
add eax, 0xccd482e0
sub eax, 0xccd37e21
mov ebx, eax
add eax, 0x78173824
add eax, 0x87e8c7e1
mov ecx, 0x78ce838a
add ecx, 0x87717c76
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x422e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x422e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422e60
mov eax, 1
add ebx, ebx
jne 0x422e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422e78
jne 0x422e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422e78
xor ecx, ecx
sub eax, 3
jb 0x422ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422f1a
mov ebp, eax
add ebx, ebx
jne 0x422eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422ee4
inc ecx
add ebx, ebx
jne 0x422ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422ec5
jne 0x422ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422ef5
jmp 0x422e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422f04
add edi, ecx
jmp 0x422e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422f22
cmp byte [edi], 9
jne 0x422f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x422f27
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x264d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26598]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422f54
mov ecx, edi
jns 0x422f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2659c]
or eax, eax
je 0x422f99
mov dword [ebx], eax
add ebx, 4
jmp 0x422f71
call dword [esi + 0x265ac]
mov ebp, dword [esi + 0x265a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x422fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size9783kdownloadRoothttps:__launcher.zoom.us_clientactionjoinbrowserchromeconfiddGlkPVlwU09kUWdYUk0yQkw5ZG1zb2JVY1E_3Dconfno7466212551zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x40b905
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
imul eax, dword [ebp + 8], 0x3e8
mov dword [ebp - 8], eax
lea edx, [ebp - 4]
push edx
push 4
push dword [ebp - 8]
push 0x40b698
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x46b43c], eax
push dword [0x46b43c]
call sub.KERNEL32.DLL_ResumeThread
mov eax, dword [0x46b43c]
pop ecx
pop ecx
pop ebp
ret

Function at 0x40b945
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push dword [0x46b43c]
call sub.KERNEL32.DLL_GetExitCodeThread
push dword [0x46b43c]
call sub.KERNEL32.DLL_SuspendThread
push dword [ebp - 4]
push dword [0x46b43c]
call sub.KERNEL32.DLL_TerminateThread
pop ecx
pop ebp
ret

Function at 0x40bef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
mov eax, 0x4668f8
call fcn.004566f8
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401a24
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 0xff
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea ecx, [ebp - 0x134]
push ecx
call fcn.00456418
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jne 0x40bf83
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x134]
lea eax, [ebp - 8]
call fcn.004607d0
inc dword [ebp - 0x14]
mov ecx, 1
mov edx, 3
call fcn.00460a48
mov edx, eax
lea eax, [ebp - 4]
call fcn.004608d0
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004608a0
jmp 0x40bfb4
mov word [ebp - 0x20], 0x2c
lea edx, [ebp - 0x134]
lea eax, [ebp - 0xc]
call fcn.004607d0
mov edx, eax
inc dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004608d0
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0x20], 0x38
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004608d0
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x44
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop eax
mov word [ebp - 0x20], 0x38
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40c110
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x466a14
call fcn.004566f8
mov dword [ebp - 0xc], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.00460808
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
xor edx, edx
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x18], 0x14
mov edx, 0x466749
lea eax, [ebp - 4]
call fcn.004607d0
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
lea eax, [ebp + 8]
call fcn.00460d0c
test eax, eax
sete cl
and ecx, 1
push ecx
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop ecx
test cl, cl
je 0x40c19e
push 0
push 6
call sub.USER32.DLL_ExitWindowsEx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40c1d5
push 0x46674c
call fcn.0040c350
pop ecx
jmp 0x40c1d5
push 0x46675a
call fcn.0040c200
pop ecx
test eax, eax
je 0x40c1ca
push 0
push 6
call sub.USER32.DLL_ExitWindowsEx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40c1ca
push str.Shutting_down
call fcn.0040c350
pop ecx
push str.SeShutdownPrivilege
call fcn.0040c2a8
pop ecx
cmp dword [ebp - 0x2c], 0
setne al
and eax, 1
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004608a0
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x40c358
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x10c]
push edx
push 0x104
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_SearchPathA
test eax, eax
je 0x40c424
lea ecx, [ebp - 0x10c]
push ecx
call sub.KERNEL32.DLL_lstrlenA
mov byte [ebp + eax - 0x10b], 0
xor eax, eax
mov dword [ebp - 0x230], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x228], ecx
cmp dword [ebp + 0x14], 0
je 0x40c3ee
push dword [ebp + 0x14]
lea eax, [ebp - 0x210]
push eax
call sub.KERNEL32.DLL_lstrcpyA
lea edx, [ebp - 0x210]
push edx
call sub.KERNEL32.DLL_lstrlenA
mov byte [ebp + eax - 0x20f], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x224], ecx
jmp 0x40c3f6
xor eax, eax
mov dword [ebp - 0x224], eax
mov word [ebp - 0x220], 0x14
lea edx, [ebp - 0x230]
push edx
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
je 0x40c413
xor eax, eax
jmp 0x40c426
push 0x80
lea edx, [ebp - 0x210]
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40c834
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 8], dl
test dl, dl
jle 0x40c846
call fcn.0046115c
mov byte [ebp - 0x2a], cl
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x466b70
call fcn.004566f8
mov word [ebp - 0x18], 8
mov cl, byte [ebp - 0x2a]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0044623c
add dword [ebp - 0xc], 2
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.00446324
mov edx, dword [ebp - 4]
mov byte [edx + 0x30], 0
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x40c899
call fcn.00461169
mov esp, ebp
pop ebp
ret
Function at 0x412c64
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004537cc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x412cb3
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004539fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419b50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x419b56
ret

Function at 0x41bf44
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41bf95
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41bf7c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41bf6c
jmp 0x41bf95
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41bf7d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424670
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46b50c
cmp dword [edi], 0
jne 0x4246ec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x46b508]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x467000
mov ecx, 2
call fcn.004525c0
mov edx, 0x424648
lea eax, [esi + 5]
call fcn.00424668
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424668
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4246c1
mov dword [0x46b508], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424808
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x424858]
test si, 4
je 0x42481c
or bl, 1
test si, 8
je 0x424826
or bl, 4
test si, 1
je 0x424830
or bl, 8
test si, 2
je 0x42483a
or bl, 0x10
test si, 0x10
je 0x424844
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x424853
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42485c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x424894]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x424875
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x424884
or bl, 4
test esi, 0x20000000
je 0x42488f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42ade4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42adf6
add esp, 0xfffffff0
call fcn.00452e70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004463e4
mov eax, ebx
call fcn.0042b130
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x43faec]
call fcn.00452b40
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x43faec]
call fcn.00452b40
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43faec]
call fcn.00452b40
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x43faec]
call fcn.00452b40
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x43faec]
call fcn.00452b40
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x4278d4
push eax
push 0
push 0
mov eax, dword [0x46b214]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x419078]
call fcn.0041a5b0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x419078]
call fcn.0041a5b0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x419078]
call fcn.0041a5b0
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0042b510
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42b42c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42b42c
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42b42c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42af05
call fcn.00452ec8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret