joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001830
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10018890
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10126244
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1002622c], 0xffffffff
je 0x10001925
cmp byte [0x10126260], 0
je 0x10001925
push esi
lea eax, [ebp - 0x80008]
push edi
push eax
call fcn.1000f6a0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x80008], 0xc1
jne 0x100018ba
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
test edi, edi
jle 0x100018e8
lea esp, [esp]
mov dl, byte [ebp + eax - 0x80005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80005], dl
inc eax
cmp eax, edi
jl 0x100018a0
jmp 0x100018e8
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
test edi, edi
jle 0x100018e8
jmp 0x100018d0
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x100018d0
mov eax, dword [0x10126238]
test eax, eax
jle 0x1000197e
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001943
mov eax, 7
push ecx
call fcn.1000b4e0
push eax
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 0xc
mov esi, 0x10026228
call fcn.10001580
push 0x10126244
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x80008]
push ecx
lea edx, [eax + 0x100a6238]
push edx
call fcn.1000f6a0
add esp, 0xc
add dword [0x10126238], esi
push 0x10126244
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000e223
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10001960
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x1002622c]
push 0
push esi
lea eax, [ebp + edi - 0x80008]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x100019ad
sub esi, eax
add edi, eax
test esi, esi
jg 0x1000198a
jmp 0x10001960
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x100019eb
mov eax, dword [0x10126238]
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x100019d6
mov eax, 8
jmp 0x10001905
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [eax + 0x100a6238]
push eax
jmp 0x10001952
call ebx
push eax
mov eax, 9
jmp 0x10001906
Function at 0x10001a00
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x10001c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10001a59
lea ebx, [esi + 0x80010]
mov eax, dword [esi + 0x100010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001a69
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001a29
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10001aa1
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call fcn.1000e990
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
jmp 0x10001ac0
mov cl, byte [eax + 0x1001efb0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10001ac0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 0xc
call fcn.10001580
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001e60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001ebf
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x10001ea5
push eax
call fcn.1000ed63
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [esi + 8]
push ecx
call fcn.1000e130
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10001ec6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
lea edx, [ebp - 4]
push edx
push ecx
push eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
je 0x10001eb9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001f00
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.10001e60
test al, al
jne 0x10001f15
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x10001f26
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov eax, 0x100217b0
mov ecx, 8
sub edx, eax
push ebx
jmp 0x10001f40
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x10002010
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10001f40
add edi, 0xfffffff8
xor eax, eax
test edi, edi
jle 0x10001fa3
nop
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0x1f
movsx edx, byte [edx + 0x1012661c]
and edx, 0xf
movzx edx, byte [edx + 0x100217b8]
sub byte [ecx + eax + 8], dl
lea ecx, [ecx + eax + 8]
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0xf
movzx edx, byte [edx + 0x100217b8]
xor byte [ecx + eax + 8], dl
lea ecx, [ecx + eax + 8]
mov ecx, dword [esi + 8]
inc eax
sub ecx, 8
cmp eax, ecx
jl 0x10001f60
lea edi, [esi + 0xc]
call fcn.1000ed42
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push 0x100217c8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002010
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0
lea edx, [ebp - 4]
push edx
sub eax, 8
push eax
add ecx, 8
push ecx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x10002019
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002030
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [esi + 0xc]
mov ecx, 0x100217e0
mov eax, edi
jmp 0x10002040
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002060
test dl, dl
je 0x1000205c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002060
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002040
xor eax, eax
jmp 0x10002065
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000209b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1000209b
mov eax, dword [esi + 4]
push eax
call fcn.1000ed63
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1000fa10
add esp, 0x10
pop edi
ret
Function at 0x10002500
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jc]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10002520
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1012c5cc], ecx
mov dword [ebp - 8], 0
jbe 0x10002705
mov edi, dword [0x10126390]
lea eax, [esi + 0xa]
mov esi, dword [0x1012638c]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x1000264d
cmp esi, eax
ja 0x1000264d
mov ecx, eax
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [0x10126394]
jne 0x10002626
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x38e38e2
ja 0x10002716
mov edx, dword [0x10126394]
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002626
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002607
xor eax, eax
jmp 0x10002609
add eax, edx
cmp eax, ecx
jae 0x1000260f
mov eax, ecx
push eax
mov ecx, 0x1012638c
call fcn.10003270
mov edi, dword [0x10126390]
mov esi, dword [0x1012638c]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x10002645
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x10126390]
mov esi, dword [0x1012638c]
mov eax, dword [ebp - 4]
jmp 0x100026e0
mov ebx, dword [0x10126394]
cmp edi, ebx
jne 0x100026c7
mov ecx, edi
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x38e38e2
ja 0x10002716
mov edx, ebx
sub edx, esi
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x100026c4
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x100026a5
xor eax, eax
jmp 0x100026a7
add eax, edx
cmp eax, ecx
jae 0x100026ad
mov eax, ecx
push eax
mov ecx, 0x1012638c
call fcn.10003270
mov edi, dword [0x10126390]
mov esi, dword [0x1012638c]
mov eax, dword [ebp - 4]
test edi, edi
je 0x100026e0
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x10126390]
mov esi, dword [0x1012638c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x10126390], edi
movzx edx, byte [edx + 8]
inc ecx
add eax, 0x48
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, edx
jl 0x10002588
pop edi
pop esi
mov dword [0x1012c5bc], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.1000e15d
int3
Function at 0x10002730
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x100201b0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10002750
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1012c5d0], ecx
mov dword [ebp - 8], 0
jbe 0x10002929
mov ebx, dword [0x101263a0]
lea ecx, [esi + 0xa]
mov esi, dword [0x1012639c]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002868
cmp esi, ecx
ja 0x10002868
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x101263a4]
jne 0x10002854
mov ecx, ebx
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xf83e0e
ja 0x1000293a
mov edx, dword [0x101263a4]
sub edx, esi
mov eax, 0x3e0f83e1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002854
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10002835
xor eax, eax
jmp 0x10002837
add eax, edx
cmp eax, ecx
jae 0x1000283d
mov eax, ecx
push eax
mov ecx, 0x1012639c
call fcn.10003360
mov ebx, dword [0x101263a0]
mov esi, dword [0x1012639c]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x100028fb
mov esi, edi
jmp 0x100028e6
mov edi, dword [0x101263a4]
cmp ebx, edi
jne 0x100028df
mov ecx, ebx
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xf83e0e
ja 0x1000293a
mov edx, edi
sub edx, esi
mov eax, 0x3e0f83e1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x100028df
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x100028c0
xor eax, eax
jmp 0x100028c2
add eax, edx
cmp eax, ecx
jae 0x100028c8
mov eax, ecx
push eax
mov ecx, 0x1012639c
call fcn.10003360
mov ebx, dword [0x101263a0]
mov esi, dword [0x1012639c]
test ebx, ebx
je 0x100028fb
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x101263a0]
mov esi, dword [0x1012639c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x101263a0], ebx
movzx edx, byte [edx + 8]
inc eax
add ecx, 0x108
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, edx
jl 0x100027b8
pop edi
pop esi
mov dword [0x1012c5c0], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.1000e15d
int3
Function at 0x10002950
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_j_]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10002970
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1012c5d4], ecx
mov dword [ebp - 8], 0
jbe 0x10002b4a
mov ebx, dword [0x101263b0]
lea ecx, [esi + 0xa]
mov esi, dword [0x101263ac]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002a88
cmp esi, ecx
ja 0x10002a88
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x101263b4]
jne 0x10002a74
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfb1884
ja 0x10002b5b
mov edx, dword [0x101263b4]
sub edx, esi
mov eax, 0x7d8c42b3
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002a74
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002a55
xor eax, eax
jmp 0x10002a57
add eax, edx
cmp eax, ecx
jae 0x10002a5d
mov eax, ecx
push eax
mov ecx, 0x101263ac
call fcn.10003450
mov ebx, dword [0x101263b0]
mov esi, dword [0x101263ac]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10002b1c
mov esi, edi
jmp 0x10002b06
mov edi, dword [0x101263b4]
cmp ebx, edi
jne 0x10002aff
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfb1884
ja 0x10002b5b
mov edx, edi
sub edx, esi
mov eax, 0x7d8c42b3
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002aff
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002ae0
xor eax, eax
jmp 0x10002ae2
add eax, edx
cmp eax, ecx
jae 0x10002ae8
mov eax, ecx
push eax
mov ecx, 0x101263ac
call fcn.10003450
mov ebx, dword [0x101263b0]
mov esi, dword [0x101263ac]
test ebx, ebx
je 0x10002b1c
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [0x101263b0]
mov esi, dword [0x101263ac]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x101263b0], ebx
movzx edx, byte [edx + 8]
inc eax
add ecx, 0x105
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, edx
jl 0x100029d8
pop edi
pop esi
mov dword [0x1012c5c4], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.1000e15d
int3
Function at 0x10002b70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jv]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10002b90
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1012c5d8], ecx
mov dword [ebp - 8], 0
jbe 0x10002d7a
mov edi, dword [0x101263c0]
lea eax, [esi + 0xa]
mov esi, dword [0x101263bc]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002cc1
cmp esi, eax
ja 0x10002cc1
mov ecx, eax
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [0x101263c4]
jne 0x10002c96
mov ecx, edi
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x3f03f02
ja 0x10002d8b
mov edx, dword [0x101263c4]
sub edx, esi
mov eax, 0x7e07e07f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002c96
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002c77
xor eax, eax
jmp 0x10002c79
add eax, edx
cmp eax, ecx
jae 0x10002c7f
mov eax, ecx
push eax
mov ecx, 0x101263bc
call fcn.10003540
mov edi, dword [0x101263c0]
mov esi, dword [0x101263bc]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10002cb9
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x101263c0]
mov esi, dword [0x101263bc]
mov eax, dword [ebp - 4]
jmp 0x10002d55
mov ebx, dword [0x101263c4]
cmp edi, ebx
jne 0x10002d3b
mov ecx, edi
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x3f03f02
ja 0x10002d8b
mov edx, ebx
sub edx, esi
mov eax, 0x7e07e07f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x10002d38
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002d19
xor eax, eax
jmp 0x10002d1b
add eax, edx
cmp eax, ecx
jae 0x10002d21
mov eax, ecx
push eax
mov ecx, 0x101263bc
call fcn.10003540
mov edi, dword [0x101263c0]
mov esi, dword [0x101263bc]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002d55
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x101263c0]
mov esi, dword [0x101263bc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x101263c0], edi
movzx edx, byte [edx + 8]
inc ecx
add eax, 0x41
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, edx
jl 0x10002bf8
pop edi
pop esi
mov dword [0x1012c5c8], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.1000e15d
int3
Function at 0x10002da0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
jmp 0x10002dc0
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10002dc0
movzx edx, byte [esi + 4]
push edx
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xa
ja case.default.0x10002dfc
jmp dword [eax*4 + 0x10002e6c]
mov ecx, 0xe
jmp 0x10002e4e
mov ecx, 0xf
jmp 0x10002e4e
mov ecx, 0x10
jmp 0x10002e4e
mov ecx, 0x11
jmp 0x10002e4e
mov ecx, 0x12
jmp 0x10002e4e
mov ecx, 0x13
jmp 0x10002e4e
mov ecx, 0x14
jmp 0x10002e4e
mov ecx, 0x16
jmp 0x10002e4e
mov ecx, 0x18
jmp 0x10002e4e
mov ecx, 0x19
jmp 0x10002e4e
mov ecx, 0x15
push 0x1388
call fcn.100058b0
push eax
push 2
mov eax, 0x1012b6a8
call fcn.1000b270
add esp, 0xc
pop ecx
ret

Function at 0x10002ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x1012c5f0], 1
push edi
je 0x10002f48
mov ecx, dword [0x1012638c]
mov dword [0x1012c5b8], ebx
mov dword [0x1012c5bc], ebx
mov dword [0x1012c5c0], ebx
mov dword [0x1012c5c4], ebx
mov dword [0x1012c5c8], ebx
mov dword [0x1012c5cc], ebx
mov dword [0x1012c5d0], ebx
mov dword [0x1012c5d4], ebx
mov dword [0x1012c5d8], ebx
cmp ecx, dword [0x10126390]
je 0x10002f0c
mov dword [0x10126390], ecx
mov ecx, dword [0x1012639c]
cmp ecx, dword [0x101263a0]
je 0x10002f20
mov dword [0x101263a0], ecx
mov ecx, dword [0x101263ac]
cmp ecx, dword [0x101263b0]
je 0x10002f34
mov dword [0x101263b0], ecx
mov ecx, dword [0x101263bc]
cmp ecx, dword [0x101263c0]
je 0x10002f48
mov dword [0x101263c0], ecx
mov word [ebp - 0x3c], 0x38c1
call fcn.1000ed42
and eax, 0x800000ff
jns 0x10002f61
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x1012b444]
mov edx, dword [str.PREMIUM]
mov byte [ebp - 0x3a], al
mov eax, dword [0x1012c5f0]
mov dword [ebp - 0x38], eax
mov eax, dword [0x100217e8]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.1000b420
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x28]
push 0x10131a00
rep movsd dword es:[edi], dword [esi]
call fcn.1000fa10
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x100204b0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10002fb0
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push 0x10131a00
push ebx
mov ecx, 0x101263d8
call fcn.10005150
movzx ecx, byte [ebp - 0x3b]
add esp, 0x18
lea edx, [ebp - 0x3c]
call fcn.10001830
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e223
mov esp, ebp
pop ebp
ret
Function at 0x10003ac0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x1012c544]
test eax, eax
je 0x10003b33
mov ecx, dword [eax]
cmp ecx, dword [0x1012c558]
jne 0x10003adf
mov dl, byte [0x1012c55c]
cmp dl, byte [eax + 4]
je 0x10003b33
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
jmp 0x10003b00
mov cl, byte [eax + 0x1001f4b0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10003b00
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
mov eax, dword [0x1012c540]
test eax, eax
je 0x10003ba3
mov edx, dword [eax]
cmp edx, dword [0x1012c550]
jne 0x10003b51
mov cl, byte [0x1012c554]
cmp cl, byte [eax + 4]
je 0x10003ba3
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
jmp 0x10003b70
mov dl, byte [eax + 0x1001f5b0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10131a00], dl
inc eax
cmp eax, 0x100
jb 0x10003b70
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
mov eax, dword [0x1012c53c]
test eax, eax
je 0x10003be0
mov ecx, dword [eax]
cmp ecx, dword [0x1012c548]
jne 0x10003bc1
mov dl, byte [0x1012c54c]
cmp dl, byte [eax + 4]
je 0x10003be0
mov eax, 0x11
call fcn.1000b4e0
push eax
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
pop ecx
ret