joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494018
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x49dcdc]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x494054
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x49406c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x494065
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.0040308c
xor edx, edx
mov eax, 0x49dedc
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4940d6
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x49408a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x494314
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x49432d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x494326
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x49433f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x494338
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00493f08
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x494359
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00494018
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4943de
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4943fb
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00493f98
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x494424
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49443c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x494455
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x49444e
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x494469
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00493e00
test bl, bl
jne 0x49453c
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x49fcd4
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4944a0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4944b4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00494314
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4944e6
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x494495
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x494509
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x49451a
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x49452e
jmp 0x4945f7
cmp bl, 1
jne 0x4945f7
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x49fd2e
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x49455c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x494570
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00494314
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4945a2
sub ebx, 6
inc dword [ebp - 8]
jne 0x494551
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4945c9
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4945da
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4945ee
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00493e84
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x495668
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a30
mov eax, dword [ebp - 8]
call fcn.00404a30
mov eax, dword [ebp + 0xc]
call fcn.00404a30
xor eax, eax
push ebp
push 0x495729
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4956fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
call fcn.00404a40
push eax
push 0x401
lea eax, [ebp - 0x409]
push eax
push 0x49573c
mov eax, dword [ebp - 8]
call fcn.00404a40
push eax
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x409]
mov ecx, 0x401
call fcn.004047f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495706
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495730
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045a4
lea eax, [ebp + 0xc]
call fcn.00404580
ret

Function at 0x495980
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov eax, dword [ebp - 4]
call fcn.00404a30
mov eax, dword [ebp + 8]
call fcn.00404a30
lea eax, [ebp - 0x14]
mov edx, dword [0x495804]
call fcn.00404f14
xor eax, eax
push ebp
push 0x495a2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00404580
lea eax, [ebp - 8]
call fcn.00404580
cmp dword [ebp - 4], 0
je 0x4959e1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404618
cmp dword [ebp + 8], 0
je 0x4959f2
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
call fcn.00404618
lea eax, [ebp - 0x14]
push eax
push 0x49582c
call sub.user32.dll_EnumWindows
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495a36
lea eax, [ebp - 0x14]
mov edx, dword [0x495804]
call fcn.00404fe4
lea eax, [ebp - 4]
call fcn.00404580
lea eax, [ebp + 8]
call fcn.00404580
ret
Function at 0x495a7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404a30
mov eax, dword [ebp - 8]
call fcn.00404a30
xor eax, eax
push ebp
push 0x495bf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x10
call fcn.004072ec
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004087fc
mov eax, dword [ebp - 0x14]
call fcn.00408f6c
test al, al
je 0x495bd8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004087fc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00409020
cmp dword [ebp - 0x10], 0
jne 0x495b0b
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404618
jmp 0x495b23
push dword [ebp - 0x14]
push 0x495c0c
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404900
mov dword [ebp - 0x24], 0xc
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x30], 0xc
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x74]
mov edx, 0x44
call fcn.004072ec
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov word [ebp - 0x44], 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a40
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404a40
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a40
push eax
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x495bd8
push 0x64
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0x64
mov eax, dword [ebp - 0x84]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea edx, [ebp - 0x84]
mov eax, ebx
mov ecx, 0x10
call fcn.004072e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495bfa
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004045a4
ret
Function at 0x495e40
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x495f75
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00404580
cmp dword [ebp - 4], 0
je 0x495f54
xor edx, edx
push ebp
push 0x495f4a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1d6]
push eax
push 0x101
call sub.ws2_32.dll_WSAStartup
push 0x40
lea eax, [ebp - 0x48]
push eax
call sub.ws2_32.dll_gethostname
lea eax, [ebp - 0x48]
push eax
call sub.ws2_32.dll_gethostbyname
test eax, eax
jne 0x495ec0
pop dword fs:[0]
add esp, 8
jmp 0x495f54
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x495eed
push dword [edi]
call sub.ws2_32.dll_inet_ntoa
lea edx, [ebp - 0x1dc]
call fcn.00409370
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 8]
mov ecx, 0x495f8c
call fcn.0040488c
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x495ec7
mov eax, dword [ebp - 8]
call fcn.00404840
mov edx, eax
lea eax, [ebp - 8]
mov ecx, 1
call fcn.00404ae0
mov eax, dword [ebp - 8]
call fcn.00404840
push eax
lea eax, [ebp - 8]
call fcn.00404a98
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 4
pop ecx
call fcn.004072e4
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.ws2_32.dll_inet_addr
mov edx, dword [ebp - 4]
mov dword [edx], eax
call sub.ws2_32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495f54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495f7c
lea eax, [ebp - 0x1dc]
call fcn.00404580
lea eax, [ebp - 8]
call fcn.00404580
ret

