joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b00
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 0x10001b59
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 0x10001b69
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10001b29
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 0x10001ba2
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
push 0x100
push 0
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10001bc0
mov cl, byte [eax + 0x10017018]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x10001bc0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
add esp, 0xc
call fcn.10001670
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 0x10001f70
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 0x10001fd0
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 0x10001fb6
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.10012e30
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10001fd7
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 0x10001fca
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10002720
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 0x10d7b8e0
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 + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x10002740
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10d7648c], ecx
mov dword [ebp - 8], 0
jbe 0x10002925
mov edi, dword [0x1011e2c8]
lea eax, [esi + 0xa]
mov esi, dword [0x1011e2c4]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x1000286d
cmp esi, eax
ja 0x1000286d
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 [0x1011e2cc]
jne 0x10002846
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 0x10002936
mov edx, dword [0x1011e2cc]
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 0x10002846
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x10002827
xor eax, eax
jmp 0x10002829
add eax, edx
cmp eax, ecx
jae 0x1000282f
mov eax, ecx
push eax
mov ecx, 0x1011e2c4
call fcn.10003670
mov edi, dword [0x1011e2c8]
mov esi, dword [0x1011e2c4]
lea edx, [ebx + ebx*8]
lea eax, [esi + edx*8]
test edi, edi
je 0x10002865
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1011e2c8]
mov esi, dword [0x1011e2c4]
mov eax, dword [ebp - 4]
jmp 0x10002900
mov ebx, dword [0x1011e2cc]
cmp edi, ebx
jne 0x100028e7
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 0x10002936
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 0x100028e4
mov edx, eax
shr edx, 1
mov esi, 0x38e38e3
sub esi, edx
cmp esi, eax
jae 0x100028c5
xor eax, eax
jmp 0x100028c7
add eax, edx
cmp eax, ecx
jae 0x100028cd
mov eax, ecx
push eax
mov ecx, 0x1011e2c4
call fcn.10003670
mov edi, dword [0x1011e2c8]
mov esi, dword [0x1011e2c4]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002900
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1011e2c8]
mov esi, dword [0x1011e2c4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x48
mov dword [0x1011e2c8], 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 0x100027a8
pop edi
pop esi
mov dword [0x10d7647c], 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 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 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x10018218]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], 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 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10d76490], ecx
mov dword [ebp - 8], 0
jbe 0x10002b49
mov ebx, dword [0x1011e2d8]
lea ecx, [esi + 0xa]
mov esi, dword [0x1011e2d4]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002a88
cmp esi, ecx
ja 0x10002a88
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1011e2dc]
jne 0x10002a74
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 0x10002b5a
mov edx, dword [0x1011e2dc]
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 0x10002a74
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
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, 0x1011e2d4
call fcn.10003760
mov ebx, dword [0x1011e2d8]
mov esi, dword [0x1011e2d4]
imul edi, edi, 0x108
add edi, esi
test ebx, ebx
je 0x10002b1b
mov esi, edi
jmp 0x10002b06
mov edi, dword [0x1011e2dc]
cmp ebx, edi
jne 0x10002aff
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 0x10002b5a
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 0x10002aff
mov edx, eax
shr edx, 1
mov esi, 0xf83e0f
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, 0x1011e2d4
call fcn.10003760
mov ebx, dword [0x1011e2d8]
mov esi, dword [0x1011e2d4]
test ebx, ebx
je 0x10002b1b
mov esi, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x1011e2d8]
mov esi, dword [0x1011e2d4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x108
mov dword [0x1011e2d8], 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 0x100029d8
pop edi
pop esi
mov dword [0x10d76480], 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 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 0x10d7b8e0
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 + 0x10d7b8e0], 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 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10d76494], ecx
mov dword [ebp - 8], 0
jbe 0x10002d6a
mov ebx, dword [0x1011e2e8]
lea ecx, [esi + 0xa]
mov esi, dword [0x1011e2e4]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jae 0x10002ca8
cmp esi, ecx
ja 0x10002ca8
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x1011e2ec]
jne 0x10002c94
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 0x10002d7b
mov edx, dword [0x1011e2ec]
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 0x10002c94
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002c75
xor eax, eax
jmp 0x10002c77
add eax, edx
cmp eax, ecx
jae 0x10002c7d
mov eax, ecx
push eax
mov ecx, 0x1011e2e4
call fcn.10003850
mov ebx, dword [0x1011e2e8]
mov esi, dword [0x1011e2e4]
imul edi, edi, 0x105
add edi, esi
test ebx, ebx
je 0x10002d3c
mov esi, edi
jmp 0x10002d26
mov edi, dword [0x1011e2ec]
cmp ebx, edi
jne 0x10002d1f
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 0x10002d7b
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 0x10002d1f
mov edx, eax
shr edx, 1
mov esi, 0xfb1885
sub esi, edx
cmp esi, eax
jae 0x10002d00
xor eax, eax
jmp 0x10002d02
add eax, edx
cmp eax, ecx
jae 0x10002d08
mov eax, ecx
push eax
mov ecx, 0x1011e2e4
call fcn.10003850
mov ebx, dword [0x1011e2e8]
mov esi, dword [0x1011e2e4]
test ebx, ebx
je 0x10002d3c
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 [0x1011e2e8]
mov esi, dword [0x1011e2e4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ebx, 0x105
mov dword [0x1011e2e8], 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 0x10002bf8
pop edi
pop esi
mov dword [0x10d76484], 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 0x10002d90
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 0x10d7b8e0
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 + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x10002db0
mov esi, dword [ebp + 8]
movzx edx, word [esi + 6]
movzx eax, byte [esi + 8]
push edx
push eax
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
movzx ecx, word [esi + 6]
add esp, 0x10
cmp byte [esi + 8], 0
mov dword [0x10d76498], ecx
mov dword [ebp - 8], 0
jbe 0x10002f9a
mov edi, dword [0x1011e2f8]
lea eax, [esi + 0xa]
mov esi, dword [0x1011e2f4]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x10002ee1
cmp esi, eax
ja 0x10002ee1
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 [0x1011e2fc]
jne 0x10002eb6
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 0x10002fab
mov edx, dword [0x1011e2fc]
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 0x10002eb6
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002e97
xor eax, eax
jmp 0x10002e99
add eax, edx
cmp eax, ecx
jae 0x10002e9f
mov eax, ecx
push eax
mov ecx, 0x1011e2f4
call fcn.10003940
mov edi, dword [0x1011e2f8]
mov esi, dword [0x1011e2f4]
mov eax, ebx
shl eax, 6
add eax, esi
add eax, ebx
test edi, edi
je 0x10002ed9
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1011e2f8]
mov esi, dword [0x1011e2f4]
mov eax, dword [ebp - 4]
jmp 0x10002f75
mov ebx, dword [0x1011e2fc]
cmp edi, ebx
jne 0x10002f5b
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 0x10002fab
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 0x10002f58
mov edx, eax
shr edx, 1
mov esi, 0x3f03f03
sub esi, edx
cmp esi, eax
jae 0x10002f39
xor eax, eax
jmp 0x10002f3b
add eax, edx
cmp eax, ecx
jae 0x10002f41
mov eax, ecx
push eax
mov ecx, 0x1011e2f4
call fcn.10003940
mov edi, dword [0x1011e2f8]
mov esi, dword [0x1011e2f4]
mov eax, dword [ebp - 4]
test edi, edi
je 0x10002f75
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x1011e2f8]
mov esi, dword [0x1011e2f4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add edi, 0x41
mov dword [0x1011e2f8], 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 0x10002e18
pop edi
pop esi
mov dword [0x10d76488], 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 0x10002fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013dc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 4], 0xb
jne 0x10003095
mov dword [ebp - 0x18], 0x7a626577
mov word [ebp - 0x14], 0x6e65
mov byte [ebp - 0x12], 0
push 0
lea eax, [ebp - 0x18]
push eax
push str.ELFtesstst
mov ecx, 0x512dc0
mov dword [ebp - 4], 0
call ecx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
add esp, 0xc
cmp byte [0x10d763fc], 0x11
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
jne 0x1000304b
push eax
push eax
mov ecx, 0x10d763f8
call dword [0x10d7643c]
cmp byte [0x10d763fc], 0x19
jne 0x10003063
push 0
push 1
mov ecx, 0x10d763f8
call dword [0x10d7643c]
cmp byte [0x10d763fc], 0x1e
jne case.0x100030ec.0
push 0
push 1
mov ecx, 0x10d763f8
call dword [0x10d7643c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012ee4
mov esp, ebp
pop ebp
ret
push 0x100
push 0
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x100030b0
mov dl, byte [eax + str.r_jj]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10d7b8e0], dl
inc eax
cmp eax, 0x100
jb 0x100030b0
movzx eax, byte [esi + 4]
push eax
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xa
ja case.default.0x100030ec
jmp dword [eax*4 + 0x1000311c]
add esi, 5
push esi
push 2
mov eax, 0x10123628
call fcn.1000fa80
mov ecx, 0x15
call fcn.100075d0
push eax
push 2
mov eax, 0x10123628
call fcn.1000fa80
mov edi, edi
jnp 0x1000314e
add byte [eax], dl
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc bl, dh
xor byte [eax], al
adc ah, cl
int3
int3
Function at 0x10003150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x10d764b0], 1
push edi
je 0x100031f8
mov ecx, dword [0x1011e2c4]
mov dword [0x10d76478], ebx
mov dword [0x10d7647c], ebx
mov dword [0x10d76480], ebx
mov dword [0x10d76484], ebx
mov dword [0x10d76488], ebx
mov dword [0x10d7648c], ebx
mov dword [0x10d76490], ebx
mov dword [0x10d76494], ebx
mov dword [0x10d76498], ebx
cmp ecx, dword [0x1011e2c8]
je 0x100031bc
mov dword [0x1011e2c8], ecx
mov ecx, dword [0x1011e2d4]
cmp ecx, dword [0x1011e2d8]
je 0x100031d0
mov dword [0x1011e2d8], ecx
mov ecx, dword [0x1011e2e4]
cmp ecx, dword [0x1011e2e8]
je 0x100031e4
mov dword [0x1011e2e8], ecx
mov ecx, dword [0x1011e2f4]
cmp ecx, dword [0x1011e2f8]
je 0x100031f8
mov dword [0x1011e2f8], ecx
mov dword [0x1012338c], ebx
mov dword [0x10123394], ebx
mov word [ebp - 0x3c], 0x38c1
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x1000321e
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x1012337c]
mov edx, dword [str.1.7.0]
mov byte [ebp - 0x3a], al
mov eax, dword [0x10d764b0]
mov dword [ebp - 0x38], eax
mov eax, dword [0x10019878]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.1000fc20
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x28]
push 0x10d7b8e0
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 + 0x10018518]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x10003270
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 0x10d7b8e0
push ebx
mov ecx, 0x1011e310
call fcn.10007010
movzx ecx, byte [ebp - 0x3b]
add esp, 0x18
lea edx, [ebp - 0x3c]
call fcn.10001900
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012ee4
mov esp, ebp
pop ebp
ret
Function at 0x10003eb0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x10123eb4]
test eax, eax
je 0x10003f23
mov ecx, dword [eax]
cmp ecx, dword [0x10123ec8]
jne 0x10003ecf
mov dl, byte [0x10123ecc]
cmp dl, byte [eax + 4]
je 0x10003f23
push 0x100
push 0
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003ef0
mov cl, byte [eax + 0x10017518]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10d7b8e0], cl
inc eax
cmp eax, 0x100
jb 0x10003ef0
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
add esp, 8
call fcn.1000f5d0
mov eax, dword [0x10123eb0]
test eax, eax
je 0x10003f93
mov edx, dword [eax]
cmp edx, dword [0x10123ec0]
jne 0x10003f41
mov cl, byte [0x10123ec4]
cmp cl, byte [eax + 4]
je 0x10003f93
push 0x100
push 0
push 0x10d7b8e0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10003f60
mov dl, byte [eax + 0x10017618]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10d7b8e0], dl
inc eax
cmp eax, 0x100
jb 0x10003f60
push 0x10d7b8e0
push 0
mov ecx, 0x1011e310
call fcn.10007010
add esp, 8
call fcn.1000f5d0
mov eax, dword [0x10123eac]
test eax, eax
je 0x10003fd0
mov ecx, dword [eax]
cmp ecx, dword [0x10123eb8]
jne 0x10003fb1
mov dl, byte [0x10123ebc]
cmp dl, byte [eax + 4]
je 0x10003fd0
mov eax, 0x11
call fcn.1000fce0
push eax
push 0
mov ecx, 0x1011e310
call fcn.10007010
add esp, 8
call fcn.1000f5d0
pop ecx
ret
Function at 0x100066f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x57
xor ecx, ecx
jmp 0x10006700
mov al, byte [edi + ecx - 0x3661ab76]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x2d
jb 0x10006700
mov byte [esi + 0x2d], 0
mov eax, esi
ret

Function at 0x10006720
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xf0
xor ecx, ecx
jmp 0x10006730
mov al, byte [edi + ecx + 0x79ddc0fb]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1e
jb 0x10006730
mov byte [esi + 0x1e], 0
mov eax, esi
ret

Function at 0x10006750
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7f
xor ecx, ecx
jmp 0x10006760
mov al, byte [edi + ecx + 0x7b9bf7eb]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xb
jb 0x10006760
mov byte [esi + 0xb], 0
mov eax, esi
ret

Function at 0x10006810
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xf3
xor ecx, ecx
jmp 0x10006820
mov al, byte [edi + ecx - 0x2b8b1aec]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xc
jb 0x10006820
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x10006840
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xae
xor ecx, ecx
jmp 0x10006850
mov al, byte [edi + ecx - 0x37b821da]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xe
jb 0x10006850
mov byte [esi + 0xe], 0
mov eax, esi
ret
Function at 0x10006c60
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push closesocket
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006cb3
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10006cc6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012ee4
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x10006cfd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012ee4
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10006d3b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10006d34
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10006d34
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x10006d5b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012ee4
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10012ee4
mov esp, ebp
pop ebp
ret 8