joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58c800
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5eb4e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005ddc8c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xe3d138
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xe3d080
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x5ed0f4]
push eax
mov ecx, edi
call fcn.005e332b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005e4847
test eax, eax
je 0x58c91c
mov ecx, dword [esp + 0x3c]
call fcn.005e3358
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x5ed654]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x58c8e0
push edi
mov ecx, esi
call fcn.005e09ba
mov ecx, esi
call fcn.0058cac0
cmp dword [esp + 0x38], 1
jne 0x58c915
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005e0af5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x58eb00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x58eb33
push esi
call fcn.0059ce10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x58eb2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x58ebb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x58eba2
mov eax, dword [esi + 8]
test eax, eax
je 0x58eb57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x58eb9e
cmp eax, 2
je 0x58eba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x58eb4a
cmp eax, 3
je 0x58eb7d
cmp eax, 1
jne 0x58eb4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x58eb4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x58eb4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0058ebe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x58ebc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0058ebe0
add esp, 4
pop esi
ret
Function at 0x5ab250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5eba30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005aae00
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005aae80
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005aae80
lea ecx, [esi + 0xc]
call fcn.005dc63f
lea ecx, [esi + 0x10]
call fcn.005dc63f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005ac410
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005ac410
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005ac410
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005dc6b4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005dc6b4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5b6510
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xe96f2c]
xor edx, edx
cmp eax, edx
jne 0x5b6536
xor eax, eax
mov byte [eax + 0xe96e2c], al
inc eax
cmp eax, 0x100
jl 0x5b651e
mov dword [0xe96f2c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xe96e2c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5b65c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5b659a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5b6568
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5b6640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5b6693
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5b667a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5bd030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ebe6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005bd950
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xe3ffb4
call fcn.005dc3f5
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5bd0c3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005dc3f5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5bd0bc
push 0
mov ecx, eax
call fcn.005b4150
mov dword [esi + 0xc], eax
jmp 0x5bd0c5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5bd0c5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x41e2c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437598
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x44d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.0040a88f
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x43847c
push eax
call fcn.0040bea5
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.0040c27c
add esp, 0xc
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00401350
mov dword [esi], vtable.boost::program_options::detail::utf8_codecvt_facet.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42dea7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042dd1d
Function at 0x1000390b
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10013040]
xor eax, ebp
mov dword [ebp - 4], eax
dec ecx
cmp ecx, 7
ja case.default.0x10003924
jmp dword [ecx*4 + 0x10003a6f]
xor byte [0x52c9ee], 1
jmp case.default.0x10003924
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
jmp case.default.0x10003924
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp case.default.0x10003924
mov byte [0x53e94c], 1
mov byte [0xbab318], 0
jmp case.default.0x10003924
mov eax, 0x15f90
mov dword [0x5b8e55], eax
mov dword [0x5b8eb0], eax
jmp case.default.0x10003924
mov dword [0x53e170], 0x90909090
mov byte [0x53e174], 0x90
jmp case.default.0x10003924
and dword [0x736f88], 0
mov edx, 0x90909090
push edi
mov dword [0x555854], edx
mov edi, 0x5557cf
mov byte [0x555858], 0x90
mov eax, edx
mov dword [0xc2b9cc], 0x3eb3b675
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
jmp case.default.0x10003924
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10014070]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10014134]
cmp eax, dword [ecx + 4]
jle 0x10003a12
mov esi, 0x10014134
push esi
call fcn.10008d14
cmp dword [0x10014134], 0xffffffff
pop ecx
jne 0x10003a12
xor ecx, ecx
call fcn.100076d6
push esi
mov dword [0x10014130], eax
call fcn.10008cc3
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
mov eax, dword [0x10014130]
push 0x40
push 0x14
add eax, 0x5cf2c
push eax
call esi
mov eax, dword [0x10014130]
mov edx, 0x90909090
lea ecx, [eax + 0x5cf2c]
mov dword [ecx], edx
mov byte [eax + 0x5cf30], 0x90
mov dword [eax + 0x5cf39], edx
mov byte [eax + 0x5cf3d], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x14
push ecx
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008c77
leave
ret
Function at 0x100039cd
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10013040]
xor eax, ebp
mov dword [ebp - 4], eax
dec ecx
cmp ecx, 7
ja case.default.0x10003924
jmp dword [ecx*4 + 0x10003a6f]
xor byte [0x52c9ee], 1
jmp case.default.0x10003924
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
jmp case.default.0x10003924
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp case.default.0x10003924
mov byte [0x53e94c], 1
mov byte [0xbab318], 0
jmp case.default.0x10003924
mov eax, 0x15f90
mov dword [0x5b8e55], eax
mov dword [0x5b8eb0], eax
jmp case.default.0x10003924
mov dword [0x53e170], 0x90909090
mov byte [0x53e174], 0x90
jmp case.default.0x10003924
and dword [0x736f88], 0
mov edx, 0x90909090
push edi
mov dword [0x555854], edx
mov edi, 0x5557cf
mov byte [0x555858], 0x90
mov eax, edx
mov dword [0xc2b9cc], 0x3eb3b675
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
jmp case.default.0x10003924
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10014070]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10014134]
cmp eax, dword [ecx + 4]
jle 0x10003a12
mov esi, 0x10014134
push esi
call fcn.10008d14
cmp dword [0x10014134], 0xffffffff
pop ecx
jne 0x10003a12
xor ecx, ecx
call fcn.100076d6
push esi
mov dword [0x10014130], eax
call fcn.10008cc3
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
mov eax, dword [0x10014130]
push 0x40
push 0x14
add eax, 0x5cf2c
push eax
call esi
mov eax, dword [0x10014130]
mov edx, 0x90909090
lea ecx, [eax + 0x5cf2c]
mov dword [ecx], edx
mov byte [eax + 0x5cf30], 0x90
mov dword [eax + 0x5cf39], edx
mov byte [eax + 0x5cf3d], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x14
push ecx
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008c77
leave
ret

