joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52418c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x52433a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x5367d4]
mov eax, dword [eax]
call fcn.004a91c8
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.user32.dll_GetDC
push eax
call sub.gdi32.dll_GetPixel
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x524354
call fcn.004142e0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5367d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x3a8]
call fcn.004a027c
mov eax, dword [0x5361a0]
push eax
call sub.user32.dll_GetCursorPos
test eax, eax
je 0x524317
lea edx, [ebp - 0x28]
mov eax, dword [0x5361a0]
mov eax, dword [eax]
call fcn.00413228
mov edx, dword [ebp - 0x28]
mov eax, dword [0x5367d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x3d4]
call fcn.004a027c
lea edx, [ebp - 0x2c]
mov eax, dword [0x5361a0]
mov eax, dword [eax + 4]
call fcn.00413228
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x5367d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x3d8]
call fcn.004a027c
mov eax, dword [0x5361a0]
push dword [eax + 4]
push dword [eax]
call sub.user32.dll_WindowFromPoint
mov edx, dword [0x536554]
mov dword [edx], eax
mov eax, dword [0x536554]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDC
mov edx, dword [0x536700]
mov dword [edx], eax
mov eax, dword [0x5361a0]
push eax
mov eax, dword [0x536554]
mov eax, dword [eax]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [0x5361a0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5361a0]
mov eax, dword [eax]
push eax
mov eax, dword [0x536700]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_GetPixel
mov edx, dword [0x5366e0]
mov dword [edx], eax
mov edx, dword [0x5366e0]
mov edx, dword [edx]
mov eax, dword [0x5367d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x38c]
call fcn.004a03fc
mov eax, dword [0x5366e0]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0041346c
mov edx, dword [ebp - 0x30]
mov eax, dword [0x5367d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x3dc]
call fcn.004a027c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524341
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004068ec
lea eax, [ebp - 0x1c]
call fcn.004068e4
ret

Function at 0x524ec8
Capabilities:
Terminate process

Disassembly:
push ebx
add esp, 0xfffffff8
push esp
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [esp]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
lea eax, [esp + 4]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esp + 4]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x524f00
mov al, 1
jmp 0x524f02
xor eax, eax
pop ecx
pop edx
pop ebx
ret
Function at 0x5286d8
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x24
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x24
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x24
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x24
call sub.user32.dll_keybd_event
ret

Function at 0x529270
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x2d
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x2d
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x2d
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x2d
call sub.user32.dll_keybd_event
ret
Function at 0x45439f
Capabilities:
Check http status code

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
xor ebp, ebp
pop edi
mov ebx, 0xc9
cmp edi, ebx
jb 0x4543b6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov esi, edi
mov eax, dword [0x47b104]
imul esi, esi, 0xa4
cmp dword [esi + eax], 0
je 0x454405
cmp edi, ebx
jb 0x4543d2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov ecx, dword [0x47b104]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + ecx]
jne 0x4543f6
cmp edi, ebx
jb 0x4543ea
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x47b104]
cmp dword [esi + eax + 0x30], 0
je 0x454409
add edi, 1
jo 0x454414
cmp edi, 0xc8
jle 0x4543ad
jmp 0x45440b
xor ebp, ebp
jmp 0x45440b
mov ebp, edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow

Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x402065
push 0x402053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40101c
ret
mov edi, edi
mov esi, 0x4010c7
mov edi, esi
push 1
push 0x402083
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreW]
mov edx, eax
pop ebx
mov ecx, 0x380
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x401040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x401066
xor eax, eax
mov dword [0x402096], eax
add esp, 4
ret
Function at 0x413dc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x413de2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413de9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413dd8
mov eax, 1
add ebx, ebx
jne 0x413dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413df0
jne 0x413e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413df0
xor ecx, ecx
sub eax, 3
jb 0x413e20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413e92
mov ebp, eax
add ebx, ebx
jne 0x413e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413e5c
inc ecx
add ebx, ebx
jne 0x413e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413e3d
jne 0x413e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413e3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413e6d
jmp 0x413dde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413e7c
add edi, ecx
jmp 0x413dde
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413e9a
cmp byte [edi], 5
jne 0x413e9a
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 0x413e9f
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413f0e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14508]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413ecc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1450c]
or eax, eax
je 0x413f08
mov dword [ebx], eax
add ebx, 4
jmp 0x413ee9
call dword [esi + 0x1451c]
mov ebp, dword [esi + 0x14510]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x413f42
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x402ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x402cf9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x402d34
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402d30
lea ebx, [ebx]
cmp esi, eax
jae 0x402d34
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402d20
cmp esi, eax
jb 0x402d3a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40f453
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40f49a
call fcn.00408fb3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x40f49a
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40f4b6
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040efcb
mov esi, eax
test edi, edi
je 0x40f4b4
test ebx, ebx
je 0x40f4b4
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4115a4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x436a55
call fcn.00422512
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4115c9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
jmp 0x41160f
lea ecx, [ebp - 0x10]
call fcn.00403460
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004082e8
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401180
mov eax, esi
call fcn.004225ea
ret 8

