joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44acd5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44aded
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44aded
mov eax, dword [esi + 0x3c]
push eax
call fcn.00461231
mov esi, eax
test esi, esi
je 0x44aded
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44aded
mov ecx, esi
call fcn.0044ac60
cmp edi, eax
jge 0x44aded
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44ad73
mov dword [esp + 0x34], 1
jmp 0x44adce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44aded
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044a230
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x461bd5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461c0d
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.0045fc8c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045fc64
jmp 0x461c19
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4632c7
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 0x463309
call fcn.00468d7a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463309
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463300
xor eax, eax
jmp 0x463311
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463317
pop edi
pop esi
pop ebx
ret 4
Function at 0x4692aa
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 0x4692d8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4692f6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469210
jmp 0x4692f6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4692f6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469210
test edi, edi
mov eax, edi
jne 0x4692e0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
mov ecx, 0x5eed6a55
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..reloc
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2f6d1c19
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401411
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x150
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
call esi
push edx
mov dword [ebp - 0x124], eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x118], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push edx
push edx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x11c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ecx
push ecx
mov dword [esp], 0
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push eax
mov dword [esp], 0
call esi
lea esi, [ebp - 0x10c]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathA]
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
sub esp, 0x1c
call ebx
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x40162e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.00401411
test eax, eax
jne 0x4016c8
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402132
sub eax, 0x4016d0
mov dword [esp], 0x4016d0
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c8
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401382
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004015b7
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b400
mov dword [esp], 0x40300c
call fcn.00401e35
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4020e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405388
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x409018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x402272
cmp byte [ebx + 0x49], 0
je 0x402272
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x402266
lea esi, [ebp - 0x2c]
call fcn.00401f00
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x402153
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x40218b
dec eax
je 0x40218f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x40226d
call fcn.00401300
xor al, al
jmp 0x402274
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40219f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x4021cd
cmp edi, 0x10
jae 0x4021ae
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x40225e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x40226a
test esi, esi
jne 0x402147
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40228f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40228f
cmp edi, esi
jae 0x402247
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00402310
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x402147
mov ecx, eax
cmp edi, 0x10
jae 0x402223
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40223e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x402141
test esi, esi
jne 0x402219
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x402256
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x402141
lea esi, [ebp - 0x2c]
call fcn.00401300
xor al, al
jmp 0x402274
lea esi, [ebp - 0x2c]
call fcn.00401300
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404843
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x404843
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409018]
jne 0x40484d
repz ret
jmp fcn.00404d85
Function at 0x40459c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 8]
push 0xfffffffffffffff0
add ecx, 0x646c6f47
pop esi
xor word [eax + 0xc], cx
xor word [eax + 0xe], cx
xor dword [eax + 0x110], ecx
xor byte [eax + 0x114], cl
mov dword [ebp + 8], ecx
lea ecx, [eax + 0x10]
sub esi, eax
mov edi, 0x100
lea eax, [ecx + esi]
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 8]
xor byte [ecx], al
inc ecx
dec edi
jne 0x4045d2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4045ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], 0x100
add eax, 0x646c6f47
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 7]
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp - 4]
xor al, byte [esi + edi]
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0x404614
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404631
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x404659
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x40468d
dec eax
je 0x40466d
dec eax
je 0x40467f
jmp 0x404655
cmp dword [ebp - 0x8c], ecx
jne 0x404679
push 4
jmp 0x40468f
jbe 0x40467f
push 5
jmp 0x40468f
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x404692
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x48
mov eax, dword [edi]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esi + 3], al
mov eax, dword [edi + 8]
mov byte [esi + 2], cl
mov eax, dword [eax]
mov dword [esi + 4], eax
call fcn.0040472f
mov dword [esi + 8], eax
lea ecx, [eax + 0x646c6f47]
mov eax, dword [edi]
mov dword [ebp + 8], ecx
mov dx, word [eax + 2]
xor dx, cx
mov word [esi + 0xc], dx
mov edx, dword [eax + 0x12]
mov edx, dword [edx]
xor edx, ecx
mov dword [esi + 0x110], edx
mov dx, word [eax + 8]
xor dx, cx
mov word [esi + 0xe], dx
mov dl, byte [eax + 0x16]
xor dl, cl
mov byte [esi + 0x114], dl
mov dx, word [eax + 4]
test dx, dx
jbe 0x40472b
mov edi, dword [eax + 0xe]
push ebx
movzx eax, dx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 4
cdq
pop esi
idiv esi
mov al, byte [edx + ebp + 8]
xor al, byte [edi + ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0x404712
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x404782
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add dword [ebp + 0x10], 0x646c6f47
mov eax, dword [eax]
mov dx, word [eax + 6]
test dx, dx
jbe 0x4047c9
push ebx
push esi
mov esi, dword [eax + 0xa]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [eax + 7]
movzx eax, dx
mov dword [ebp + 8], eax
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx]
mov byte [esi + edi], al
inc edi
inc ecx
dec dword [ebp + 8]
jne 0x4047ae
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404d58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x404d6e
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x404d81
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret

