joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51f531
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi], 0x1003f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [ebp + 8]
jne 0x51f554
push esi
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov al, 1
jmp 0x51f59d
push edi
push dword [ebp + 8]
push 0
push 0x4a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x51f57b
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x51f57f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x51f59c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne al
pop edi
pop esi
pop ebp
ret

Function at 0x51f798
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x51f7c8
xor al, al
jmp 0x51f822
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x51f815
push 0xffffffffffffffff
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x418]
push ebx
push edi
call fcn.0051f8d7
add esp, 0x14
test al, al
je 0x51f819
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x51f7e1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret

Function at 0x51f8aa
Capabilities:
Access peb ldr_data

Disassembly:
push 8
push 0x8b7548
call fcn.006fffb0
push 0x7bc26c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x51f850
xor al, al
jmp 0x51f89a
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0x14
mov esi, dword [edi]
cmp esi, edi
je 0x51f891
movzx eax, word [esi + 0x1c]
push eax
push dword [esi + 0x20]
push dword [esi + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051f8d7
add esp, 0x14
test al, al
je 0x51f891
mov esi, dword [esi]
jmp 0x51f865
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051f629
pop ecx
pop ecx
test al, al
jne 0x51f8d5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051f798
pop ecx
pop ecx
test al, al
jne 0x51f8d5
pop ebp
jmp 0x51f831
pop ebp
ret
Function at 0x51fab4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebx], esi
cmp word [esi], ax
jne 0x51fb7f
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x51fb7f
lea eax, [edi + 0x18]
push eax
call fcn.0051f5fd
pop ecx
test eax, eax
je 0x51fb7f
mov eax, dword [edi + 0x50]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x220], eax
mov eax, 0xb74f
cmp word [esi + 0x38], ax
jne 0x51fb39
mov eax, 0x2d98
cmp word [esi + 0x3a], ax
jne 0x51fb39
movzx ecx, word [esi + 0x36]
movzx eax, word [esi + 0x34]
shl ecx, 0x10
add eax, ecx
mov dword [ebx + 0x224], eax
je 0x51fb39
imul eax, eax, 0xfdca75bb
mov dword [ebx + 0x224], eax
and dword [ebp + 8], 0
lea eax, [ebp + 0xc]
and dword [ebp + 0xc], 0
push eax
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.0051f9a4
add esp, 0xc
test al, al
je 0x51fb7b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x51fb7b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x51fb7b
cmp eax, 0x1c
jb 0x51fb7b
push ebx
push eax
lea eax, [ecx + esi]
push eax
push esi
call fcn.0051fa16
add esp, 0x10
mov al, 1
jmp 0x51fb81
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x521529
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0x234
mov eax, 0x7a6069
call fcn.006fee7b
mov esi, ecx
push 0
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x52153a
jns 0x5215bb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
je 0x5215bb
push str.error_reading_from_notification_pipe:__s
push 0
push 0x7b6c78
push str.Network
push 4
lea ecx, [ebp - 0x23c]
call fcn.0050fae2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
push eax
mov dword [ebp - 0x240], esi
call fcn.00520f1e
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 1
call fcn.00522874
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.00523ace
push 2
pop eax
jmp 0x5215bd
xor eax, eax
call fcn.006fee25
ret

Function at 0x52341c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x523442
mov ecx, 0x2000
test ecx, eax
jne 0x523442
or eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret
Function at 0x523640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
push eax
call fcn.005263d2
add esp, 0xc
test eax, eax
jg 0x52367f
call fcn.00727de3
mov dword [eax], 0x26
or eax, 0xffffffff
jmp 0x5236e1
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00732d29
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x5236d1
call fcn.00727de3
cmp dword [eax], 2
je 0x5236de
call fcn.00727de3
cmp dword [eax], 0x14
je 0x5236de
call fcn.00727de3
cmp dword [eax], 0x11
je 0x5236de
push 0
push 1
call fcn.00523444
lea eax, [ebp - 0x20c]
push eax
call fcn.00732d29
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x5236de
lea eax, [ebp - 0x20c]
push eax
call fcn.0052341c
pop ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fedff
leave
ret
Function at 0x5262e6
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx], 0
and dword [ecx + 4], 0
mov dword [ecx + 8], 0x6a09e667
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0x3c6ef372
mov dword [ecx + 0x14], 0xa54ff53a
mov dword [ecx + 0x18], 0x510e527f
mov dword [ecx + 0x1c], 0x9b05688c
mov dword [ecx + 0x20], 0x1f83d9ab
mov dword [ecx + 0x24], 0x5be0cd19
ret