Function at 0x421675
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447880]
jne 0x42167f
repz ret
jmp fcn.004266e6
Function at 0x42e6d2
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.004260f5
and dword [ebp - 4], 0
cmp dword [0x44b618], 0
mov ebx, eax
jne 0x42e783
push 0x43c6fc
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42e834
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x43c6f0
push edi
call esi
test eax, eax
je 0x42e834
push eax
call fcn.00426083
mov dword [esp], 0x43c6e0
push edi
mov dword [0x44b618], eax
call esi
push eax
call fcn.00426083
mov dword [esp], 0x43c6cc
push edi
mov dword [0x44b61c], eax
call esi
push eax
call fcn.00426083
mov dword [esp], 0x43c6b0
push edi
mov dword [0x44b620], eax
call esi
push eax
call fcn.00426083
pop ecx
mov dword [0x44b628], eax
test eax, eax
je 0x42e783
push 0x43c698
push edi
call esi
push eax
call fcn.00426083
pop ecx
mov dword [0x44b624], eax
mov eax, dword [0x44b624]
cmp eax, ebx
je 0x42e7db
cmp dword [0x44b628], ebx
je 0x42e7db
push eax
call fcn.004260fe
push dword [0x44b628]
mov esi, eax
call fcn.004260fe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42e7db
test edi, edi
je 0x42e7db
call esi
test eax, eax
je 0x42e7d2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42e7d2
test byte [ebp - 0xc], 1
jne 0x42e7db
or dword [ebp + 0x10], 0x200000
jmp 0x42e814
mov eax, dword [0x44b61c]
cmp eax, ebx
je 0x42e814
push eax
call fcn.004260fe
pop ecx
test eax, eax
je 0x42e814
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42e814
mov eax, dword [0x44b620]
cmp eax, ebx
je 0x42e814
push eax
call fcn.004260fe
pop ecx
test eax, eax
je 0x42e814
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b618]
call fcn.004260fe
pop ecx
test eax, eax
je 0x42e834
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42e836
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45a8cc
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0045a94b
jae 0x45a8d8
xor ecx, ecx
call fcn.0045a94b
jae 0x45a902
xor eax, eax
call fcn.0045a94b
jae 0x45a913
mov al, 0x10
call fcn.0045a94b
adc al, al
jae 0x45a8f4
jne 0x45a940
stosb byte es:[edi], al
jmp 0x45a8d9
call fcn.0045a957
dec ecx
loop 0x45a91f
mov eax, ebp
call fcn.0045a955
jmp 0x45a941
lodsb al, byte [esi]
shr eax, 1
je 0x45a967
adc ecx, 2
mov ebp, eax
jmp 0x45a941
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0045a955
cmp eax, 0x7d00
jae 0x45a93f
cmp eax, 0x500
jae 0x45a940
cmp eax, 0x7f
ja 0x45a941
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x45a8d9
pop ebp
ret 8
Function at 0x40846c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov al, byte [0x40de80]
push edi
push 0x41
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402ece
lea eax, [ebp - 0x108]
mov dword [esp], 0x40d94c
push eax
call fcn.0040337f
pop ecx
lea eax, [ebp - 0x108]
pop ecx
push 5
push 0x40de80
push 0
push eax
push 0x40d07c
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
leave
ret