Function at 0x10003a8f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
test ecx, ecx
jne 0x10003ab5
mov eax, dword [0x100140c4]
xor esi, esi
inc esi
dec eax
cmp eax, esi
jb 0x10003ab3
mov ecx, esi
call fcn.1000390b
mov eax, dword [0x100140c4]
inc esi
dec eax
cmp esi, eax
jbe 0x10003aa1
pop esi
ret
pop esi
jmp fcn.1000390b
Function at 0x1000430a
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xc
mov eax, 0x1000a276
call fcn.10009cae
xor ecx, ecx
call fcn.100076d6
test eax, eax
je 0x100043d3
push 0x28
mov dword [ebp - 0x10], 0x747eb0
call fcn.10008c85
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.10005e68
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
lea ecx, [eax + 0xc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
call fcn.1000457d
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10004367
call fcn.10001292
push 0x28
call fcn.10008c85
mov ebx, eax
mov dword [ebp - 0x14], ebx
xor ecx, ecx
lea esi, [ebx + 0xc]
inc ecx
mov edi, ebx
mov dword [ebp - 4], ecx
xor eax, eax
push 0x53bee0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov ecx, esi
mov dword [ebx], vtable.std::_Ref_count_obj2_class_hook_void____cdecl___void___void____cdecl___void___.0
call fcn.100068f2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call fcn.100045b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100043ba
call fcn.10001292
push 0
push 0x40
push 0x4f3000
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.10003abb
mov eax, 0x100140be
call fcn.10009c8b
ret

Function at 0x10004eb6
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edi + edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x10004ec3
mov eax, dword [ecx + 0x18]
pop edi
and eax, esi
pop esi
ret 4

Function at 0x10005068
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x10005074
pop esi
mov eax, edx
ret 4

Function at 0x10005b65
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10013040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 5
pop edx
mov esi, ecx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 8]
push ecx
push 0x40
mov eax, dword [esi]
push edx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 8]
call fcn.10005198
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
push eax
push dword [esi + 8]
push dword [esi]
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.10005e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10008c77
leave
ret
Function at 0x10005bc5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10013040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 5
pop edi
mov esi, ecx
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov eax, dword [esi]
push edi
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
call fcn.10005198
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
mov byte [ebp - 0xc], 0xe9
push edi
mov eax, dword [eax + 0x1c]
sub eax, dword [esi]
sub eax, edi
mov dword [ebp - 0xb], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esi + 0xc]
add esp, 0xc
sub edx, dword [esi + 8]
cmp edx, edi
jbe 0x10005c3f
mov eax, dword [esi]
lea ecx, [eax + 5]
sub eax, ecx
add eax, edx
push eax
push 0x90
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10005e30
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10008c77
leave
ret
Function at 0x401820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x886
mov word [ebp - 4], ax
mov dword [ebp - 8], 0x6b86
cmp dword [ebp - 8], 0x5e3e
jbe 0x4018ba
mov dword [ebp + 8], 0xb66a
movzx ecx, word [ebp - 4]
add ecx, 0x8fb
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
sub edx, 0xb90
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
and eax, 0x4d0
mov word [ebp - 4], ax
mov ecx, dword [ebp + 8]
shl ecx, 0x19
mov dword [ebp + 8], ecx
movzx edx, word [ebp - 4]
xor edx, 0xaf0
mov word [ebp - 4], dx
mov eax, dword [ebp + 8]
or eax, 0x412b
mov dword [ebp + 8], eax
mov byte [ebp + 0xc], 0xb8
mov ecx, dword [ebp - 8]
sub ecx, 0x55
mov dword [ebp - 8], ecx
movzx edx, byte [ebp + 0xc]
sar edx, 2
mov byte [ebp + 0xc], dl
movzx eax, word [ebp - 4]
sub eax, 0x718
mov word [ebp - 4], ax
jmp 0x401836
mov eax, 0xc2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4018d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0xfd
mov dword [ebp - 8], 0xe1d5
cmp dword [ebp - 8], 0xf213
jae 0x401944
movzx eax, byte [ebp - 1]
add eax, 0x26
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
sub ecx, 0x65
mov byte [ebp - 1], cl
mov edx, dword [ebp - 8]
add edx, 0x4d
mov dword [ebp - 8], edx
movzx eax, byte [ebp - 1]
and eax, 0x4e
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
xor ecx, 0x53
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
or edx, 0x61
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
sar eax, 3
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
shl ecx, 1
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
sub edx, 0x78
mov byte [ebp - 1], dl
jmp 0x4018e1
mov eax, 0xce
mov esp, ebp
pop ebp
ret
Function at 0x49f890
Capabilities:
Check for software breakpoints
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x50], 0x6c9d
mov eax, 0x959
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x50]
sub ecx, 0x2d96
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], 0x3974
mov edx, 0x5da
mov word [ebp - 0x64], dx
lea eax, [ebp - 0x64]
mov dword [ebp - 8], eax
movsx ecx, word [ebp - 0x64]
add ecx, 0x5ae
mov edx, dword [ebp - 8]
movsx eax, word [edx]
cmp ecx, eax
je 0x49f940
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ecx
movzx edx, word [ebp - 0x14]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x68], 0x2d0
je 0x49f91c
cmp dword [ebp - 0x68], 0xcb9
je 0x49f8fd
jmp 0x49f93b
mov eax, dword [ebp - 0x50]
and eax, 0x6535
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 8]
movsx edx, word [ecx]
movsx ecx, word [ebp - 0x64]
sar edx, cl
mov eax, dword [ebp - 8]
mov word [eax], dx
jmp 0x49f93b
movzx ecx, byte [ebp + 0xc]
push ecx
movzx edx, byte [ebp + 8]
push edx
call fcn.0049f890
add esp, 8
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.COMCTL32.dll_MakeDragList]
mov dword [ebp - 0x54], eax
jmp 0x49f9d6
movzx ecx, word [ebp - 0x14]
cmp ecx, 0xf23
jne 0x49f9d6
mov byte [ebp + 0xc], 0x6c
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
movzx ecx, word [ebp - 0x14]
or eax, ecx
mov edx, dword [ebp - 0x18]
mov word [edx], ax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x6c], al
cmp byte [ebp - 0x6c], 0xcc
je 0x49f974
jmp 0x49f9c4
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
mov dword [ebp - 0xc], eax
movzx edx, byte [ebp + 0xc]
push edx
movzx eax, byte [ebp + 8]
push eax
call fcn.0049f890
add esp, 8
movsx ecx, word [ebp - 0x64]
shl ecx, 8
mov edx, dword [ebp - 8]
mov word [edx], cx
push 0xf4
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.COMCTL32.dll_DrawInsert]
mov edx, dword [ebp - 8]
movsx eax, word [edx]
xor eax, 0xb5
mov word [ebp - 0x64], ax
jmp 0x49f9d6
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
movzx eax, word [ebp - 0x14]
sub edx, eax
mov ecx, dword [ebp - 0x18]
mov word [ecx], dx
lea edx, [ebp - 0x50]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
add ecx, 0x28f
mov word [ebp - 0x14], cx
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
and eax, 0xcfa
mov word [ebp - 0x14], ax
movsx ecx, word [ebp - 0x64]
sub ecx, 0x3f7
mov edx, dword [ebp - 8]
mov word [edx], cx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 0x5c]
add eax, 0xd6
mov dword [ebp - 0x5c], eax
mov byte [ebp + 8], 0x43
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
cmp dword [ebp - 0x5c], 0x6fca
jbe 0x49f9dc
mov eax, 0x73
mov esp, ebp
pop ebp
ret
Function at 0x4a20c3
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.004a0faa
and dword [ebp - 4], 0
cmp dword [0x4abc48], 0
mov ebx, eax
jne 0x4a2174
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4a2225
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4a2225
push eax
call fcn.004a0f38
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4abc48], eax
call esi
push eax
call fcn.004a0f38
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4abc4c], eax
call esi
push eax
call fcn.004a0f38
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4abc50], eax
call esi
push eax
call fcn.004a0f38
pop ecx
mov dword [0x4abc58], eax
test eax, eax
je 0x4a2174
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a0f38
pop ecx
mov dword [0x4abc54], eax
mov eax, dword [0x4abc54]
cmp eax, ebx
je 0x4a21cc
cmp dword [0x4abc58], ebx
je 0x4a21cc
push eax
call fcn.004a0fb3
push dword [0x4abc58]
mov esi, eax
call fcn.004a0fb3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4a21cc
test edi, edi
je 0x4a21cc
call esi
test eax, eax
je 0x4a21c3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a21c3
test byte [ebp - 0xc], 1
jne 0x4a21cc
or dword [ebp + 0x10], 0x200000
jmp 0x4a2205
mov eax, dword [0x4abc4c]
cmp eax, ebx
je 0x4a2205
push eax
call fcn.004a0fb3
pop ecx
test eax, eax
je 0x4a2205
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4a2205
mov eax, dword [0x4abc50]
cmp eax, ebx
je 0x4a2205
push eax
call fcn.004a0fb3
pop ecx
test eax, eax
je 0x4a2205
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4abc48]
call fcn.004a0fb3
pop ecx
test eax, eax
je 0x4a2225
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a2227
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a3f58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4aa008]
jne 0x4a3f62
repz ret
jmp fcn.004a5685
Function at 0x404446
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0042ee00
add esp, 0xc
push 0x200
lea eax, [ebp - 0x404]
push eax
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x404]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x404495
sub eax, ecx
push esi
sar eax, 1
lea esi, [edi + 0x8c]
lea ecx, [ebp - 0x404]
call fcn.00401fe9
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0042cb0b
leave
ret