joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d694
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 8]
je 0x1003d6a5
pop ebp
jmp fcn.100635a0
push 5
call fcn.100649b2
pop ebp
ret 8

Function at 0x10042ae0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x10042b2e
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x10042b08
cmp edx, 1
je 0x10042b4f
cmp edx, 2
je 0x10042b46
cmp edx, 3
jne 0x10042b5a
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x10043f74
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x804
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x10043ffc
mov edi, edx
mov esi, ecx
mov eax, 0x800
lea ebx, [ebp - 0x810]
push eax
push 0xff
push ebx
call fcn.101db130
add esp, 0xc
call fcn.1001f412
mov ecx, dword [eax]
or ecx, 2
push dword [ebp + 8]
push 0
push edi
mov edx, 0x800
push edx
push ebx
push dword [eax + 4]
push ecx
call fcn.101fac10
add esp, 0x1c
lea eax, [esi - 1]
cmp eax, 3
ja 0x10043ff5
push dword [esi*4 + 0x10211310]
call fcn.101fac10
add esp, 4
push ebx
push 0x10211310
push eax
call fcn.1002c4cc
add esp, 0xc
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
add esp, 0x804
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100441a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x102440c0]
mov ecx, dword [0x1028ef04]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x100441ef
mov esi, dword [0x102440bc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x102440c0
call fcn.101fac10
add esp, 4
cmp dword [0x102440c0], 0xffffffff
jne 0x100441d6
pcmpeqd xmm0, xmm0
mov esi, esp
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov dword [esi + 0x20], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x102440bc], eax
push 0x102440c0
call fcn.101fac10
add esp, 4
jmp 0x100441d6
Function at 0x1004fa7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x24]
cmp dword [ecx + 0x28], eax
je 0x1004faad
mov edi, ecx
xor ebx, ebx
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x10]
xor esi, eax
inc ebx
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x1004fa93
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10068c64
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x10
movsd xmm0, qword [ebp + 8]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 8], eax
xor esi, esi
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x10068c8c
jnp 0x10068cd0
movsd qword [esp], xmm0
mov eax, 8
xor ecx, ecx
imul edx, dword [esp + ecx], 0x5bd1e995
mov esi, edx
shr esi, 0x18
xor esi, edx
imul edx, esi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edx
add ecx, 4
cmp ecx, 8
jne 0x10068c98
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov ecx, dword [esp + 8]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret 8
Function at 0x10080fbd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21c]
push 0x20c
push 0xff
push edi
call fcn.101db130
add esp, 0xc
mov dword [edi - 0xc], edi
mov dword [edi - 8], edi
lea ecx, [ebp - 0x14]
mov dword [edi - 4], ecx
mov eax, 0x104
mov esi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ebx, edi
mov edx, ecx
sub edx, ebx
sar edx, 1
cmp edx, eax
jae 0x1008102c
add eax, eax
lea ecx, [ebp - 0x228]
push 2
push eax
push edi
call fcn.10081f78
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
sub ecx, ebx
sar ecx, 1
push ebx
push ecx
call esi
test eax, eax
je 0x10081070
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov edx, ecx
sub edx, ebx
sar edx, 1
cmp eax, edx
ja 0x10081005
lea ecx, [ebx + eax*2]
mov dword [ebp - 0x224], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, 0xfde9
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1008153e
add esp, 0xc
jmp 0x10081083
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.1007f423
add esp, 8
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x10081096
push eax
call fcn.101fac10
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10081191
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x158], eax
lea esi, [esp + 0x54]
push 0x104
push 0xff
push esi
call fcn.101db130
add esp, 0xc
mov dword [esi - 0xc], esi
mov dword [esi - 8], esi
lea eax, [esp + 0x154]
mov dword [esi - 4], eax
xor esi, esi
lea eax, [esp + 0x10]
mov dword [eax + 0x24], esi
mov dword [eax + 0x20], esi
xorps xmm0, xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
mov dword [eax + 0x28], 0xffff
xor edi, edi
dec edi
lea ebx, [esp + 8]
mov dword [ebx], edi
mov dword [ebx + 4], edi
push eax
push dword [ebp + 0xc]
push ebx
call fcn.100807f3
add esp, 0xc
cmp dword [ebx], esi
je 0x1008123a
mov esi, dword [ebp + 8]
call fcn.101ad951
cmp dword [esp + 0xc], eax
jne 0x10081286
cmp dword [esp + 8], 2
jne 0x10081286
cmp byte [ebp + 0x10], 0
je 0x10081286
mov dword [esi], 0
call fcn.101ada37
mov dword [esi + 4], eax
jmp 0x10081290
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0xc]
push esi
call fcn.10080c93
add esp, 0xc
cmp dword [esi], 0
lea edi, [esp + 0x54]
jne 0x10081294
cmp dword [esp + 0x34], 3
jne 0x100812bd
mov word [esp + 8], 0
lea ecx, [esp + 0x48]
push ebx
call fcn.10081508
lea eax, [esp + 0x48]
add dword [eax + 4], 0xfffffffe
push dword [eax]
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x100812de
movsd xmm0, qword [esp + 8]
movsd qword [esi], xmm0
lea edi, [esp + 0x54]
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x100812a5
push eax
call fcn.101fac10
add esp, 4
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esp + 8], 0
lea ecx, [esp + 0x48]
push ebx
call fcn.10081508
lea eax, [esp + 0x48]
add dword [eax + 4], 0xfffffffe
push dword [eax]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x1008130f
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
call fcn.1007f423
add esp, 8
call fcn.101ad951
cmp dword [esi + 4], eax
jne 0x10081294
cmp dword [esi], 2
jne 0x10081294
cmp byte [ebp + 0x10], 0
je 0x10081294
mov dword [esi], 0
call fcn.101ada37
mov dword [esi + 4], eax
jmp 0x10081294
Function at 0x10081322
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x48], eax
cmp edx, 0xffffffff
je case.default.0x10081350
mov edi, edx
push edx
call dword [sym.imp.kernel32.dll_GetFileType]
jmp dword [eax*4 + 0x102153e0]
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x100814bf
xor eax, eax
mov dword [ebx + 0x20], eax
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x24], 9
jmp 0x10081490
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x10]
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov dword [eax + 0x30], 0xffffffff
push eax
push edi
call dword [sym.imp.kernel32.dll_GetFileInformationByHandle]
test eax, eax
je case.default.0x10081350
mov eax, dword [esp + 0x10]
and eax, 0x10
cmp eax, 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
movdqu xmm0, xmmword [esp + 0x1c]
pshufd xmm0, xmm0, 0xb1
mov eax, dword [esp + 0x2c]
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], ecx
mov eax, 3
sbb eax, 0
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], 0xffff
mov dword [esi], 0
jmp 0x10081499
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x1008143a
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 1
jmp 0x100814b8
cmp eax, 0x20
jne 0x100814a3
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 9
jmp 0x100814b8
xor eax, eax
mov dword [ebx + 0x20], eax
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x24], 6
jmp 0x10081490
xor eax, eax
mov dword [ebx + 0x20], eax
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x24], 7
mov dword [ebx + 0x28], 0xffff
mov dword [esi], eax
call fcn.101ada37
mov dword [esi + 4], eax
jmp 0x100814c9
xor ecx, ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], ecx
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x28], 0xffff
push eax
push esi
call fcn.1007f423
add esp, 8
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10122688
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
shr ecx, 3
and ecx, 0x7f
dec ecx
cmp ecx, 0x7a
ja case.0x1012269e.1
mov al, 1
jmp dword [ecx*4 + 0x1021cd14]
xor eax, eax
pop ebp
ret
Function at 0x10149eb5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 0x18]
dec edi
cmp edi, 3
ja case.default.0x10149ecf
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
jmp dword [edi*4 + 0x1021d69c]
push esi
push edx
push ecx
push eax
call fcn.10149c7e
jmp 0x10149ef5
push esi
push edx
push ecx
push eax
call fcn.10149b67
jmp 0x10149ef5
push esi
push edx
push ecx
push eax
call fcn.10149986
add esp, 0x10
pop esi
pop edi
pop ebp
ret
pop esi
pop edi
pop ebp
jmp fcn.10149667
Function at 0x101949dc
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x10243228]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [esi], 0xffffffff
xorps xmm0, xmm0
lea edx, [ebp - 0x2c]
movups xmmword [edx + 0x10], xmm0
movaps xmm0, xmmword [0x102209f0]
movups xmmword [edx], xmm0
lea edi, [ebp - 0x30]
mov dword [edi], 0
push edi
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov eax, dword [edi]
test eax, eax
je 0x10194a4b
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
mov ecx, dword [ebp - 0x30]
push dword [ecx + 0x10]
push dword [ecx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_bind]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebp
ret 8

