joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5004ef
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x1d9], 0
jne 0x50052a
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x6401e8
call fcn.00402035
mov ecx, esi
call fcn.004fdff7
mov ecx, esi
call fcn.004f6c9f
mov ecx, esi
pop esi
add esp, 4
jmp fcn.004fbaa2
pop esi
pop ecx
ret
Function at 0x502f5b
Capabilities:
Reference sql statements

Disassembly:
push 0xf4
mov eax, 0x63818a
call fcn.0058c0ed
mov esi, ecx
mov eax, dword [esi + 0x334]
xor ebx, ebx
cmp dword [eax + 0xf10], 0xffffffff
mov dword [ebp - 4], ebx
je 0x503094
mov dword [ebp - 0x10], 0xffffff9d
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x18]
call fcn.004018a6
mov eax, dword [esi + 0x334]
push dword [eax + 0xf10]
lea eax, [ebp - 0x18]
push str.SELECT__flags__FROM__categories__WHERE__key____i
push eax
mov byte [ebp - 4], 1
call fcn.00401e49
mov edi, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x334]
push 0xffffffffffffffff
push edi
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
cmp eax, ebx
jne 0x503001
push dword [ebp - 0x14]
call fcn.004887a0
pop ecx
jmp 0x502ffc
push ebx
push dword [ebp - 0x14]
call fcn.00442db6
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.004887a0
add esp, 0xc
cmp eax, 0x65
jne 0x502fe5
push dword [ebp - 0x14]
call fcn.00477166
cmp dword [ebp - 0x10], 0xffffff9d
pop ecx
je 0x50307c
push ebx
mov ecx, esi
call fcn.0055c063
mov eax, dword [esi + 0x334]
mov ecx, dword [eax + 0xbac]
push ebx
push dword [eax + 0xf10]
push esi
call fcn.004c0218
mov ecx, dword [esi + 0x334]
call fcn.00409c36
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.502_desktop_sticky_stored
call fcn.00402035
mov ecx, dword [esi + 0x334]
call fcn.0040c8a2
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
push str.stored
call fcn.00402035
mov ecx, esi
call fcn.00500692
lea ecx, [edi - 0x10]
call fcn.00401493
jmp 0x5031aa
mov eax, dword [esi + 0x334]
or dword [eax + 0xf10], 0xffffffff
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00401493
push 0xf0
call fcn.0054c584
mov edi, eax
pop ecx
cmp edi, ebx
je 0x5030ae
mov ecx, edi
call fcn.0040d0cf
jmp 0x5030b0
xor edi, edi
mov ecx, dword [esi + 0x334]
push edi
call fcn.0041c1e5
lea eax, [ebp - 0x100]
push eax
mov ecx, esi
call fcn.004f8057
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040f015
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], bl
call fcn.0040c0c8
mov ecx, dword [esi + 0x334]
push ebx
push edi
call fcn.004164ab
mov ecx, dword [esi + 0x334]
call fcn.00408d83
push ebx
mov ecx, esi
mov dword [edi + 0xd8], eax
mov dword [edi + 0xdc], edx
call fcn.0055c063
mov ecx, esi
call fcn.004f24ef
mov ecx, esi
call fcn.004f055c
push eax
push dword [esi + 0x2f4]
mov eax, dword [esi + 0x334]
push dword [esi + 0x3f4]
mov ecx, dword [eax + 0xbac]
call fcn.004b5ccd
mov ecx, dword [esi + 0x334]
push edi
call fcn.0040b4b4
mov ecx, dword [esi + 0x334]
push edi
add ecx, 0x14e0
call fcn.0056542a
mov ecx, dword [esi + 0x334]
call fcn.00409c36
mov ecx, dword [esi + 0x334]
call fcn.0041669f
push esi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push str.501_closed_desktop_sticky
push eax
call fcn.00405a0e
mov ecx, dword [esi + 0x334]
add esp, 0xc
call fcn.0040c8a2
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00402e5b
mov ecx, esi
call fcn.00500692
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret 4
Function at 0x50430c
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xf0
mov eax, 0x6382b1
call fcn.0058c0ed
mov esi, ecx
push esi
lea ecx, [ebp - 0xfc]
call fcn.004ebd04
mov eax, dword [esi + 0x334]
and dword [ebp - 4], 0
mov edi, 0xbbc
add eax, edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00402e5b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401493
push 2
push esi
lea ecx, [ebp - 0xfc]
call fcn.004eba2b
lea ecx, [ebp - 0xfc]
call fcn.00566c09
cmp eax, 1
jne 0x5044ae
lea ecx, [ebp - 0x28]
call fcn.0040c432
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401dd7
push 0
push 0x40
lea ecx, [ebp - 0x28]
call fcn.0040bb17
cmp eax, 0xffffffff
je 0x5043c8
push 0x6401e8
lea ecx, [ebp - 0x24]
call fcn.00401e24
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401dd7
jmp 0x50440f
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00402e5b
mov ecx, dword [esi + 0x334]
lea eax, [ebp - 0x10]
push eax
call fcn.0040d19c
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
push 0x6401e8
lea ecx, [ebp - 0x20]
call fcn.00401e24
mov ecx, dword [esi + 0x334]
lea eax, [ebp - 0x34]
add ecx, edi
push eax
call fcn.00401dd7
mov ecx, esi
call fcn.004f0619
mov eax, dword [esi + 0x2b8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5044a6
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x2b0]
call fcn.00408cbc
mov ebx, dword [eax]
mov ecx, dword [esi + 0x334]
push 0
push ebx
add ecx, 0x14c4
call fcn.00565371
test eax, eax
je 0x5044a0
mov eax, dword [esi + 0x334]
push dword [eax + 0xfc4]
movzx eax, byte [eax + 0xfd4]
push eax
push 0
push 0x11
call edi
test ax, ax
setl al
movzx eax, al
push eax
push 0x10
call edi
test ax, ax
setl al
movzx eax, al
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.00503e9d
cmp dword [ebp - 0x10], 0
jne 0x50443a
lea ecx, [ebp - 0x28]
call fcn.0040c05d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.004a74ec
call fcn.0058c1c5
ret
Function at 0x50fe90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x50fea4
xor eax, eax
jmp 0x50febf
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00595b08
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x50fed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x50fee4
xor eax, eax
jmp 0x50feff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00595c87
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5116b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6ba0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x511753
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x511751
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00539650
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.005119f0
mov byte [ebp - 0x35], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.005396e0
mov al, byte [ebp - 0x35]
jmp 0x511769
jmp 0x511767
push str.Unable_to_load_resource_
mov eax, dword [ebp - 0x3c]
add eax, 0x44
push eax
call fcn.00594ca0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x53a210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x9ac6cdd7
je 0x53a22b
xor eax, eax
jmp 0x53a2ad
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx]
mov word [ebp - 8], ax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x53a256
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 9
jge 0x53a277
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
movzx edx, word [ebp - 8]
xor edx, ecx
mov word [ebp - 8], dx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
jmp 0x53a24d
movzx ecx, word [ebp - 8]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x14]
cmp ecx, eax
je 0x53a28a
xor eax, eax
jmp 0x53a2ad
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0xe]
test edx, edx
jle 0x53a2a4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xe]
cmp ecx, 0x9ec
jle 0x53a2a8
xor eax, eax
jmp 0x53a2ad
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x558bde
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x558c25
call fcn.0055da6c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x558c25
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x558c41
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00558756
mov esi, eax
test edi, edi
je 0x558c3f
test ebx, ebx
je 0x558c3f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x55c7c3
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x63b32b
call fcn.0058c0ed
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x55c7e8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x55c82e
lea ecx, [ebp - 0x10]
call fcn.00401a45
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427293
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401493
mov eax, esi
call fcn.0058c1c5
ret 8