Function at 0x495ff0
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 8]
add esp, 0x20
ret
Function at 0x4972a4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4974b9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov al, dl
cmp eax, 0x10
ja case.default.0x4972cd
jmp dword [eax*4 + 0x4972d4]
lea eax, [ebp - 0xc]
mov edx, 0x4974d0
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x4974f0
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x49750c
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x497528
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x497544
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x497564
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x497580
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x4975a4
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x4975c8
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x4975e4
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x497608
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x49762c
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x497654
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x49767c
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x49769c
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x4976c0
call fcn.00404618
jmp case.default.0x4972cd
lea eax, [ebp - 0xc]
mov edx, 0x4976e4
call fcn.00404618
lea eax, [ebp - 4]
push eax
push 0x28
push ebx
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x497441
xor ebx, ebx
jmp 0x4974a3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a40
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x49745d
xor ebx, ebx
jmp 0x4974a3
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x4974a1
mov bl, 1
jmp 0x4974a3
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4974c0
lea eax, [ebp - 0xc]
call fcn.00404580
ret

Function at 0x4976f8
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x49771e
call sub.kernel32.dll_GetCurrentProcess
mov dl, 5
call fcn.004972a4
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
add esp, 0x94
ret
Function at 0x49a04c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov ebx, edx
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x49a085
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
lea eax, [ebp - 0x41]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
setg byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a08f
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a09c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test ebx, ebx
jl 0x49a0f2
mov eax, dword [0x49dfa8]
dec eax
cmp ebx, eax
jg 0x49a0f2
push 0
imul edi, ebx, 0x3d
mov eax, dword [edi + 0x49fd8d]
push eax
call sub.kernel32.dll_TerminateProcess
push 0xbb8
call sub.kernel32.dll_Sleep_1
push 0
xor ecx, ecx
mov edx, ebx
mov eax, esi
call fcn.0049a2fc
mov eax, dword [edi + 0x49fd89]
lea eax, [eax + eax*4]
mov byte [eax + 0x4a0044], 0
mov edx, ebx
mov eax, esi
call fcn.00499c74
pop edi
pop esi
pop ebx
ret