Function at 0x10194a80
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x110
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x10c]
push 0xfc
push 0xff
push ebx
call fcn.101db130
add esp, 0xc
mov eax, dword [esi]
mov dword [ebx - 4], eax
mov dword [ebx - 8], 1
mov ecx, 0x431bde83
mov eax, edi
imul ecx
mov eax, edx
shr eax, 0x1f
sar edx, 0x12
add edx, eax
lea eax, [ebp - 0x11c]
mov dword [eax], edx
imul ecx, edx, 0xf4240
sub edi, ecx
mov dword [eax + 4], edi
xor ecx, ecx
lea edx, [ebp - 0x114]
push eax
push ecx
push ecx
push edx
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
setg bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
mov eax, ebx
add esp, 0x110
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x10194b70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x194
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 8], eax
lea esi, [ebp - 0x198]
push 0x190
push 0xff
push esi
call fcn.101db130
add esp, 0xc
push esi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101d7611
add esp, 0x194
pop esi
pop ebp
ret

Function at 0x10194bc8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ecx + 4], 0
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
call dword [sym.imp.kernel32.dll_CreateEventA]
lea edi, [ebp - 0x14]
mov dword [edi], eax
lea eax, [ebp - 0x20]
mov dword [eax], ebx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
xor ecx, ecx
push ecx
push ecx
push eax
push 0x10194c70
push 0x100000
push ecx
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi], eax
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [edi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x10198980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x101989af
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x10198991
pop esi
pop edi
pop ebp
ret 8

Function at 0x10198ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10198af1
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x10198ad1
pop esi
pop edi
pop ebp
ret 8
Function at 0x1019efc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
lea ecx, [esi + 0x80]
mov dword [ecx - 4], esp
xor edx, edx
dec edx
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x101abd90
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
lea eax, [esi + 0x18]
mov word [eax + 4], 0
mov dword [eax], 0x7025
lea edi, [esi + 0x50]
mov dword [edi + 0x10], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esi + 0x70]
push ebx
call fcn.1019a9d0
add esp, 4
push dword [ebp + 0x18]
lea eax, [esi + 0x18]
push eax
push dword [ebx + 4]
push dword [ebx]
push 0x14
push edi
call fcn.101adfd3
add esp, 0x18
mov dword [esi + 0x14], eax
add eax, esi
add eax, 0x50
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
push eax
push edi
call fcn.1019dc06
add esp, 0xc
mov dword [esi + 0xc], eax
xor eax, eax
dec eax
mov dword [esi + 0x41], eax
mov dword [esi + 0x3d], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
lea edi, [esi + 8]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.10195ea8
lea eax, [esi + 0x80]
mov dword [eax + 8], 0
mov ecx, edi
push 0x1028e828
call fcn.101a7b98
mov ebx, eax
mov ecx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1019f0a6
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x20]
mov ecx, ebx
push edx
mov edi, dword [esi + 0x10]
push edi
lea ebx, [esi + 0x50]
push ebx
call eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, ebx
cmp ecx, edi
mov ecx, dword [esi + 0x14]
lea ecx, [esi + ecx + 0x20]
lea eax, [esi + eax + 0x20]
cmove eax, ecx
movsx edx, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push ecx
push eax
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.1000a140
add esp, 0x1c
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x101a27a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.101ab7a4
mov ebx, eax
test esi, esi
je 0x101a27dd
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x101a27ca
movzx eax, word [eax]
jmp 0x101a27d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x101a27dd
test bl, bl
jne 0x101a27e3
jmp 0x101a2840
xor esi, esi
test bl, bl
jne 0x101a2831
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x101a27f2
movzx eax, word [eax]
jmp 0x101a27f7
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x101a2822
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x101a281b
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x101a27b0
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x101a27b0
mov ecx, edi
call fcn.101ab7a4
mov ebx, eax
test esi, esi
jne 0x101a2849
jmp 0x101a283a
mov ecx, edi
call fcn.101ab7a4
mov ebx, eax
test bl, bl
jne 0x101a2868
jmp 0x101a286e
mov ecx, edi
call fcn.101ab7a4
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x101a2856
movzx eax, word [eax]
jmp 0x101a285d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x101a286e
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x101a3c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x101abf10
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0xc], fcn.100203f0
mov dword [esi + 0x14], edx
mov dword [eax + 8], 1
lea eax, [esi + 4]
mov dword [eax], edx
push eax
call fcn.10195ea8
mov dword [esi + 0x98], 2
lea ecx, [esi + 4]
push 0x1028e828
call fcn.101a7b98
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x14]
lea ecx, [esi + 0x84]
lea edx, [esi + 3]
mov byte [edx], 0
lea edi, [esi + 0x14]
lea ebx, [esi + 8]
movzx eax, al
push ecx
push edi
push ebx
push dword [esi + 0x10]
push edx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 4]
push ecx
push eax
push dword [esi + 0x1c]
lea eax, [ebp + 0xc]
push eax
call fcn.101a31d0
add esp, 0x2c
test al, al
je 0x101a3d80
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x101a3d1a
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
jmp 0x101a3d26
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [esi + 3], 0
je 0x101a3d42
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x2d
call dword [eax + 0x1c]
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.101ac930
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x30
call dword [eax + 0x1c]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x14]
lea ebx, [edi - 1]
cmp edx, ebx
jae 0x101a3d6c
lea ecx, [edx + 1]
cmp ebx, ecx
cmova ecx, ebx
cmp byte [edx], al
jne 0x101a3d6c
inc edx
cmp ecx, edx
jne 0x101a3d61
mov edx, ecx
mov dword [esi + 0x98], 2
mov ecx, dword [ebp + 0x20]
push edi
push edx
call fcn.101ab7e0
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.10194134
mov edi, dword [ebp + 8]
test al, al
je 0x101a3d99
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 4]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x101a3db2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x101a3dd4
mov dword [esi + 0x98], 0
push eax
call dword [esi + 0xc]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c