Function at 0x405030
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x406f95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
lea eax, [esp + 0x114]
push esi
xor ebx, ebx
push eax
push 0x101
mov dword [esp + 0x1c], ebx
call sub.WSOCK32.dll_WSAStartup
cmp eax, ebx
je 0x405081
mov esi, dword [esp + 0x2b8]
push str.0.0.0.0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
jmp 0x405164
lea ecx, [esp + 0x18]
push 0xff
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x18]
push edx
call sub.WSOCK32.dll_gethostbyname
cmp eax, ebx
je 0x4050a5
cmp word [eax + 0xa], 4
je 0x4050bd
mov esi, dword [esp + 0x2b8]
push str.0.0.0.0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
jmp 0x405164
mov eax, dword [eax + 0xc]
mov byte [esp + 0xb], bl
mov byte [esp + 0xa], bl
mov byte [esp + 9], bl
mov eax, dword [eax]
mov byte [esp + 8], bl
cmp eax, ebx
je 0x4050de
mov esi, dword [eax]
mov dword [esp + 8], esi
jmp 0x4050e2
mov esi, dword [esp + 8]
push str.0.0.0.0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0xb]
mov edx, dword [esp + 0xa]
mov eax, dword [esp + 9]
and ecx, 0xff
and edx, 0xff
push ecx
and eax, 0xff
push edx
and esi, 0xff
push eax
push esi
lea ecx, [esp + 0x20]
push str._d._d._d._d
push ecx
mov dword [esp + 0x2c8], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x18
call sub.WSOCK32.dll_WSACleanup
mov esi, dword [esp + 0x2b8]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 1
mov byte [esp + 0x2b0], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2a8]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret
Function at 0x4063a0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
push edi
push eax
lea edi, [esi + 0x44]
mov ecx, edi
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4063f7
push 0xff
mov ecx, edi
mov dword [esi + 0x40], 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00406410
pop edi
xor eax, eax
pop esi
ret 8
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x406410
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, dword [esp + 0x7c]
mov esi, eax
mov ebx, 1
xor edi, edi
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x406468
lea eax, [esp + 0x10]
push 0xff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x10]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x406468
xor ebx, ebx
cmp edi, 0x3e8
jg 0x406475
inc edi
test ebx, ebx
jne 0x406433
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8

Function at 0x406630
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x40a90c
call fcn.00406970
push 0x40
push 0x408900
push 0x40a90c
push 0x40a90c
call fcn.00406890
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x4066bb
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x40a588]
mov ecx, 8
mov esi, eax
mov edi, 0x40a8ec
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004067d0
mov ecx, dword [0x40a584]
mov edx, dword [0x40a588]
push 0x20
push ecx
push edx
call fcn.004068e0
mov edi, dword [0x40a584]
add esp, 0x14
mov ecx, 8
mov esi, 0x40a8ec
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40666f
jmp 0x406714
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x40a584]
mov ecx, 8
mov esi, eax
mov edi, 0x40a8ec
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004067d0
mov ecx, dword [0x40a588]
mov edx, dword [0x40a584]
push 0x20
push ecx
push edx
call fcn.004068e0
mov edi, dword [0x40a588]
add esp, 0x14
mov ecx, 8
mov esi, 0x40a8ec
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4066ca
push 0x40
push 0x408940
push 0x40a90c
push 0x40a90c
call fcn.00406890
mov eax, dword [esp + 0x24]
push 0x40
push 0x40a90c
push eax
call fcn.004069b0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406750
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x40a8ac
call fcn.00406970
push 0x38
push str.91__
push 0x40a8ac
push 0x40a8ac
call fcn.00406890
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x408a38]
mov edx, dword [0x40a58c]
push ecx
push 0x1c
push edx
call fcn.00406910
movsx eax, byte [esi + 0x408a38]
mov ecx, dword [0x40a590]
push eax
push 0x1c
push ecx
call fcn.00406910
push 0x30
push 0x408a08
push 0x40a8ac
push edi
call fcn.00406890
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x406782
pop edi
pop esi
ret

Function at 0x4067d0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x408980
push esi
push 0x40a87c
call fcn.00406890
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x40a87c
call fcn.004068e0
push 0x40a87c
push esi
call fcn.00406820
push 0x20
push 0x4089b0
push esi
push esi
call fcn.00406890
add esp, 0x34
pop esi
ret

Function at 0x4068e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x406902
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x4068f4
pop ebx
pop esi
ret
Function at 0x4018f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str.777ll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40195f
cmp dword [ebp - 0x118], 0
je 0x40195f
jmp 0x4019c3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x4019c3
mov dword [ebp - 0x11c], 0x7dc35
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x440d34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x440d50], ecx
mov dword [ebp - 0x11c], 0x7dc35
mov dword [ebp - 0x11c], 0x7dc35
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x440d4c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.00401300
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40195f
mov esp, ebp
pop ebp
ret

Function at 0x401a60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x440d40], 0x24e1
mov eax, dword [0x440d40]
sub eax, 0x24e1
mov dword [0x440d40], eax
mov ecx, 1
test ecx, ecx
je 0x401b0b
mov edx, dword [0x440d40]
cmp edx, dword [ebp + 0xc]
jb 0x401a97
jmp 0x401b0b
cmp dword [0x440d40], 0
jne 0x401ab5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401ab5
xor eax, eax
jmp 0x401b0b
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
mov ecx, dword [eax]
add ecx, dword [0x440d40]
mov edx, dword [ebp + 8]
add edx, dword [0x440d40]
mov dword [edx], ecx
mov dword [ebp - 4], 0x15
mov eax, dword [0x440d40]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
push eax
call fcn.004011c0
add esp, 8
mov ecx, dword [0x440d40]
add ecx, 4
mov dword [0x440d40], ecx
jmp 0x401a7d
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 0x18], 0
push esi
mov esi, ecx
jne 0x401069
mov eax, dword [esp + 0xc]
cmp eax, 1
jne 0x40103a
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
call fcn.00401100
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
je 0x401069
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x10
jne 0x40105c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov eax, 1
pop esi
ret 0x18
cmp eax, 2
jne 0x401069
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
pop esi
ret 0x18