Function at 0x532c27
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
add ebx, esi
push edi
mov edi, dword [ebp + 8]
movzx edx, al
add edi, esi
and edx, 1
test esi, esi
je 0x532c60
dec ebx
movzx eax, al
movzx ecx, byte [ebx]
xor ecx, eax
mov al, byte [ebp + 0x14]
add edx, ecx
dec edi
mov byte [edi], dl
shr edx, 8
sub esi, 1
jne 0x532c47
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x53963a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
cmp edx, ebx
je 0x5396c2
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
push esi
push edi
lea esi, [eax - 1]
xor edi, edi
not eax
shr esi, 0x1f
shr eax, 0x1f
and esi, eax
mov eax, dword [ebx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp + 0x10], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
and eax, esi
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
cmp dword [ebp + 0x14], edi
jle 0x5396c0
mov esi, dword [edx]
mov eax, dword [ebx]
mov ecx, dword [esi + edi*4]
mov edx, dword [eax + edi*4]
xor edx, ecx
and edx, dword [ebp + 0x10]
xor ecx, edx
mov dword [esi + edi*4], ecx
mov eax, dword [ebx]
xor dword [eax + edi*4], edx
inc edi
mov edx, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
jl 0x53969e
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5408a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push ebx
xor bl, bl
test edx, edx
je 0x5408c6
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub esi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
or bl, al
inc ecx
sub edx, 1
jne 0x5408b8
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x5409de
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
test edi, edi
je 0x540a4d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x540a4d
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push esi
push dword [ebp + 8]
mov ebx, 0x200
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00523df9
add esp, 0x14
lea ecx, [ebp - 0x208]
test eax, eax
cmovs eax, ebx
push esi
push ecx
push eax
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x540b94
mov ecx, dword [ebp + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x540a53
sub ecx, edx
lea edi, [ecx + 1]
lea eax, [edi + edi]
call fcn.00700070
mov ebx, esp
xor esi, esi
test ebx, ebx
jne 0x540a79
mov ebx, str.no_stack_
jmp 0x540b18
push edi
push ebx
push edi
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x540aa2
mov ecx, esi
test edi, edi
je 0x540aa2
mov eax, dword [ebp + 8]
movsx ax, byte [ecx + eax]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x540a91
mov ecx, esi
test edi, edi
je 0x540b18
push 0x43
mov dword [ebp - 0x208], 0x73
pop esi
cmp word [ebx + ecx*2], 0x25
jne 0x540b11
lea edx, [ecx + 1]
lea edx, [ebx + edx*2]
movzx eax, word [edx]
cmp eax, esi
ja 0x540aec
je 0x540ae8
cmp eax, 0x2a
je 0x540ae2
cmp eax, 0x2c
jbe 0x540b11
cmp eax, 0x2e
jbe 0x540ae2
add eax, 0xffffffd0
cmp eax, 9
ja 0x540b11
inc ecx
add edx, 2
jmp 0x540ac2
push 0x63
jmp 0x540b0d
cmp eax, 0x53
je 0x540b0b
cmp eax, 0x63
je 0x540b06
movzx eax, word [edx]
cmp ax, word [ebp - 0x208]
jne 0x540b11
push 0x53
jmp 0x540b0d
mov word [edx], si
jmp 0x540b11
push 0x73
pop eax
mov word [edx], ax
inc ecx
cmp ecx, edi
jb 0x540ab5
xor esi, esi
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.00540ba9
add esp, 0x14
xor eax, eax
mov word [ebp - 6], ax
call fcn.005408f4
test eax, eax
jle 0x540b7f
push str.OpenSSL
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
test edi, edi
je 0x540b94
push esi
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push esi
push 1
push esi
push esi
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x540b94
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fedff
leave
ret
Function at 0x54c4a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [eax + 0x60]
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], esi
mov dword [ebp - 4], edx
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x54c510
test ebx, ebx
je 0x54c4f4
cmp ecx, 0x40
jae 0x54c4f2
mov al, byte [ecx + edi + 0x30]
xor al, byte [esi]
mov byte [edx], al
inc edx
inc ecx
mov dword [ebp - 4], edx
inc esi
mov dword [ebp + 8], esi
sub ebx, 1
jne 0x54c4d7
xor eax, eax
mov dword [edi + 0x70], ecx
test ebx, ebx
je 0x54c5c0
cmp ecx, 0x40
jne 0x54c510
mov dword [edi + 0x70], eax
add dword [edi + 0x20], 1
jne 0x54c510
inc dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov eax, ebx
and eax, 0x3f
sub ebx, eax
mov dword [ebp - 8], eax
cmp ebx, 0x40
jb 0x54c574
mov eax, ebx
mov esi, ecx
shr eax, 6
xor edx, edx
add ecx, eax
cmp ecx, eax
cmovae edx, ecx
neg esi
cmp ecx, eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmovae esi, eax
lea eax, [edi + 0x20]
push eax
push edi
shl esi, 6
push esi
push dword [ebp + 8]
push edx
call fcn.00589b2d
mov ecx, dword [ebp - 0xc]
add esp, 0x14
add dword [ebp + 8], esi
sub ebx, esi
add dword [ebp - 4], esi
mov dword [edi + 0x20], ecx
test ecx, ecx
jne 0x54c569
inc dword [edi + 0x24]
cmp ebx, 0x40
jae 0x54c522
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x54c5c0
push 0x40
lea ebx, [edi + 0x30]
push 0
push ebx
mov dword [ebp + 8], ebx
call fcn.00718210
lea eax, [edi + 0x20]
push eax
push edi
push 0x40
push ebx
push ebx
call fcn.00589b2d
mov ebx, dword [ebp - 8]
add esp, 0x20
test ebx, ebx
je 0x54c5bd
mov edx, dword [ebp - 4]
sub esi, edx
xor edi, edi
mov eax, dword [ebp + 8]
lea ecx, [edi + edx]
mov al, byte [eax + edi]
xor al, byte [esi + ecx]
inc edi
mov byte [ecx], al
cmp edi, ebx
jb 0x54c5a7
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x70], ebx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x556496
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x60
push 0
push esi
call fcn.00718210
add esp, 0xc
mov dword [esi], 0x67452301
xor eax, eax
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
inc eax
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret
Function at 0x557876
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.00718210
add esp, 0xc
mov dword [esi], 0xc1059ed8
xor eax, eax
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
inc eax
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x557a14
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.00718210
add esp, 0xc
mov dword [esi], 0x6a09e667
xor eax, eax
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
inc eax
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x558a95
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
xor eax, eax
inc eax
pop ebp
ret

Function at 0x558e6a
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
xor eax, eax
inc eax
pop ebp
ret
Function at 0x55bd5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x55bd72
xor eax, eax
jmp 0x55be13
push ebx
push esi
push dword [edi]
call fcn.0053b2da
mov ebx, dword [ebp + 0xc]
mov esi, eax
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
test ebx, ebx
je 0x55be0e
mov ecx, dword [edi + 0x84]
cmp ecx, esi
jne 0x55bdb6
test esi, esi
jle 0x55bdf0
mov edx, ebx
lea ecx, [edi + 4]
mov ebx, esi
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
sub ebx, 1
jne 0x55bda3
mov ebx, dword [ebp + 0xc]
jmp 0x55bdf0
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x55bdd4
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.00718210
add esp, 0xc
test esi, esi
jle 0x55bdf0
lea ecx, [edi + 0x24]
mov edx, ebx
mov edi, esi
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
sub edi, 1
jne 0x55bddf
mov edi, dword [ebp + 8]
push esi
push ebx
push ebx
push dword [edi]
call fcn.0053b627
add esp, 0x10
test eax, eax
jne 0x55be0e
push esi
push ebx
call fcn.0054ec79
pop ecx
pop ecx
xor eax, eax
jmp 0x55be11
xor eax, eax
inc eax
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x56dd22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
test esi, esi
je 0x56dd68
mov al, byte [esi]
test al, al
je 0x56dd68
push ebx
mov ebx, 0x100
push edi
mov edi, ebx
movsx eax, al
or eax, edi
add edi, ebx
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
xor edx, eax
inc esi
mov al, byte [esi]
test al, al
jne 0x56dd3e
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop ebx
jmp 0x56dd6a
xor eax, eax
pop esi
pop ebp
ret

Function at 0x56df82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x56dfd0
mov al, byte [edi]
test al, al
je 0x56dfd0
push ebx
mov ebx, 0x100
movsx eax, al
push eax
call fcn.0055f5f7
or eax, ebx
add ebx, 0x100
pop ecx
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol esi, cl
xor esi, eax
inc edi
mov al, byte [edi]
test al, al
jne 0x56df9c
mov eax, esi
shr eax, 0x10
xor eax, esi
pop ebx
jmp 0x56dfd2
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x576a18
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.0054185e
mov ebx, eax
push ebx
push edi
call fcn.0054175d
add esp, 0x10
test eax, eax
je 0x576a65
push esi
push 2
push ebx
push eax
xor esi, esi
push esi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
cmove esi, ebx
mov eax, esi
shl eax, 3
push eax
push esi
push edi
call fcn.005417b9
push edi
call fcn.005418de
add esp, 0x10
pop esi
test eax, eax
jne 0x576a6c
push edi
call fcn.005418de
pop ecx
pop edi
pop ebx
pop ebp
ret
Function at 0x576d5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, edx
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x10
pop ebx
mov dword [ebp - 4], ebx
sub esi, edx
mov edi, ebx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x576d77
push ebx
push edx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edx
push dword [eax + 4]
call fcn.0056f0cb
add esp, 0x14
test eax, eax
je 0x576da5
cmp dword [ebp - 4], ebx
jne 0x576da5
xor eax, eax
inc eax
jmp 0x576da7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x576f02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x576f69
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x576f69
mov edx, dword [ebp + 8]
push esi
push edi
mov eax, dword [edx + 0xc]
cmp ecx, eax
mov esi, eax
cmovb esi, ecx
mov dword [ebp + 0xc], esi
xor esi, esi
mov edi, esi
cmp dword [ebp + 0xc], esi
jbe 0x576f44
mov ecx, dword [ebp + 0xc]
mov al, byte [edi + ebx]
xor byte [edx + edi + 0x10], al
inc edi
cmp edi, ecx
jb 0x576f32
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x576f67
sub ecx, eax
push 0x10
pop eax
cmp ecx, eax
cmova ecx, eax
test ecx, ecx
je 0x576f67
mov eax, dword [edx + 0xc]
add eax, esi
mov al, byte [eax + ebx]
xor byte [edx + esi + 0x30], al
inc esi
cmp esi, ecx
jb 0x576f56
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x57ca23
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.00718210
add esp, 0xc
mov dword [esi], 0x67452301
xor eax, eax
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
inc eax
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x5808eb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x28], ecx
mov edx, esi
mov dword [ebp - 0x24], esi
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
je 0x580a67
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x580a14
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.0057da0f
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x14]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x5809b9
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x580a67
mov eax, dword [ebp - 0x28]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [esi], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 2], bl
shr eax, 8
mov byte [esi + 3], dl
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.006fedff
leave
ret