Function at 0x49a4bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], edx
mov esi, eax
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x49a65f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x49dfa4], 1
xor eax, eax
push ebp
push 0x49a61e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x49e4d4]
cmp dword [eax + 8], 0
je 0x49a530
push 0
mov eax, dword [0x49e4d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [0x49e4d4]
mov edx, 0x1c
call fcn.004072ec
xor eax, eax
mov dword [ebp - 4], eax
mov eax, edi
mov edx, 0x128
call fcn.004072ec
mov dword [edi], 0x128
xor edx, edx
mov eax, 2
call fcn.00478aa8
mov dword [ebp - 4], eax
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00478ac8
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [0x49e4d4]
cmp dword [eax + 8], 0
je 0x49a5fe
push 0
mov eax, dword [0x49e4d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [0x49e4d4]
mov edx, 0x1c
call fcn.004072ec
jmp 0x49a5fe
cmp dword [edi + 8], 0
jbe 0x49a5ee
lea eax, [ebp - 0x134]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004047f0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004085e0
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x138]
mov eax, 0x49a678
call fcn.004085e0
mov edx, dword [ebp - 0x138]
pop eax
call fcn.0040498c
jne 0x49a5ee
mov edx, dword [edi + 8]
mov eax, esi
call fcn.0049a688
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00478ae8
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x49a595
mov eax, dword [0x49e13c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
call fcn.00495a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a63a
mov byte [0x49dfa0], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a666
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.004045a4
ret
Function at 0x49a688
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49a6d9
xor eax, eax
push ebp
push 0x49a6d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a6d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
pop ecx
pop ebp
ret

Function at 0x49a7f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
cmp byte [eax + 0x469], 0
jne 0x49a84b
xor edx, edx
push ebp
push 0x49a841
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x49a7f0
push 0
push 0
call sub.kernel32.dll_CreateThread
cmp eax, 0xffffffff
je 0x49a837
test eax, eax
jbe 0x49a837
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a84b
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49a854
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49a8d8
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x49a896
push 5
imul eax, edi, 0x3d
mov eax, dword [eax + 0x49fd9d]
push eax
call sub.user32.dll_ShowWindow
push 5
imul eax, edi, 0x3d
mov eax, dword [eax + 0x49fda1]
push eax
call sub.user32.dll_ShowWindow
jmp 0x49a8b8
push 0
imul eax, edi, 0x3d
mov eax, dword [eax + 0x49fd9d]
push eax
call sub.user32.dll_ShowWindow
push 0
imul eax, edi, 0x3d
mov eax, dword [eax + 0x49fda1]
push eax
call sub.user32.dll_ShowWindow
mov al, byte [ebp + 8]
push eax
imul eax, edi, 0x3d
mov edx, dword [eax + 0x49fd89]
mov ecx, ebx
mov eax, esi
call fcn.0049a2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a8e2
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x6eddea
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.006ede69
jae 0x6eddf6
xor ecx, ecx
call fcn.006ede69
jae 0x6ede20
xor eax, eax
call fcn.006ede69
jae 0x6ede31
mov al, 0x10
call fcn.006ede69
adc al, al
jae 0x6ede12
jne 0x6ede5e
stosb byte es:[edi], al
jmp 0x6eddf7
call fcn.006ede75
dec ecx
loop 0x6ede3d
mov eax, ebp
call fcn.006ede73
jmp 0x6ede5f
lodsb al, byte [esi]
shr eax, 1
je 0x6ede85
adc ecx, 2
mov ebp, eax
jmp 0x6ede5f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.006ede73
cmp eax, 0x7d00
jae 0x6ede5d
cmp eax, 0x500
jae 0x6ede5e
cmp eax, 0x7f
ja 0x6ede5f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6eddf7
pop ebp
ret 8
Function at 0x4012a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], str.Windows_Example
mov dword [ebp - 0x60], sym.__Z15WindowProcedureP6HWND__jjl_16
mov dword [ebp - 0x64], 8
mov dword [ebp - 0x68], 0x30
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
sub esp, 8
mov dword [ebp - 0x50], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
sub esp, 8
mov dword [ebp - 0x3c], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadCursorA
sub esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [esp], 1
call sub.GDI32.dll_GetStockObject
sub esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call sub.USER32.dll_RegisterClassExA
sub esp, 4
test ax, ax
jne 0x40135f
mov dword [ebp - 0x70], 0
jmp 0x40144f
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x177
mov dword [esp + 0x18], 0x220
mov eax, 0x80000000
mov dword [esp + 0x14], eax
mov eax, 0x80000000
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], 0x401290
mov dword [esp + 4], str.Windows_Example
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 4], 0x1f5
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_LoadMenuA
sub esp, 8
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.USER32.dll_SetMenu
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x38]
mov dword [esp], eax
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
jne 0x401439
jmp 0x401449
lea eax, [ebp - 0x38]
mov dword [esp], eax
call sub.USER32.dll_DispatchMessageA
sub esp, 4
jmp 0x40140d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
leave
ret 0x10