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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 0x110], 1
jne 0x403139
mov eax, dword [ecx]
mov byte [ebp - 1], 0
test eax, eax
je 0x403113
push eax
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.004401d0
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 1]
mov byte [ecx], al
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 8]
test eax, eax
je 0x40312b
push eax
push 1
lea eax, [ebp - 1]
push 1
push eax
call fcn.0042c7fd
add esp, 0x10
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 1]
mov byte [ecx], al
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov al, byte [eax]
mov byte [ebp + 8], al
mov eax, dword [ecx]
test eax, eax
je 0x40315b
push eax
push 1
push 1
lea eax, [ebp + 8]
push eax
call fcn.004408b0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 8]
test eax, eax
je 0x403173
push eax
push 1
lea eax, [ebp + 8]
push 1
push eax
call fcn.0042cf10
add esp, 0x10
mov esp, ebp
pop ebp
ret 4

Function at 0x407bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov al, byte [esi + 0x29]
test al, al
je 0x407c30
cmp dword [esi + 0x38], edi
je 0x407c98
test al, al
je 0x407c30
cmp byte [esi + 0x3c], 0
je 0x407c18
mov byte [esi + 0x3d], 1
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x29], 0
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x407c98
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20c]
test eax, eax
je 0x407c98
mov eax, dword [esi + 4]
lea ecx, [esi + 0x2c]
push 0
push 0
push ecx
push 0x403260
mov dword [esi + 0x30], eax
mov eax, dword [esi]
push 0
push 0
mov dword [ecx], esi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov byte [esi + 0x3d], 0
call fcn.0042d798
add esp, 0x18
mov dword [esi + 0x40], eax
test eax, eax
je 0x407c98
mov ecx, esi
call fcn.00409680
mov ecx, esi
call fcn.00409690
mov byte [esi + 0x29], 1
pop edi
pop esi
pop ebp
ret 4