Function at 0x4091b5
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x4091d8
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x40944a
Capabilities:
Create process on windows

Disassembly:
push 5
push 0x40da04
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0x1f
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x409bdf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x24], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 0x40dbfc
mov dword [ebp - 0x28], 0x40de80
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret
Function at 0x402500
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x40259a
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [esi]
test eax, eax
push edx
jne 0x40258e
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov eax, dword [esp + 0xc]
mov dword [esi], 0
test eax, eax
jne 0x40259a
lea eax, [esp + 8]
push eax
push 0
push 0
push str.SoftwareIBMViaVoice_Outloud_5.0
push 0x80000002
call fcn.00402670
add esp, 0x14
test eax, eax
jne 0x40259a
mov ecx, dword [esp + 8]
push str.ECIINI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 8]
test eax, eax
je 0x40259a
push eax
call edi
pop edi
pop esi
add esp, 8
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
pop edi
pop esi
add esp, 8
ret

Function at 0x4025a0
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [ecx]
test eax, eax
jne 0x4025ab
pop ecx
ret 0xc
lea ecx, [esp + 8]
push esi
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push eax
mov esi, 1
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40260d
mov edx, dword [esp + 0x14]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
je 0x40260f
xor esi, esi
mov eax, dword [esp + 4]
test eax, eax
je 0x40261e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0xc

Function at 0x402630
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x40265e
mov edx, dword [esp + 4]
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, 1
ret 8
Function at 0x402700
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403080
push 0x402832
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4045e0], 0xffffffff
or dword [0x4045e4], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4045dc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4045d8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4045e8], eax
call fcn.00402831
cmp dword [0x4045b0], 0
jne 0x402783
push 0x40282e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040281c
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4045d4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4045d0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.004021f0
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469487
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x48a8c4]
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x38]
mov byte [esp + 0x28], 2
test ebp, ebp
jle 0x4014be
mov esi, dword [esp + 0x34]
mov al, byte [esi]
test al, al
jl 0x4013e8
movsx eax, al
push eax
lea eax, [esp + 0x10]
push 0x488268
inc edi
push eax
inc esi
call fcn.0045986b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045b9c2
jmp 0x4014b6
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00401340
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00401300
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x488264
call fcn.0045b986
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
and edx, 0xff
push edx
push 0x488260
push eax
call fcn.0045986b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045b9c2
push 0x488264
lea ecx, [esp + 0x14]
call fcn.0045b986
mov edx, dword [esp + 0x19]
lea eax, [esp + 0xc]
and edx, 0xff
push edx
push 0x488260
push eax
call fcn.0045986b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045b9c2
push 0x488264
lea ecx, [esp + 0x14]
call fcn.0045b986
mov edx, dword [esp + 0x1a]
lea eax, [esp + 0xc]
and edx, 0xff
push edx
push 0x488260
push eax
call fcn.0045986b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045b9c2
add edi, 2
add esi, 2
cmp edi, ebp
jl 0x4013b7
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0045b31f
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0045b5aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0045b5aa
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x405ab0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4699d8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x405afa
call fcn.0045b5aa
mov eax, 1
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret
call fcn.0045b5aa
mov ecx, dword [esp]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0xc
ret

Function at 0x407430
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x469c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x48a8c4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x30], esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00462882
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub ebp, edx
sub ebx, ecx
cmp edi, esi
mov dword [esp + 0x38], ebx
jne 0x4074a0
mov dword [esp + 0x34], esi
jmp 0x4074a7
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x34], edx
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004622f2
cmp eax, esi
je 0x4074be
mov esi, dword [eax + 4]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push ebp
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0xcc0020
push ecx
push edx
push esi
push eax
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x3c]
push 0
push ebx
mov ecx, dword [ecx]
call fcn.00435790
mov edx, dword [esp + 0x34]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0045b5aa
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret