joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5279a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e73c
mov eax, dword fs:[0]
push eax
mov eax, 0x1410
call fcn.004a9210
mov eax, dword [0x7f206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x141c], esi
mov dword [ebp - 0x141c], esi
cmp edx, 0x11
ja case.default.0x5279e7
jmp dword [edx*4 + 0x527b68]
mov eax, 0x28
jmp 0x527a3d
mov eax, 5
jmp 0x527a3d
xor eax, eax
jmp 0x527a3d
mov eax, 0x1a
jmp 0x527a3d
mov eax, 0x23
jmp 0x527a3d
mov eax, 0x2e
jmp 0x527a3d
mov eax, 0x26
jmp 0x527a3d
mov eax, 0x2a
jmp 0x527a3d
mov eax, 0x1c
jmp 0x527a3d
mov eax, 0xd
jmp 0x527a3d
mov eax, 0xe
jmp 0x527a3d
mov eax, 0x27
push 0
push eax
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.default.0x5279e7
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x141c]
call fcn.0041d400
add esp, 4
mov dword [ebp - 4], 2
lea edx, [ebp - 0x141c]
mov ecx, esi
call fcn.00524830
mov ecx, dword [ebp - 0x141c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x527b4c
or eax, 0xffffffff
lock xadd dword [ecx], eax
test eax, eax
jne 0x527b4c
push ecx
call fcn.004a8172
add esp, 4
jmp 0x527b4c
xor eax, eax
mov word [ebp - 0x1418], ax
lea eax, [ebp - 0x1418]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1418]
push eax
lea ecx, [ebp - 0x141c]
call fcn.0041d400
add esp, 4
mov dword [ebp - 4], 0
jmp 0x527a73
xor eax, eax
mov word [ebp - 0x1418], ax
lea eax, [ebp - 0x1418]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x1418]
push eax
lea ecx, [ebp - 0x141c]
call fcn.0041d400
add esp, 4
mov dword [ebp - 4], 1
jmp 0x527a73
call fcn.004ff840
mov edx, eax
mov ecx, esi
call fcn.00502200
jmp 0x527b4c
xor edx, edx
call fcn.00502200
jmp 0x527b4c
mov dword [esi], 0
mov dword [esi], 0x7a135c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7e5e
mov esp, ebp
pop ebp
ret
Function at 0x5283d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e815
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x528428
mov edx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00418480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x528428
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x5298b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60eb01
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7f206c]
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 eax, dword [eax]
mov dword [esi], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x5298f4
mov eax, 1
lock xadd dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x7a135c
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004fe570
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 0x529dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60eb6a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x7f206c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], esi
call fcn.004138e0
mov ecx, dword [edi]
mov ebx, eax
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
push eax
mov ecx, dword [ecx + 0x30]
call ecx
add esp, 4
mov dword [esi], 0x7a135c
mov eax, esi
jmp 0x529e67
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a7e5e
mov esp, ebp
pop ebp
ret
Function at 0x529e90
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60eb9f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x20]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x529f84
lea ecx, [edi + 0x101]
mov al, 1
xchg byte [ecx], al
lea ecx, [edi + 0x108]
push ecx
call fcn.0041de80
lea ecx, [edi + 0x98]
call fcn.004fef70
mov eax, dword [ebp + 8]
test eax, eax
je 0x529f0b
push eax
mov ecx, edi
call fcn.00512a20
mov eax, dword [esi]
test eax, eax
je 0x529f84
push str.___killing_thread_by_force___
lea ecx, [ebp - 0x10]
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x529f3a
lea eax, [ebp - 0x10]
push eax
call fcn.00521350
jmp 0x529f42
lea ecx, [ebp - 0x10]
call fcn.004ffbb0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x529f64
or eax, 0xffffffff
lock xadd dword [ecx], eax
test eax, eax
jne 0x529f64
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x529f75
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg dword [esi], eax
xor ecx, ecx
lea eax, [edi + 0x10]
xchg dword [eax], ecx
xor bl, bl
jmp 0x529f86
mov bl, 1
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x52b2c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ee4e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x28]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [ebp - 0x2c], edi
call esi
mov eax, dword [ebp - 0x14]
add eax, 0x6c
push 0x801030
mov dword [ebp - 0x1c], eax
call esi
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 8], ebx
jle 0x52b32e
cmp dword [0x800f7c], ebx
je 0x52b327
push esi
call fcn.00422dc0
mov dword [esi + 8], 0
push 0x801030
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x8e], 0
jne 0x52b3cf
add eax, 0x78
mov esi, 0x7a135c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esi
mov ebx, 1
mov dword [ebp - 0x1c], ebx
cmp dword [eax], esi
je 0x52b3d2
push esi
push dword [eax]
call fcn.0041c700
add esp, 8
test eax, eax
je 0x52b3d2
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 2
call fcn.00418480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], bl
test al, 0x10
je 0x52b398
cmp eax, 0xffffffff
jne 0x52b3d2
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
call fcn.00523ef0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], 3
call fcn.00527c40
mov ebx, 7
mov eax, dword [eax]
cmp byte [eax], 0
jne 0x52b3d2
mov byte [ebp - 0xd], 0
jmp 0x52b3d6
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0xd], 1
or ecx, 0xffffffff
test bl, 4
je 0x52b405
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffb
add edx, 0xfffffff8
cmp edx, 0x7a1354
je 0x52b405
mov eax, ecx
lock xadd dword [edx], eax
test eax, eax
jne 0x52b405
push edx
call fcn.004a8172
add esp, 4
or ecx, 0xffffffff
test bl, 2
je 0x52b42e
mov edx, dword [ebp - 0x28]
and ebx, 0xfffffffd
add edx, 0xfffffff8
cmp edx, 0x7a1354
je 0x52b42e
mov eax, ecx
lock xadd dword [edx], eax
test eax, eax
jne 0x52b42e
push edx
call fcn.004a8172
add esp, 4
mov dword [ebp - 4], 0
test bl, 1
je 0x52b459
add esi, 0xfffffff8
cmp esi, 0x7a1354
je 0x52b459
or eax, 0xffffffff
lock xadd dword [esi], eax
test eax, eax
jne 0x52b459
push esi
call fcn.004a8172
add esp, 4
cmp byte [ebp - 0xd], 0
je 0x52b463
xor bl, bl
jmp 0x52b47f
mov eax, dword [ebp - 0x14]
mov ecx, eax
cmp dword [eax + 0x94], 2
jne 0x52b478
call fcn.0052a8c0
jmp 0x52b47d
call fcn.0052a3f0
mov bl, al
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52b6b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ef0b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x98], 0
je 0x52b710
push 8
call fcn.004a7e6f
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x98]
push 0xffffffffffffffff
mov dword [esi], ecx
call fcn.004ff5d0
mov byte [esi + 4], al
jmp 0x52b712
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x52b72d
cmp byte [esi + 4], 0
jne 0x52b72d
xor bl, bl
jmp 0x52b897
mov eax, dword [edi + 0x78]
lea esi, [edi + 0x78]
cmp byte [eax], 0
je 0x52b75b
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00418480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
je 0x52b75b
mov al, 1
jmp 0x52b75d
xor al, al
test al, al
je 0x52b88f
push esi
lea ecx, [ebp - 0x58]
call fcn.005288d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
cmp byte [eax], 0
jne 0x52b8b3
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x10]
push 4
push ecx
lea ecx, [ebp - 0x58]
call dword [eax + 0xc]
cmp eax, 4
jne 0x52b8b3
movzx edx, byte [ebp - 0xd]
movzx eax, byte [ebp - 0xe]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x10]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
cmp edx, 0x50525043
jne 0x52b86a
lea eax, [ebp - 0x58]
mov dword [ebp - 0x38], vtable.juce::SubregionStream.0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push 0
push 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
call fcn.0051a650
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x98]
call fcn.005042d0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.0052a5c0
lea ecx, [ebp - 0x98]
mov bl, al
call fcn.00504270
cmp byte [ebp - 0x30], 0
mov dword [ebp - 0x38], vtable.juce::SubregionStream.0
jne 0x52b847
mov dword [ebp - 0x34], 0
jmp 0x52b87f
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
test ecx, ecx
je 0x52b87f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x52b87f
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x52b87f
cmp edx, 0x504f5250
jne 0x52b8b3
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0052a5c0
mov bl, al
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00528870
test bl, bl
je 0x52b8bf
mov bl, 1
mov byte [edi + 0x9c], bl
lea ecx, [ebp - 0x14]
call fcn.00421ae0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00528870
mov ecx, edi
call fcn.0052ae90
test al, al
jne 0x52b88f
xor bl, bl
jmp 0x52b891
Function at 0x5307c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f73f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.004104b0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xe0]
test ecx, ecx
je 0x53082e
mov al, byte [ecx + 0xd]
test al, al
jne 0x530829
mov al, byte [ecx + 0xc]
test al, al
je 0x530829
mov eax, dword [ecx + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
jmp 0x53084f
or edi, 0xffffffff
jmp 0x53084f
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x53084d
push dword [esi + 0xf0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00500240
mov edi, eax
jmp 0x53084f
xor edi, edi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [ebp - 0x10]
mov ebx, eax
mov ecx, esi
call fcn.005127d0
mov ecx, dword [esi + 0xd8]
xor edx, edx
test ecx, ecx
jle 0x53088c
mov eax, dword [esi + 0xd0]
nop word [eax + eax]
cmp dword [eax], ebx
je 0x5308a6
inc edx
add eax, 8
cmp edx, ecx
jl 0x530880
xor eax, eax
xchg dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
add dword [eax + 4], 0xffffffff
jne 0x53091d
cmp edx, dword [esi + 0xd8]
lea ebx, [esi + 0xd0]
jae 0x53090d
mov eax, dword [ebx]
lea ecx, [eax + edx*8]
mov eax, dword [ebx + 8]
sub eax, edx
lea eax, [eax*8 - 8]
push eax
lea eax, [ecx + 8]
push eax
push ecx
call fcn.004bfcc0
mov eax, dword [ebx + 8]
add esp, 0xc
mov dword [ebp + 0xc], eax
lea edx, [eax - 1]
xor eax, eax
lea ecx, [edx + edx]
mov dword [ebx + 8], edx
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [ebx + 4]
cmp ecx, eax
jle 0x53090d
mov eax, 8
cmp dword [ebp + 0xc], eax
cmovle edx, eax
cmp edx, ecx
jge 0x53090d
push edx
mov ecx, ebx
call fcn.0041bad0
lea ecx, [esi + 4]
call fcn.004fef70
lea ecx, [esi + 0x64]
call fcn.004fef70
xor ecx, ecx
xchg dword [esi], ecx
jmp 0x530890

Function at 0x532b80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x7a3fa4
push 0x7a3fb4
push eax
lea ecx, [ebp - 8]
call fcn.004241a0
add esp, 0xc
mov ebx, 0xdc00
mov edi, 0x7ff
mov esi, dword [eax]
movzx eax, word [esi]
lea ecx, [eax - 0xd800]
cmp ecx, edi
ja 0x532bd5
movzx edx, word [esi + 2]
cmp dx, bx
jb 0x532bd5
lea eax, [edx - 0xdc00]
shl ecx, 0xa
or eax, ecx
push eax
call fcn.004c3d0d
add esp, 4
test eax, eax
je 0x532bfc
movzx eax, word [esi]
add esi, 2
add eax, 0x2800
cmp ax, di
ja 0x532bb4
cmp word [esi], bx
jb 0x532bb4
add esi, 2
jmp 0x532bb4
mov ecx, dword [ebp - 4]
push esi
call fcn.0041d400
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x556bf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, ecx
push ebx
push esi
push edi
mov esi, dword [edx + 0x4c]
mov ebx, 0x100
mov edi, dword [edx + 0x1a8]
cmp esi, 1
mov dword [ebp - 0xc], edx
sete al
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov byte [edi + 0x1c], al
mov eax, dword [edx + 4]
push dword [edx + 0x64]
mov ecx, dword [eax + 8]
mov eax, 0x2fe
cmovne eax, ebx
push eax
push 1
push edx
call ecx
mov ecx, dword [ebp - 0xc]
xor ebx, ebx
mov dword [edi + 0x18], eax
add esp, 0x10
mov eax, dword [edi + 0x14]
mov dword [ebp - 8], ebx
cmp dword [ecx + 0x64], ebx
jle 0x556d1a
nop dword [eax]
mov ecx, dword [edi + ebx*4 + 0x20]
cdq
idiv ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
cmp esi, 1
jne 0x556c6c
mov eax, dword [edi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [edi + 0x18]
lea edi, [ecx*2 - 2]
mov eax, dword [eax + ebx*4]
xor ebx, ebx
mov dword [ebp - 4], eax
lea eax, [ecx + 0xfe]
cdq
idiv edi
xor esi, esi
mov edx, eax
nop dword [eax + eax]
cmp esi, edx
jle 0x556cb4
imul eax, ebx, 0x1fe
add ecx, 0xfe
add ecx, eax
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x556ca2
mov eax, dword [ebp - 0x10]
movzx eax, al
movzx ecx, bl
imul ecx, eax
mov eax, dword [ebp - 4]
mov byte [esi + eax], cl
inc esi
mov ecx, dword [ebp - 0x14]
cmp esi, 0xff
jle 0x556c90
mov esi, dword [ebp - 0x18]
cmp esi, 1
jne 0x556d01
mov ebx, eax
mov ecx, esi
lea edx, [ebx - 1]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x556ce1
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [eax + 0x64]
mov eax, dword [ebp - 0x10]
jl 0x556c50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x565610
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0xcc
je 0x56563a
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
cmp byte [eax + 8], 0
je 0x5656c3
mov ecx, dword [esi + 0x78]
lea ebx, [esi + 0x78]
nop dword [eax]
cmp ecx, dword [esi + 0x60]
jae 0x565696
mov eax, dword [esi + 8]
mov edi, ecx
test eax, eax
je 0x565677
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
mov edi, dword [ebx]
add esp, 4
mov eax, dword [esi + 0x184]
push 0
push ebx
push 0
mov eax, dword [eax + 4]
push esi
call eax
mov ecx, dword [ebx]
add esp, 0x10
cmp ecx, edi
je 0x5656d9
cmp ecx, dword [esi + 0x60]
jb 0x565655
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
xor ecx, ecx
mov eax, dword [esi + 0x180]
add esp, 8
cmp byte [eax + 8], cl
jne 0x565650
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x56ef20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610783
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x10], xmm1
mov ecx, dword [ecx]
test ecx, ecx
jne 0x56ef59
xor eax, eax
xor edx, edx
jmp 0x56ef5f
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
push 2
push 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x2c]
sub eax, 1
je 0x56f07f
sub eax, 1
je 0x56efec
sub eax, 1
jne 0x56f07f
mov edi, dword [ebp - 0x1c]
xor esi, esi
test edi, edi
jle 0x56f07f
mov eax, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
xor edx, edx
imul ecx, esi
add ecx, dword [ebp - 0x34]
test eax, eax
jle 0x56efe2
movzx eax, byte [ecx]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [ecx], al
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp edx, eax
jl 0x56efc0
mov edi, dword [ebp - 0x1c]
inc esi
cmp esi, edi
jl 0x56efb1
jmp 0x56f07f
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test edx, edx
jle 0x56f07f
movss xmm2, dword [0x7b9b30]
mov eax, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x10]
nop dword [eax]
mov esi, dword [ebp - 0x28]
xor ebx, ebx
imul esi, ecx
add esi, dword [ebp - 0x34]
test eax, eax
jle 0x56f077
movaps xmm0, xmm1
mov edi, 1
mulss xmm0, xmm2
cvttss2si eax, xmm0
sub edi, eax
mov edx, dword [esi]
inc ebx
mov ecx, edx
mov eax, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edi
and eax, 0xffff00ff
imul eax, edi
shr edx, 8
and edx, 0xff00ff
imul edx, edi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov dword [esi], ecx
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp ebx, eax
jl 0x56f031
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jl 0x56f010
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x56f08c
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57c0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610eca
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
js 0x57c20a
mov ebx, dword [edx]
test ebx, ebx
jle 0x57c1f4
push dword [ebp + 8]
lea esi, [edx + 4]
lea esi, [esi + ebx*8]
lea ecx, [edx + 4]
mov dword [ebp - 0x20], esi
mov eax, esi
mov dword [ebp - 0x10], ecx
sub eax, ecx
mov edx, esi
sar eax, 3
push eax
call fcn.0043bab0
mov edx, dword [ebp - 0x10]
add esp, 8
xor edi, edi
mov ecx, edx
cmp edx, esi
jae 0x57c1e6
nop word [eax + eax]
add edi, dword [ecx + 4]
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp - 0x1c], eax
cmp ecx, esi
jae 0x57c18f
nop
cmp dword [ecx], eax
jne 0x57c18f
add edi, dword [ecx + 4]
dec ebx
add ecx, 8
cmp ecx, esi
jb 0x57c180
mov eax, edi
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test eax, eax
je 0x57c1ce
cmp byte [ebp + 8], 0
je 0x57c1b7
mov esi, 0xff
jmp 0x57c1ce
and esi, 0x1ff
mov eax, esi
cmp esi, 0x100
jb 0x57c1ce
mov esi, 0x1ff
sub esi, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x20]
mov dword [edx], eax
add edx, 8
mov dword [ebp - 0x10], edx
cmp ecx, esi
jb 0x57c170
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov dword [edx - 4], 0
mov edx, eax
sub dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x18]
lea edx, [edx + eax*4]
mov dword [ebp - 0x14], edx
jns 0x57c131
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4