Function at 0x409a90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x463070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x409ada
mov eax, dword [ebp - 0x94]
cmp eax, 6
ja 0x409ad3
jne 0x409ada
mov eax, 1
jmp 0x409adc
xor eax, eax
mov byte [esi + 0x80c], al
lea eax, [esi + 0x52c]
push 0
push eax
lea eax, [esi + 0x53c]
push eax
call sub.gdiplus.dll_GdiplusStartup
mov ecx, esi
call fcn.00409ec0
mov ecx, esi
call fcn.0040d340
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040e140
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042b2a2
mov esp, ebp
pop ebp
ret 8
Function at 0x409ec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44792b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x463070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x100
lea eax, [esi + 0x115]
push 0
push eax
call fcn.0042bfd0
lea ebx, [esi + 0xc]
mov byte [esi + 0x14], 0
lea edi, [esi + 0x10]
mov dword [ebx], 0
add esp, 0xc
mov dword [edi], 0
cmp byte [0x46e981], 0
je 0x409f94
push 0
push ebx
push 0x45ff54
push 0x800
push dword [esi + 0x808]
call sub.DINPUT8.dll_DirectInput8Create
test eax, eax
js 0x409f94
mov eax, dword [ebx]
push 0
push edi
push 0x45ff74
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x409f94
mov eax, dword [edi]
push 0x45ff3c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x409f94
mov eax, dword [edi]
push 6
push dword [esi + 0x804]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x409f94
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0x100
lea eax, [esi + 0x315]
mov byte [esi + 0x14], 1
push 0
push eax
call fcn.0042bfd0
add esp, 0xc
push 0x114
call fcn.0042cfb8
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x409fba
mov ecx, eax
call fcn.00401cb0
mov edi, eax
jmp 0x409fbc
xor edi, edi
push 1
push str.keycode.cfg
mov dword [ebp - 4], 0xffffffff
call fcn.00401150
add esp, 4
mov ecx, edi
push eax
call fcn.00402350
test al, al
je 0x409ff9
push 1
push 0x100
lea eax, [esi + 0x15]
mov ecx, edi
push eax
call fcn.00402a80
mov ecx, edi
call fcn.00401cd0
jmp 0x40a00c
xor eax, eax
jmp 0x40a000
mov byte [esi + eax + 0x15], al
inc eax
cmp eax, 0x100
jl 0x40a000
test edi, edi
je 0x40a020
mov ecx, edi
call fcn.00401cd0
push edi
call fcn.0042d02e
add esp, 4
push 0x14
mov word [esi + 0x415], 0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and al, 1
mov byte [esi + 0x418], 0
mov byte [esi + 0x417], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40adc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0x7fc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [esi + 0x654]
fstp qword [ebp - 8]
movsd xmm2, qword [ebp - 8]
cmp dword [0x46302c], ecx
jne 0x40ae0b
movsd xmm0, qword [0x463030]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x40ae0b
movsd xmm2, qword [0x472840]
jmp 0x40ae2d
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov dword [0x46302c], ecx
movsd qword [0x463030], xmm2
divsd xmm2, xmm0
movsd qword [0x472840], xmm2
movsd xmm0, qword [esi + 0x658]
xorps xmm3, xmm3
comisd xmm0, xmm3
jbe 0x40af32
movsd xmm1, qword [esi + 0x658]
movapd xmm0, xmm2
addsd xmm0, qword [esi + 0x660]
subsd xmm1, xmm2
inc edi
movsd qword [esi + 0x660], xmm0
comisd xmm1, xmm3
movsd qword [esi + 0x658], xmm1
ja 0x40ae42
test edi, edi
je 0x40af32
mov eax, dword [esi + 0x6ac]
test eax, eax
je 0x40aeda
cmp dword [esi + 0x6c8], 0
jne 0x40ae95
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x6c8]
mov dword [esi + 0x6ac], 0
cmp eax, 2
jne 0x40aec6
mov ecx, esi
call fcn.0040db90
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040d970
test al, al
jne 0x40aeda
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x40aeda
mov ecx, esi
call fcn.0040db90
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x420]
imul eax, dword [esi + 0x41c]
shl eax, 2
push eax
push dword [esi + 0x434]
push dword [esi + 0x4f4]
call fcn.0042df90
add dword [esi + 0x6c4], edi
lea eax, [esi + 0x6b0]
push 0
push 0
push eax
push 0x40d590
push 0
push 0
mov dword [esi + 0x6c8], 0
call fcn.0042d798
add esp, 0x24
mov dword [esi + 0x6ac], eax
test eax, eax
je 0x40aecb
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40db90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x6ac]
test eax, eax
je 0x40dbb4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x6ac], 0
mov eax, dword [esi + 0x670]
test eax, eax
je 0x40dbc4
push eax
call sub.AVIFIL32.dll_AVIStreamRelease
mov eax, dword [esi + 0x674]
test eax, eax
je 0x40dbd4
push eax
call sub.AVIFIL32.dll_AVIStreamRelease
mov eax, dword [esi + 0x66c]
test eax, eax
je 0x40dbe9
push eax
call sub.AVIFIL32.dll_AVIFileRelease
call sub.AVIFIL32.dll_AVIFileExit
cmp byte [esi + 0x801], 0
mov dword [esi + 0x670], 0
mov dword [esi + 0x674], 0
mov dword [esi + 0x66c], 0
je 0x40dc87
push edi
lea eax, [esi + 0x550]
push 0x448570
push eax
call fcn.0042c509
mov edi, eax
add esp, 8
test edi, edi
je 0x40dc7a
push 0
push 0xbc
push edi
call fcn.0042c938
push edi
call fcn.0042cd4b
add esp, 0x10
cmp eax, 0xbc
jne 0x40dc71
push edi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.0042c7fd
push 0
push 0x70
push edi
call fcn.0042c938
push edi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.0042cf10
add esp, 0x2c
push edi
call fcn.0042c196
add esp, 4
pop edi
mov byte [esi + 0x801], 0
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x801], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40dfc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x463070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push str..bmp
push edi
call fcn.00401020
add esp, 8
test al, al
je 0x40e0a2
push 0
push 0x80
mov eax, 0x4d42
mov dword [ebp - 0x212], 0
mov word [ebp - 0x21c], ax
xorps xmm0, xmm0
mov eax, dword [ebx + 0x1c]
push 2
push 0
movq qword [ebp - 0x21a], xmm0
push 0
mov dword [ebp - 0x212], 0x36
mov eax, dword [eax + 0x14]
push 0x40000000
add eax, 0x36
push edi
mov dword [ebp - 0x21a], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push 0
lea eax, [ebp - 0x220]
push eax
push 0xe
lea eax, [ebp - 0x21c]
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x220]
push eax
push 0x28
push dword [ebx + 0x1c]
push edi
call esi
push 0
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebx + 0x1c]
push dword [eax + 0x14]
push dword [ebx + 0x18]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b2a2
mov esp, ebp
pop ebp
ret 8
push str..png
push edi
call fcn.00401020
add esp, 8
test al, al
je 0x40e129
lea eax, [ebp - 0x21c]
push eax
push str.image_png
call fcn.0040acd0
add esp, 8
test al, al
je 0x40e129
push 0xf
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push ecx
push eax
push dword [ebx + 0xc]
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.gdiplus.dll_GdipSaveImageToFile
push esi
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b2a2
mov esp, ebp
pop ebp
ret 8
Function at 0x40e540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x463070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x803], 0
je 0x40e635
mov ecx, dword [esi + 0x7f4]
test ecx, ecx
jne 0x40e589
mov ecx, dword [esi + 0x7f0]
call fcn.00401cd0
lea eax, [esi + 0x6e9]
push eax
call fcn.00402df0
add esp, 4
jmp 0x40e612
lea eax, [ecx + 0x24]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x7f0]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x6d0]
mov dword [ebp - 0x18], eax
push 0
shl eax, 2
push 0
mov dword [ebp - 0x30], 0x46464952
mov dword [ebp - 0x28], 0x45564157
mov dword [ebp - 0x24], 0x20746d66
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x20001
mov dword [ebp - 0x10], 0x100004
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x61746164
call fcn.00402ac0
mov ecx, dword [esi + 0x7f0]
lea eax, [ebp - 0x30]
push 1
push 0x24
push eax
call fcn.00402b70
mov ecx, dword [esi + 0x7f0]
lea eax, [ebp - 0xc]
push 1
push 8
push eax
call fcn.00402b70
mov ecx, dword [esi + 0x7f0]
call fcn.00401cd0
push edi
mov edi, dword [esi + 0x7f0]
test edi, edi
je 0x40e62d
mov ecx, edi
call fcn.00401cd0
push edi
call fcn.0042d02e
add esp, 4
mov byte [esi + 0x803], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042b2a2
mov esp, ebp
pop ebp
ret
Function at 0x40fc80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40fcf0
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x40fce9
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov esi, ebx
lea eax, [esi + 1]
jmp 0x40fcb0
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x40fcb0
sub esi, eax
test esi, esi
jle 0x40fce0
mov ecx, dword [0x4728ac]
call fcn.00409650
mov ecx, dword [0x4728ac]
push esi
push ebx
call fcn.00409520
mov ecx, dword [0x4728ac]
call fcn.00409610
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
pop ebx
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret
Function at 0x43b749
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x463070]
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.0042ed09
mov dword [ebp - 0x14], eax
cmp dword [0x4b3e24], esi
jne 0x43b83c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43b7c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43b91c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43b91c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b91c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b3e24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b3e28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b3e2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3e34], eax
test eax, eax
je 0x43b839
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3e30], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43b861
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43b854
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43b876
push 4
pop eax
jmp 0x43b91e
cmp dword [ebp - 0x14], esi
je 0x43b876
push dword [0x4b3e24]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43b85b
mov eax, dword [0x4b3e30]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43b8d4
cmp dword [0x4b3e34], edi
je 0x43b8d4
push eax
call ebx
push dword [0x4b3e34]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43b8d4
test eax, eax
je 0x43b8d4
call ecx
test eax, eax
je 0x43b8c9
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 0x43b8c9
test byte [ebp - 8], 1
jne 0x43b8d4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43b904
mov eax, dword [0x4b3e28]
cmp eax, edi
je 0x43b901
push eax
call ebx
test eax, eax
je 0x43b901
call eax
mov esi, eax
test esi, esi
je 0x43b901
mov eax, dword [0x4b3e2c]
cmp eax, edi
je 0x43b901
push eax
call ebx
test eax, eax
je 0x43b901
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b3e24]
call ebx
test eax, eax
je 0x43b91c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43b91e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b2a2
mov esp, ebp
pop ebp
ret
Function at 0x43fd90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov edx, 0x40000000
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi], 0
lea ebx, [ebx]
mov eax, edi
sub eax, dword [esi]
cmp eax, 0x40000000
cmova eax, edx
push eax
mov eax, dword [ebp + 0xc]
add eax, dword [esi]
push eax
push dword [ebx + 0x14]
call fcn.00434637
add esp, 0xc
test eax, eax
jle 0x43fddf
add dword [esi], eax
mov edx, 0x40000000
cmp dword [esi], edi
jb 0x43fdb0
test eax, eax
jns 0x43fe01
call fcn.0042f1e7
push dword [eax]
call fcn.004475d3
push eax
push 0xffffffffffffffff
push ebx
call fcn.00440b20
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
test eax, eax
jne 0x43fe0c
mov dword [ebx + 0x40], 1
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x444dd0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00444de0
Function at 0x101e3645
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102240a8]
jne 0x101e364f
repz ret
jmp fcn.101e56cd