Function at 0x5635cd
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8

Function at 0x566e99
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x566ebd
cmp dword [edi + 0x54], 0
jne 0x566ebd
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0055da6c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00566e5a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x570db7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x63c97c
call fcn.0058c0ed
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402035
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x570e19
call fcn.0055ce78
cmp eax, 1
jne 0x570e19
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x66f678
push eax
call fcn.00405a0e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401dd7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401493
mov eax, esi
call fcn.0058c1c5
ret 0x10

Function at 0x570e42
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x63c9a7
call fcn.0058c0ed
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402035
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x570ea4
call fcn.0055ce78
cmp eax, 1
jne 0x570ea4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x66f678
push eax
call fcn.00405a0e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401dd7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401493
mov eax, esi
call fcn.0058c1c5
ret 0x14

Function at 0x570ed0
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x63c9d2
call fcn.0058c0ed
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402035
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x570f32
call fcn.0055ce78
cmp eax, 1
jne 0x570f32
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x66f678
push eax
call fcn.00405a0e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401dd7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401493
mov eax, esi
call fcn.0058c1c5
ret 8

Function at 0x58c0de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6ba0d0]
jne 0x58c0e8
repz ret
jmp fcn.0059b11c
Function at 0x58f692
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58f6c3
call fcn.005976a0
mov dword [eax], esi
call fcn.0059768d
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00590ddd
add esp, 0x14
or eax, 0xffffffff
jmp 0x58f6fe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x58f6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005976b3
pop ecx
jmp 0x58f6be
test byte [ebp + 0xc], 0x80
je 0x58f6eb
and eax, 0xfffffffe
jmp 0x58f6ee
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x58f6d1
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5b3abc
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.005993bd
and dword [ebp - 4], 0
cmp dword [0x6c2a20], 0
mov ebx, eax
jne 0x5b3b6d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5b3c1e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5b3c1e
push eax
call fcn.0059934b
mov dword [esp], 0x67b708
push edi
mov dword [0x6c2a20], eax
call esi
push eax
call fcn.0059934b
mov dword [esp], 0x67b6f4
push edi
mov dword [0x6c2a24], eax
call esi
push eax
call fcn.0059934b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6c2a28], eax
call esi
push eax
call fcn.0059934b
pop ecx
mov dword [0x6c2a30], eax
test eax, eax
je 0x5b3b6d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0059934b
pop ecx
mov dword [0x6c2a2c], eax
mov eax, dword [0x6c2a2c]
cmp eax, ebx
je 0x5b3bc5
cmp dword [0x6c2a30], ebx
je 0x5b3bc5
push eax
call fcn.005993c6
push dword [0x6c2a30]
mov esi, eax
call fcn.005993c6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5b3bc5
test edi, edi
je 0x5b3bc5
call esi
test eax, eax
je 0x5b3bbc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5b3bbc
test byte [ebp - 0xc], 1
jne 0x5b3bc5
or dword [ebp + 0x10], 0x200000
jmp 0x5b3bfe
mov eax, dword [0x6c2a24]
cmp eax, ebx
je 0x5b3bfe
push eax
call fcn.005993c6
pop ecx
test eax, eax
je 0x5b3bfe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5b3bfe
mov eax, dword [0x6c2a28]
cmp eax, ebx
je 0x5b3bfe
push eax
call fcn.005993c6
pop ecx
test eax, eax
je 0x5b3bfe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6c2a20]
call fcn.005993c6
pop ecx
test eax, eax
je 0x5b3c1e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5b3c20
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5ca6b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x5ca6d5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x5ca6d5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5e5b70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x5e5bb2
mov ecx, dword [ebp + 8]
push ecx
call fcn.005e6690
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x5e5ba8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x5e5cce
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x5e5c8c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a0]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x5e5c7b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5e5bf1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a0]
mov eax, dword [edx]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5e5c15
xor al, al
jmp 0x5e5cce
cmp dword [ebp - 4], 2
jne 0x5e5c1d
jmp 0x5e5c7b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5e5c76
cmp dword [ebp - 4], 3
je 0x5e5c32
cmp dword [ebp - 4], 1
jne 0x5e5c76
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 8]
jl 0x5e5c76
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x120]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [eax + 8], edx
jmp 0x5e5bd7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x84], eax
jmp 0x5e5cc2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xcc
je 0x5e5cc2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x15
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.005e5ce0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5e5ce0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x5e5d18
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x190]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 8]
test eax, eax
je 0x5e5de5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x5e5dad
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5e5d73
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x194]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x5e5dab
xor al, al
jmp 0x5e5dff
jmp 0x5e5d2d
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x5e5d18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
neg eax
sbb eax, eax
neg eax
add eax, 0xcd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x620980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x6209fe
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0058ca40
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x6209d1
sub eax, ebx
jmp 0x6209d3
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x6209c2
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x6209f2
sub eax, ebx
jmp 0x6209f4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x6209e3
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x620ad2
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.00620720
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x620a49
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x620a5d
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x620986
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x620ad2
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x620aa1
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x620a84
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call fcn.0058d7c0
add esp, 0xc
add ebx, esi
pop esi
pop ebp
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x620ad2
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x620abb
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call fcn.0058d7c0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebp
pop ebx
ret