joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008dec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdf9d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ce040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x1008dffd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x1008df47
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1008df32
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10023dc0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x1008df61
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x1008dfa6
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x1008df93
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x1008dfa6
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1002a4e0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x1008dfd5
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1008dfc1
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x1008dfe5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1008dff8
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x1008dffd
mov eax, dword [ebp - 0x14]
jmp 0x1008df1e
mov edi, dword [edi + 0x18]
jmp 0x1008dfff
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x1008e037
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1008e02d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008e02d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100b57e7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b536c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008e060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdf9d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ce040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x1008e19d
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x1008e0e7
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1008e0d2
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10023dc0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x1008e101
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x1008e146
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x1008e133
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x1008e146
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1002a4e0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x1008e175
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1008e161
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x1008e185
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1008e198
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x1008e19d
mov eax, dword [ebp - 0x14]
jmp 0x1008e0be
mov edi, dword [edi + 0x18]
jmp 0x1008e19f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x1008e1d7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1008e1cd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008e1cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100b57e7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b536c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008ea20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1008ea51
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10029d10
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1008eb5c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1008eae1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1008eb52
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1008eb1b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1008eb13
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1008eb4f
cmp edi, edx
je 0x1008eb2c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1008eb65
cmp edi, edx
jne 0x1008eb20
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1008ea90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1008eb4f

Function at 0x10090220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1009024b
push 0
push 0
push 0
push 0x10027590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1009024b
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x10099fc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be75b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x100ce040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100f6cfc]
mov dword [ebp - 0x38], ecx
test al, 1
jne 0x1009a11e
or eax, 1
mov dword [0x100f6cfc], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c3f50]
xorps xmm0, xmmword [0x100c41a0]
mov dword [ebp - 0x24], 0x66760566
mov dword [ebp - 0x20], 0x77660076
mov dword [ebp - 0x1c], 0x707e6677
mov byte [ebp - 0x18], 0x46
movups xmmword [ebp - 0x34], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x34], 0x46
inc eax
cmp eax, 0x1d
jb 0x1009a050
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009a076
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.1001fd30
mov byte [ebp - 4], 1
mov edx, dword [0x100f19e4]
test edx, edx
je 0x1009a09f
mov edx, dword [edx + 0x50]
jmp 0x1009a0a1
xor edx, edx
mov eax, dword [0x100f19dc]
test eax, eax
je 0x1009a0af
mov eax, dword [eax + 0x18]
jmp 0x1009a0b1
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10019b90
mov eax, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x1009a0d8
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x1009a0d3
xor eax, eax
jmp 0x1009a0d8
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [0x100f6d00], eax
cmp ecx, 0xf
jbe 0x1009a117
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009a10d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009a10d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b57e7
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x100f6d00], 0
je 0x1009a13c
push 0
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ebx + 0xc]
movss xmm2, dword [ebx + 8]
call dword [0x100f6d00]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100a3a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100a3b91
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100a3b91
mov eax, dword [0x100f1a90]
cmp dword [eax + 0x174], 0xffffffff
je 0x100a3b91
mov eax, dword [0x100f1d28]
add eax, 0xffffff8f
xor eax, 0xc3b26bcb
cmp dword [eax + ebx], 0
mov eax, dword [0x100f1cec]
setle cl
add eax, 0xffffff9e
xor eax, 0xc3b26bbc
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x100f1ce0]
add eax, 0xffffffa1
xor eax, 0xc3b26bb9
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x100f1ce4]
add eax, 0xffffffa0
xor eax, 0xc3b26bba
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x100f1ce8]
lea eax, [ecx - 0x61]
xor eax, 0xc3b26bbb
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100a3aee
lea eax, [ecx - 0x61]
xor eax, 0xc3b26bbb
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100a3ae6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a3ada
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100a3ad7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x100f1ce8]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100a3aa3
lea eax, [ecx - 0x61]
xor eax, 0xc3b26bbb
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100f1aa4]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100a3b82
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100a3b46
xor edx, edx
test ecx, ecx
je 0x100a3b6c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a3b53
cmp edi, 0x79705c5e
je 0x100a3b77
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100a3b82
mov ecx, dword [ebp - 4]
jmp 0x100a3b30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100a3b84
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x100f1b78]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a9630
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100befdd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ce040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x100f1a90]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x100ce148], 4
jne 0x100a9699
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x100f1a38]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x100f6d14], 0
jne 0x100a97cf
movaps xmm0, xmmword [0x100c4260]
xor eax, eax
movaps xmm2, xmmword [0x100c3f50]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x1c], 0x500
movaps xmm0, xmmword [0x100c4000]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1a], 0x46
nop
movups xmm0, xmmword [ebp + eax - 0x3c]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x3c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100a96d0
cmp eax, 0x23
jae 0x100a96fb
nop dword [eax]
xor byte [ebp + eax - 0x3c], 0x46
inc eax
cmp eax, 0x23
jb 0x100a96f0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9716
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1001fd30
mov dword [ebp - 4], 0
mov edx, dword [0x100f19f0]
test edx, edx
je 0x100a9742
mov edx, dword [edx + 0x50]
jmp 0x100a9744
xor edx, edx
mov eax, dword [0x100f19e8]
test eax, eax
je 0x100a9752
mov eax, dword [eax + 0x18]
jmp 0x100a9754
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1003efe0
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x40]
inc edi
cmp ecx, 0xf
jbe 0x100a979e
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a9794
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a9794
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b57e7
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x100f6d14], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b536c
mov esp, ebp
pop ebp
ret
Function at 0x41a7f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x41a7fb
xor eax, eax
ret 4
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp esi, 8
not eax
jb 0x41a8fa
push edi
mov edi, esi
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x433258]
sub esi, 8
xor eax, ebx
inc edx
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x433258]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x433258]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x433258]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x433258]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov ecx, dword [ecx*4 + 0x433258]
shr eax, 8
xor ecx, eax
inc edx
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
mov eax, dword [eax*4 + 0x433258]
shr ecx, 8
xor eax, ecx
inc edx
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x433258]
xor eax, ecx
inc edx
dec edi
jne 0x41a812
pop edi
test esi, esi
je 0x41a91c
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x433258]
xor eax, ecx
inc edx
dec esi
jne 0x41a8fe
pop esi
pop ebx
not eax
ret 4
Function at 0x41e740
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [0x444de8]
test eax, eax
je 0x41e7f6
mov byte [esp + 3], cl
mov ecx, dword [0x43f1a0]
push 0
lea eax, [esp + 6]
push 2
push eax
push ecx
mov byte [esp + 0x12], 1
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x41e7f6
push str.Write:_Socket_Error
call fcn.0041e5d0
mov eax, dword [0x444de8]
add esp, 4
test eax, eax
je 0x41e7f6
mov eax, dword [0x43f1a0]
cmp eax, 0xffffffff
je 0x41e7a5
push eax
call sub.WS2_32.dll_closesocket
mov dword [0x43f1a0], 0xffffffff
push esi
push str.Disconnected._n
call fcn.0041e5d0
mov edx, dword [0x444dc8]
add esp, 4
mov dword [0x444de8], 0
push str.Connect_to_remote...
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x444dd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call esi
mov ecx, dword [0x444dd4]
push 1
push ecx
call esi
mov edx, dword [0x444dc4]
push 1
push edx
call esi
pop esi
pop ecx
ret

Function at 0x41e800
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [0x444de8]
sub esp, 8
test eax, eax
je 0x41e8fa
mov ecx, dword [0x43f1a0]
push 2
lea eax, [esp + 6]
push 2
push eax
push ecx
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
jne 0x41e8ca
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x41e8fa
push str.Read:_Socket_Error
call fcn.0041e5d0
mov eax, dword [0x444de8]
add esp, 4
test eax, eax
je 0x41e8bf
mov eax, dword [0x43f1a0]
cmp eax, 0xffffffff
je 0x41e86e
push eax
call sub.WS2_32.dll_closesocket
mov dword [0x43f1a0], 0xffffffff
push esi
push str.Disconnected._n
call fcn.0041e5d0
mov edx, dword [0x444dc8]
add esp, 4
mov dword [0x444de8], 0
push str.Connect_to_remote...
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x444dd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call esi
mov ecx, dword [0x444dd4]
push 1
push ecx
call esi
mov edx, dword [0x444dc4]
push 1
push edx
call esi
pop esi
xor ecx, ecx
call fcn.00423150
add esp, 8
ret
mov eax, dword [esp + 2]
and eax, 0xff
dec eax
jne 0x41e8fa
mov ecx, dword [0x43f1a0]
push 0
lea eax, [esp + 6]
push 2
push eax
push ecx
call sub.WS2_32.dll_recv
mov ecx, dword [esp + 3]
and ecx, 0xff
call fcn.00423150
add esp, 8
ret
Function at 0x41ea70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [0x444de8]
sub esp, 8
test eax, eax
push esi
push edi
mov edi, ecx
je 0x41eb79
xor esi, esi
mov ecx, dword [0x43f1a0]
push 2
lea eax, [esp + 0xe]
push 2
push eax
push ecx
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
jne 0x41eb5e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x41eb6f
mov edx, dword [0x444dcc]
push 0
push 0
push 0x184
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x444dc0], 0
push str.Read:_Socket_Error__connection_broken.
call fcn.0041e5d0
mov eax, dword [0x444de8]
add esp, 4
test eax, eax
je 0x41eb79
mov eax, dword [0x43f1a0]
cmp eax, 0xffffffff
je 0x41eb08
push eax
call sub.WS2_32.dll_closesocket
mov dword [0x43f1a0], 0xffffffff
push str.Disconnected._n
call fcn.0041e5d0
mov eax, dword [0x444dc8]
add esp, 4
mov dword [0x444de8], 0
push str.Connect_to_remote...
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [0x444dd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push ecx
call esi
mov edx, dword [0x444dd4]
push 1
push edx
call esi
mov eax, dword [0x444dc4]
push 1
push eax
call esi
xor eax, eax
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 0xa]
and eax, 0xff
sub eax, 0
je 0x41ebad
dec eax
je 0x41eb81
inc esi
cmp esi, 3
jl 0x41ea86
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [0x43f1a0]
push 0
lea ecx, [esp + 0xe]
push 2
push ecx
push edx
call sub.WS2_32.dll_recv
mov ecx, dword [esp + 0xb]
and ecx, 0xff
call fcn.00423150
xor eax, eax
pop edi
pop esi
add esp, 8
ret
test edi, edi
je 0x41ebb7
mov al, byte [esp + 0xb]
mov byte [edi], al
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x42e961
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x443eb8
cmp edx, dword [eax]
je 0x42e983
add eax, 8
inc ecx
cmp eax, 0x443f48
jl 0x42e974
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x443eb8]
jne 0x42eab1
mov eax, dword [0x4450d8]
cmp eax, 1
je 0x42ea8b
test eax, eax
jne 0x42e9b4
cmp dword [0x441754], 1
je 0x42ea8b
cmp edx, 0xfc
je 0x42eab1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x42e9eb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042de30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042eac0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42ea2e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042eac0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x433ebc
push edi
call fcn.00428dc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042de30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042de40
lea eax, [ebp - 0xa0]
push 0x433e9c
push eax
call fcn.0042de40
push dword [esi + 0x443ebc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042de40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00430581
add esp, 0x2c
pop edi
jmp 0x42eab1
lea eax, [ebp + 8]
lea esi, [esi + 0x443ebc]
push 0
push eax
push dword [esi]
call fcn.0042eac0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret