joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100020b0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push eax
push ecx
mov byte [edi], 0
call fcn.10001c20
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100020dd
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov esi, dword [esp + 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, eax
test ebx, ebx
jbe 0x100020fb
cmp byte [ebx + edi - 1], 0x5c
jne 0x100020fb
dec ebx
mov byte [ebx + edi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000210b
test al, 0x10
jne 0x10002115
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x6c726b
push edx
xor ebp, ebp
add ebx, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x._s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebp
push 0x80
push 1
push ebp
push ebp
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100021a2
cmp ebp, 0x20
jge 0x100021db
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x1c]
inc ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x._s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002159
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
push 0
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x38]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100010f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100010f0
add esp, 4
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10001000
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10001010
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x1000101c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10001026
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10001030
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x1000103a
or eax, 8
shr ecx, 1
test cl, 1
je 0x10001044
or eax, 4
shr ecx, 1
test cl, 1
je 0x1000104e
or eax, 2
test cl, 2
je 0x10001056
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10001110
test al, 1
je 0x1000111d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10001110
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10001004
pop edi
pop ebx
ret

Function at 0x10001140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10026018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push 0x1001d64c
push eax
lea eax, [ebp - 0x408]
push eax
or esi, 0xffffffff
mov dword [ebp - 0x408], 0
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x10001192
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100199c6
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov ecx, dword [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov ecx, eax
lea edx, [ebp - 0x404]
test eax, eax
je 0x100011da
mov edi, edi
movzx ebx, byte [edx]
mov edi, esi
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr esi, 8
xor esi, dword [ebx + edi*4]
inc edx
dec ecx
jne 0x100011c0
cmp eax, 0x400
je 0x10001194
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop ebx
xor ecx, ebp
not eax
pop esi
call fcn.100199c6
mov esp, ebp
pop ebp
ret 8
Function at 0x10001210
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x1001d654
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10001242
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x10001270
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x100012d3
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100012b9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x10001298
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10001290
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10001300
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x1001d64c
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x10001332
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x10001360
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x100013c3
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100013a9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x10001388
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10001380
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10001460
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10026018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10001499
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100199c6
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x10026384], eax
cmp eax, 0xffffffff
je 0x10001489
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [0x10026388], eax
test eax, eax
je 0x10001489
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x10126394], 0x10001ff0
mov al, 1
call fcn.100199c6
mov esp, ebp
pop ebp
ret
Function at 0x100014e0
Capabilities:
Connect socket
Encode data using xor
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x10026018]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
push edi
mov edi, dword [ebp + 8]
jne 0x10001563
push 0x100
push 0
push 0x111840f8
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10001520
mov cl, byte [eax + 0x1001d778]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x10001520
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b860
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100199c6
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov edx, 2
push eax
mov word [esp + 0x10], dx
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x100015af
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100015af
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 4]
push 0x10
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x1000160b
call edi
cmp eax, 0x2733
je 0x1000160b
call edi
push eax
mov eax, 2
call fcn.100164b0
push eax
push 0
mov ecx, 0x10126530
call fcn.1000b860
add esp, 0xc
call fcn.100016f0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100199c6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push 0x23
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10001684
call edi
push eax
mov eax, 3
call fcn.100164b0
push eax
push 0
mov ecx, 0x10126530
call fcn.1000b860
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, 0xffffffff
je 0x10001653
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10001668
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov byte [esi + 0x100038], 0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100199c6
mov esp, ebp
pop ebp
ret 8
push 0x80000
xor edi, edi
lea eax, [esi + 0xc]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x80000
lea ecx, [esi + 0x80010]
push edi
push ecx
mov dword [esi + 0x8000c], edi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi + 0x100010], edi
push edi
mov ecx, esi
mov edi, 0x10001ca0
call fcn.10016710
mov ecx, dword [esp + 0x1c]
pop edi
mov byte [esi + 0x100038], 1
pop esi
xor ecx, esp
mov al, 1
call fcn.100199c6
mov esp, ebp
pop ebp
ret 8
Function at 0x100019b0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.1001a3d0
mov eax, dword [0x10026018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1012639c
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10026384], 0xffffffff
je 0x10001ab5
cmp byte [0x101263b8], 0
je 0x10001ab5
push 0x80000
lea eax, [ebp - 0x80008]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea ecx, [ebp - 0x80008]
push edi
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x80008], 0xc1
jne 0x10001a4c
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
test edi, edi
jle 0x10001a78
mov dl, byte [ebp + eax - 0x80005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80005], dl
inc eax
cmp eax, edi
jl 0x10001a32
jmp 0x10001a78
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
test edi, edi
jle 0x10001a78
lea esp, [esp]
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x10001a60
mov ecx, dword [0x10126390]
test ecx, ecx
jle 0x10001b0e
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10001ad3
push eax
mov eax, 7
call fcn.100164b0
push eax
push 0
mov ecx, 0x10126530
call fcn.1000b860
add esp, 0xc
mov esi, 0x10026380
call fcn.100016f0
push 0x1012639c
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.100199c6
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x80008]
push eax
lea ecx, [ecx + 0x100a6390]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [0x10126390], esi
push 0x1012639c
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.100199c6
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10001af0
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov eax, dword [0x10026384]
push 0
push esi
lea edx, [ebp + edi - 0x80008]
push edx
push eax
call ebx
cmp eax, 0xffffffff
je 0x10001b3c
sub esi, eax
add edi, eax
test esi, esi
jg 0x10001b1a
jmp 0x10001af0
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10001b7b
mov ecx, dword [0x10126390]
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10001b66
push eax
mov eax, 8
jmp 0x10001a96
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [ecx + 0x100a6390]
push eax
jmp 0x10001ae2
call ebx
push eax
mov eax, 9
jmp 0x10001a96
Function at 0x10001b90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
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 0x10001be8
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 0x10001bf7
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001bb8
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10001c2f
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 ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, 0xa
call fcn.100164b0
push eax
push 0
mov ecx, 0x10126530
call fcn.1000b860
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, 0xffffffff
je 0x10001c66
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10001c7b
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov eax, dword [ebp - 4]
push eax
mov byte [esi + 0x100038], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002530
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 0x111840f8
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 + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x10002550
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b860
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x11183b94], ecx
mov dword [ebp - 4], 0
jbe 0x10002648
mov edi, dword [0x101264e8]
lea ebx, [esi + 0xa]
nop
cmp ebx, edi
jae 0x100025fb
mov eax, dword [0x101264e4]
cmp eax, ebx
ja 0x100025fb
mov ecx, ebx
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [0x101264ec]
jne 0x100025ea
mov ecx, 0x101264e4
call fcn.10003060
mov edi, dword [0x101264e8]
mov eax, dword [0x101264e4]
lea edx, [esi + esi*8]
lea esi, [eax + edx*8]
test edi, edi
je 0x10002626
jmp 0x10002619
cmp edi, dword [0x101264ec]
jne 0x10002613
mov ecx, 0x101264e4
call fcn.10003060
mov edi, dword [0x101264e8]
test edi, edi
je 0x10002629
mov esi, ebx
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x101264e8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
add edi, 0x48
mov dword [0x101264e8], edi
movzx ecx, byte [esi + 8]
inc eax
add ebx, 0x48
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x100025b0
pop edi
pop esi
mov dword [0x11183b84], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002660
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 0x111840f8
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x1001f278]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x10002680
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b860
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x11183b98], ecx
mov dword [ebp - 4], 0
jbe 0x1000277f
mov edi, dword [0x101264f8]
lea ebx, [esi + 0xa]
nop
cmp ebx, edi
jae 0x1000272c
mov eax, dword [0x101264f4]
cmp eax, ebx
ja 0x1000272c
mov ecx, ebx
sub ecx, eax
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [0x101264fc]
jne 0x1000271a
mov ecx, 0x101264f4
call fcn.100030d0
mov edi, dword [0x101264f8]
imul esi, esi, 0x108
add esi, dword [0x101264f4]
test edi, edi
je 0x10002757
jmp 0x1000274a
cmp edi, dword [0x101264fc]
jne 0x10002744
mov ecx, 0x101264f4
call fcn.100030d0
mov edi, dword [0x101264f8]
test edi, edi
je 0x1000275a
mov esi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x101264f8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
add edi, 0x108
mov dword [0x101264f8], edi
movzx edx, byte [esi + 8]
inc eax
add ebx, 0x108
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x100026e0
pop edi
pop esi
mov dword [0x11183b88], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002790
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 0x111840f8
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 + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x100027b0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b860
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x11183b9c], ecx
mov dword [ebp - 4], 0
jbe 0x100028b0
mov edi, dword [0x10126508]
lea ebx, [esi + 0xa]
nop
cmp ebx, edi
jae 0x1000285c
mov eax, dword [0x10126504]
cmp eax, ebx
ja 0x1000285c
mov ecx, ebx
sub ecx, eax
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [0x1012650c]
jne 0x1000284a
mov ecx, 0x10126504
call fcn.10003140
mov edi, dword [0x10126508]
imul esi, esi, 0x105
add esi, dword [0x10126504]
test edi, edi
je 0x10002888
jmp 0x1000287a
cmp edi, dword [0x1012650c]
jne 0x10002874
mov ecx, 0x10126504
call fcn.10003140
mov edi, dword [0x10126508]
test edi, edi
je 0x1000288b
mov esi, ebx
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x10126508]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
add edi, 0x105
mov dword [0x10126508], edi
movzx edx, byte [esi + 8]
inc eax
add ebx, 0x105
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x10002810
pop edi
pop esi
mov dword [0x11183b8c], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100028d0
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 0x111840f8
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 + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x100028f0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b860
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x11183ba0], ecx
mov dword [ebp - 4], 0
jbe 0x100029ed
mov edi, dword [0x10126518]
lea ebx, [esi + 0xa]
nop
cmp ebx, edi
jae 0x1000299f
mov eax, dword [0x10126514]
cmp eax, ebx
ja 0x1000299f
mov ecx, ebx
sub ecx, eax
mov eax, 0x7e07e07f
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [0x1012651c]
jne 0x1000298a
mov ecx, 0x10126514
call fcn.100031b0
mov edi, dword [0x10126518]
mov eax, esi
shl eax, 6
add eax, dword [0x10126514]
add eax, esi
test edi, edi
je 0x100029cb
mov esi, eax
jmp 0x100029bd
cmp edi, dword [0x1012651c]
jne 0x100029b7
mov ecx, 0x10126514
call fcn.100031b0
mov edi, dword [0x10126518]
test edi, edi
je 0x100029ce
mov esi, ebx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x10126518]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
add edi, 0x41
mov dword [0x10126518], edi
movzx edx, byte [esi + 8]
inc eax
add ebx, 0x41
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x10002950
pop edi
pop esi
mov dword [0x11183b90], 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002a00
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x111840f8
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x10002a20
movzx edx, byte [esi + 4]
push edx
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b860
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xd
ja case.0x10002a60.11
jmp dword [eax*4 + 0x10002b00]
add esi, 5
push esi
push 2
mov eax, 0x10130630
call fcn.10014bb0
add esp, 8
pop esi
ret
push 0x3c
push 0
push 0x11183ad4
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0xf1
push 0xc1
mov eax, 0x404b90
mov ecx, 0x11183ad4
call eax
push 2
mov edx, 0x4050d0
mov ecx, 0x11183ad4
call edx
push 2
mov eax, 0x4050d0
mov ecx, 0x11183ad4
call eax
push 0
push 1
mov ecx, 0x11183ad4
call dword [0x11183b18]
push 0x3c
push 0
push 0x11183ad4
call sub.MSVCR100.dll_memset
add esp, 0xc
pop esi
ret
mov ecx, 0x15
call fcn.1000be10
push eax
push 2
mov eax, 0x10130630
call fcn.10014bb0
add esp, 8
pop esi
ret