Function at 0x101e6a3f
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.101e374c
and dword [ebp - 4], 0
cmp dword [0x10225668], 0
mov ebx, eax
jne 0x101e6af0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101e6ba1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101e6ba1
push eax
call fcn.101e36da
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10225668], eax
call esi
push eax
call fcn.101e36da
mov dword [esp], 0x101ead44
push edi
mov dword [0x1022566c], eax
call esi
push eax
call fcn.101e36da
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10225670], eax
call esi
push eax
call fcn.101e36da
pop ecx
mov dword [0x10225678], eax
test eax, eax
je 0x101e6af0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101e36da
pop ecx
mov dword [0x10225674], eax
mov eax, dword [0x10225674]
cmp eax, ebx
je 0x101e6b48
cmp dword [0x10225678], ebx
je 0x101e6b48
push eax
call fcn.101e3755
push dword [0x10225678]
mov esi, eax
call fcn.101e3755
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101e6b48
test edi, edi
je 0x101e6b48
call esi
test eax, eax
je 0x101e6b3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101e6b3f
test byte [ebp - 0xc], 1
jne 0x101e6b48
or dword [ebp + 0x10], 0x200000
jmp 0x101e6b81
mov eax, dword [0x1022566c]
cmp eax, ebx
je 0x101e6b81
push eax
call fcn.101e3755
pop ecx
test eax, eax
je 0x101e6b81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101e6b81
mov eax, dword [0x10225670]
cmp eax, ebx
je 0x101e6b81
push eax
call fcn.101e3755
pop ecx
test eax, eax
je 0x101e6b81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10225668]
call fcn.101e3755
pop ecx
test eax, eax
je 0x101e6ba1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101e6ba3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101e8516
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [0x10223a2c], 0xdfb
mov dword [0x10223a28], 0xbdc
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x101e8551
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x15c
mov edi, edx
add edi, esi
add edi, 0x130
mov esi, dword [edi]
imul edi, eax, 0x15c
add edx, edi
add edx, 0x12c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x283
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x101e8551
xor eax, eax
mov dword [0x10223a28], 0x2590
mov dword [0x10223a2c], 0x20f1
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ea584]
mov dh, byte [eax + 0x101ea555]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x140], ecx
jne 0x101e85c6
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x144], eax
mov dword [0x10223a28], 0x1bb7
call fcn.101e9bf0
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.101e8ce7
mov ecx, eax
mov dword [0x10223a44], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x10223a2c], 0x3eb
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x15c
mov edi, edx
add edi, esi
add edi, 0x130
mov esi, dword [edi]
imul edi, eax, 0x15c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x15c
add edx, ebx
add edx, 0x12c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.101e98e5
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x283
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x101e8671
lea eax, [0x101ea563]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10223a28], 0xb8e
mov dword [0x10223a2c], 0x1f41
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.101e9336
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.101e897e
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x374a2
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x147c00
mov ecx, dword [ebp - 0x148]
add ecx, 0x22786
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2010
mov dword [0x10223a28], 0x144a
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101e87c3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10223a28], 0x2590
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x10223a2c], 0x20f1
mov dword [ebp - 0x30], eax
jmp 0x101e87f9
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101ea584]
mov dl, byte [eax + 0x101ea555]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x101e87f9
lea eax, [ebp - 0x24]
mov dword [0x10223a28], 0x17d7
mov dword [ebp - 0x34], eax
call fcn.101e9bf0
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101e8ce7
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101e87f1
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x10223a28]
add ecx, 0xffffff13
mov dword [0x10223a28], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10223a2c], 0x540
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
call fcn.101e9032
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10223a28], 0x148f
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [0x10223a28]
add ecx, 0xffffe6c4
mov dword [0x10223a2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x40], ecx
mov dword [0x10223a28], 0x1eb3
add ecx, 0x217e
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101e8913
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret