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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb20c6b
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb20c8f
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0xb20c7f
mov eax, dword [ebx + 0x20]
mov edi, eax
and edi, edx
cmp dword [ebx + 0x24], edi
ja 0xb20ca4
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add edi, ecx
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + edi*8]
nop
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
cmp dword [ecx + edi*8], eax
lea ecx, [ecx + edi*8]
je 0xb20cbe
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp esi, eax
je 0xb20d39
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0xb20ce0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb20cea
mov esi, dword [esi]
jmp 0xb20cab
push 0x80004005
call fcn.00af4aab
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
cmp dword [ecx + edi*8], eax
lea ecx, [ecx + edi*8]
je 0xb20d00
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp esi, eax
je 0xb20d22
mov eax, dword [esi + 8]
test eax, eax
je 0xb20ce0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
jne 0xb20d22
mov esi, dword [esi]
jmp 0xb20ced
mov ecx, dword [ebp - 4]
cmp ecx, esi
je 0xb20d39
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], esi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0xb20e4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb20e5b
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb20e7f
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0xb20e6f
mov eax, dword [ebx + 0x20]
mov esi, eax
and esi, edx
cmp dword [ebx + 0x24], esi
ja 0xb20e94
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add esi, ecx
mov edx, dword [ebx + 0x10]
mov edi, dword [edx + esi*8]
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + esi*8], ecx
lea eax, [eax + esi*8]
je 0xb20eb0
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp edi, ecx
je 0xb20f30
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
je 0xb20ed2
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb20edf
mov edi, dword [edi]
jmp 0xb20e9d
push 0x80004005
mov dword [ebp - 4], edi
call fcn.00af4aab
mov eax, dword [edi + 8]
mov dword [ebp - 4], edi
test eax, eax
jne 0xb20ef3
push 0x80004005
call fcn.00af4aab
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb20f1e
mov edx, dword [ebx + 4]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
pop edi
mov dword [eax], edx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0xb20f4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb20f5b
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb20f7f
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0xb20f6f
mov eax, dword [ebx + 0x20]
mov edi, eax
and edi, edx
cmp dword [ebx + 0x24], edi
ja 0xb20f94
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add edi, ecx
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + edi*8]
nop
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + edi*8], ecx
lea eax, [eax + edi*8]
je 0xb20fae
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0xb21029
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
je 0xb20fd0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb20fda
mov esi, dword [esi]
jmp 0xb20f9b
push 0x80004005
call fcn.00af4aab
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
cmp dword [eax + edi*8], ecx
lea eax, [eax + edi*8]
je 0xb20ff0
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0xb21012
mov eax, dword [esi + 8]
test eax, eax
je 0xb20fd0
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
jne 0xb21012
mov esi, dword [esi]
jmp 0xb20fdd
mov ecx, dword [ebp - 4]
cmp ecx, esi
je 0xb21029
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], esi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0xb2141b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb2142c
sub eax, ebx
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb21450
movsx ebx, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, ebx
cmp ecx, eax
jne 0xb21440
mov ecx, dword [edi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [edi + 0x24], eax
ja 0xb21465
shr ecx, 1
or edx, reloc.MSVCRT.dll_strncpy
sub edx, ecx
add eax, edx
mov ecx, dword [edi + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0xb2148e
cmp dword [ecx], esi
jne 0xb21486
mov edx, dword [edi + 4]
mov dword [ecx], edx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x10]
mov dword [edx + eax*8 + 4], ecx
jmp 0xb21496
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0xb21496
cmp dword [ecx], esi
jne 0xb21499
mov edx, dword [esi]
mov dword [ecx], edx
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
mov ebx, esi
cmp esi, dword [edi + 4]
je 0xb214c9
mov edx, dword [esi + 4]
mov dword [edx], ecx
mov edx, dword [esi + 4]
mov ecx, dword [ebx]
lea esi, [ebx + 8]
mov dword [ecx + 4], edx
call fcn.00b0e6fb
push ebx
call fcn.00c46864
mov ecx, dword [ebp - 4]
add esp, 4
dec dword [edi + 8]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0xb2156b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb2157b
sub eax, ebx
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb2159f
movsx ebx, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, ebx
cmp ecx, eax
jne 0xb2158f
mov ecx, dword [esi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [esi + 0x24], eax
ja 0xb215b4
shr ecx, 1
or edx, reloc.MSVCRT.dll_strncpy
sub edx, ecx
add eax, edx
mov ecx, dword [esi + 0x10]
cmp dword [ecx + eax*8 + 4], edi
lea ecx, [ecx + eax*8]
jne 0xb215dd
cmp dword [ecx], edi
jne 0xb215d5
mov edx, dword [esi + 4]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0xb215e5
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0xb215e5
cmp dword [ecx], edi
jne 0xb215e8
mov edx, dword [edi]
mov dword [ecx], edx
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi]
cmp edi, dword [esi + 4]
je 0xb2160f
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [edx + 4], eax
mov eax, edi
call fcn.00b2202b
push edi
call fcn.00c46864
add esp, 4
dec dword [esi + 8]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ebx
pop ebx
pop ebp
ret 8
Function at 0xb2228b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, ecx
push edi
mov dword [esp + 0x14], esi
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb222ab
sub eax, edi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb222cf
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, edi
cmp ecx, eax
jne 0xb222bf
mov eax, dword [esi + 0x20]
mov ebx, eax
and ebx, edx
cmp dword [esi + 0x24], ebx
ja 0xb222e4
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add ebx, ecx
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 4]
mov ecx, dword [eax + ebx*8]
lea edx, [esi + 4]
lea eax, [eax + ebx*8]
mov dword [esp + 0x10], edx
cmp edi, ecx
je 0xb22334
mov eax, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ecx
je 0xb22334
lea esp, [esp]
mov edi, dword [edi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0xb22383
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb2237a
mov edx, dword [esi + 0x10]
cmp edi, dword [edx + ebx*8]
jne 0xb2230b
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp edi, eax
je 0xb22357
push eax
push ecx
push edi
mov eax, 1
mov esi, edx
call fcn.00b21e3b
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x14], eax
lea eax, [edx + ebx*8]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
cmp edx, dword [esp + 0x14]
jne 0xb223c6
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
mov dword [eax + ebx*8 + 4], ecx
jmp 0xb223ec
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0xb2238d
push 0x80004005
call fcn.00af4aab
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb223a2
mov edi, dword [edi]
jmp 0xb22330
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00b2191b
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, edi
jne 0xb223ce
mov dword [eax], ecx
jmp 0xb223ec
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0x10]
je 0xb223ec
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea ebx, [eax + ebx*8 + 4]
mov dword [ebx], edx
mov edi, esi
call fcn.00b2283b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb2240b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb2242b
sub eax, edi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb2244f
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, edi
cmp ecx, eax
jne 0xb2243f
mov eax, dword [esi + 0x20]
mov ebx, eax
and ebx, edx
cmp dword [esi + 0x24], ebx
ja 0xb22464
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add ebx, ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + ebx*8]
mov edi, dword [esi + 4]
lea eax, [edx + ebx*8]
lea edx, [esi + 4]
mov dword [esp + 0x14], edx
cmp edi, ecx
je 0xb224c0
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov edi, eax
mov dword [esp + 0x10], eax
cmp edi, ecx
je 0xb224c0
nop
mov esi, dword [edi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], esi
test eax, eax
je 0xb2250d
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb22507
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov edi, esi
cmp esi, dword [edx + ebx*8]
jne 0xb2248b
mov esi, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp edi, eax
je 0xb224e3
push eax
push ecx
push edi
mov eax, 1
mov esi, edx
call fcn.00b21eab
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov esi, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
mov dword [esp + 0x14], ecx
cmp esi, dword [edx]
jne 0xb22559
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edx + ebx*8 + 4], eax
jmp 0xb22583
mov eax, dword [edi]
test eax, eax
jne 0xb22517
push 0x80004005
call fcn.00af4aab
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb22536
mov eax, dword [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0xb224bc
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
push ecx
lea ebx, [esp + 0x18]
call fcn.00b2196b
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, edi
jne 0xb22561
mov dword [eax], ecx
jmp 0xb22583
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0x14]
je 0xb22583
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea ebx, [eax + ebx*8 + 4]
mov dword [ebx], edx
mov edi, dword [esp + 0xc]
call fcn.00b2290b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb23b9b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x20]
push edi
mov edi, ebx
or edi, ecx
cdq
jne 0xb23c0b
mov ebx, eax
mov ecx, edx
movzx edx, byte [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [esi], 0
setne al
and edx, 7
mov edi, 2
add eax, eax
add eax, eax
add eax, eax
or eax, edx
movzx edx, byte [ebp + 0x10]
shl eax, 4
and edx, 0xf
or eax, edx
mov edx, dword [ebp + 0x14]
mov dword [esi], eax
xor eax, eax
test edx, edx
setne al
shl eax, 0xf
or dword [esi], eax
test ecx, ecx
ja 0xb23c4d
jb 0xb23bfe
cmp ebx, 0x7e
jae 0xb23c23
movzx ecx, bl
and ecx, 0x7f
shl ecx, 8
or dword [esi], ecx
jmp 0xb23c79
cmp ecx, edx
ja 0xb23bb4
jb 0xb23c15
cmp ebx, eax
jae 0xb23bb4
push 0x57
call dword [0x1017119c]
xor eax, eax
pop edi
pop ebx
pop ebp
ret
test ecx, ecx
ja 0xb23c4d
jb 0xb23c31
cmp ebx, 0xffff
ja 0xb23c4d
or dword [esi], reloc.MSVCRT.dll_strncpy
push ebx
call dword [0x10171324]
movzx edx, ax
shl edx, 0x10
or dword [esi], edx
mov edi, 4
jmp 0xb23c76
mov edi, dword [reloc.MSVCRT.dll_strncpy]
or dword [esi], reloc.MSVCRT.dll_strncpy
push ecx
call edi
push ebx
mov dword [ebp + 0x20], eax
call edi
xor ecx, ecx
or ecx, dword [ebp + 0x20]
mov edx, eax
xor eax, eax
or edx, eax
mov dword [esi + 2], ecx
mov dword [esi + 6], edx
lea edi, [eax + 0xa]
mov edx, dword [ebp + 0x14]
test edx, edx
je 0xb23ca2
mov eax, dword [edx]
mov dword [edi + esi], eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
jle 0xb23c9f
mov edi, edi
mov ecx, eax
and ecx, 3
mov bl, byte [ecx + edx]
mov ecx, dword [ebp + 0x18]
xor byte [eax + ecx], bl
inc eax
cmp eax, dword [ebp + 0x1c]
jl 0xb23c8b
add edi, 4
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
mov eax, 1
pop ebx
pop ebp
ret
Function at 0xb2436b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0xb2437d
sub ecx, esi
add ecx, eax
mov edx, eax
mov esi, 0x811c9dc5
cmp eax, ecx
je 0xb243ab
jmp 0xb2439b
movsx ebx, byte [edx]
imul esi, esi, 0x1000193
inc edx
xor esi, ebx
cmp edx, ecx
jne 0xb2439b
mov edx, dword [edi + 0x20]
mov ecx, edx
and ecx, esi
cmp dword [edi + 0x24], ecx
ja 0xb243c0
shr edx, 1
or esi, reloc.MSVCRT.dll_strncpy
sub esi, edx
add ecx, esi
mov edx, dword [edi + 0x10]
mov edi, dword [edi + 4]
lea ecx, [edx + ecx*8]
mov edx, dword [ecx]
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], esi
jmp 0xb243db
cmp edx, edi
jne 0xb243e3
mov ecx, edi
jmp 0xb243e8
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0xb2448d
mov ecx, dword [esi + 8]
mov edx, eax
lea ebx, [ebx]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0xb2441b
test bl, bl
je 0xb24417
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0xb2441b
add ecx, 2
add edx, 2
test bl, bl
jne 0xb243fb
xor ecx, ecx
jmp 0xb24420
sbb ecx, ecx
sbb ecx, reloc.MSVCRT.dll_strncpy
test ecx, ecx
je 0xb2442e
mov esi, dword [esi]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
jmp 0xb243db
mov edx, dword [esi + 8]
mov dword [ebp - 4], esi
mov ecx, eax
jmp 0xb2443b
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0xb2445b
test bl, bl
je 0xb24457
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0xb2445b
add ecx, 2
add edx, 2
test bl, bl
jne 0xb2443b
xor ecx, ecx
jmp 0xb24460
sbb ecx, ecx
sbb ecx, reloc.MSVCRT.dll_strncpy
test ecx, ecx
je 0xb2447a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
pop edi
lea ecx, [ebp - 0xc]
mov edx, dword [ecx]
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
pop edi
lea ecx, [ebp - 4]
mov edx, dword [ecx]
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ebp - 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb2450b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, ecx
mov eax, esi
mov dword [esp + 0x14], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xb2452b
sub eax, edx
add eax, esi
mov ecx, esi
mov edx, 0x811c9dc5
cmp esi, eax
je 0xb24551
movsx ebx, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, ebx
cmp ecx, eax
jne 0xb24541
mov eax, dword [edi + 0x20]
mov ecx, eax
and ecx, edx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x24], ecx
ja 0xb2456e
shr eax, 1
or edx, reloc.MSVCRT.dll_strncpy
sub edx, eax
add ecx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 4]
lea edx, [edi + 4]
mov edi, dword [edi + 0x10]
lea ecx, [edi + ecx*8]
mov edi, dword [ecx]
mov dword [esp + 0xc], edx
cmp edi, eax
jne 0xb24588
mov ebx, eax
jmp 0xb2458d
mov eax, dword [ecx + 4]
mov ebx, dword [eax]
cmp ebx, edi
je 0xb245cc
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xb245bb
test dl, dl
je 0xb245b7
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xb245bb
add eax, 2
add ecx, 2
test dl, dl
jne 0xb2459b
xor eax, eax
jmp 0xb245c0
sbb eax, eax
sbb eax, reloc.MSVCRT.dll_strncpy
test eax, eax
je 0xb2460b
cmp ebx, edi
jne 0xb24591
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp ebx, eax
je 0xb245e6
push eax
push ecx
push ebx
mov ecx, edx
call fcn.00b227cb
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax*8]
mov edx, dword [eax]
cmp edx, esi
jne 0xb24660
mov dword [eax], ecx
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
mov dword [edx + eax*8 + 4], ecx
jmp 0xb24684
mov eax, dword [ebx + 8]
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xb24630
test dl, dl
je 0xb2462c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xb24630
add eax, 2
add ecx, 2
test dl, dl
jne 0xb24610
xor eax, eax
jmp 0xb24635
sbb eax, eax
sbb eax, reloc.MSVCRT.dll_strncpy
test eax, eax
je 0xb2463d
mov ebx, dword [ebx]
jmp 0xb245c8
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0xc]
push ecx
lea edi, [esp + 0x18]
call fcn.00b21a0b
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, ebx
je 0xb24682
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [eax + 4], edx
cmp edx, ecx
je 0xb24684
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8 + 4]
mov ecx, dword [edx + 4]
mov dword [eax], ecx
call fcn.00b246ab
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], edx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb26a8b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0xc]
push edi
test eax, eax
je 0xb26abd
lea ecx, [ebp - 4]
push ecx
push eax
call dword [0x10171084]
test eax, eax
je 0xb26abd
xor eax, eax
cmp dword [ebp - 4], 0x103
sete al
test eax, eax
jne 0xb26b7b
mov eax, dword [esi + 0xc]
test eax, eax
je 0xb26aed
push eax
call dword [0x1017118c]
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
push 0x18
call fcn.00c468cf
add esp, 4
test eax, eax
je 0xb26b17
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov edi, eax
jmp 0xb26b19
xor edi, edi
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 8]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x10]
lea eax, [esi + 8]
push eax
push 0
push edi
push 0x10034b20
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x14]
push 0
push 0
mov dword [esi + 0x24], edx
call fcn.00c4864d
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0xb26b90
push 0x65f
call dword [0x1017119c]
push edi
xor esi, esi
call fcn.00c46864
add esp, 4
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x139f
call dword [0x1017119c]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc