joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d60
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.004088d0
add esp, 8
test eax, eax
je 0x401dc4
mov esi, eax
jmp 0x401da4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.004088d0
add esp, 8
mov esi, eax
test eax, eax
je 0x401dc4
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004017d0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x401d90
cmp dword [eax + 4], 4
jne 0x401d90
mov edi, dword [eax + 8]
jmp 0x401d90
xor eax, eax
test edi, edi
je 0x401e2b
test ebp, ebp
je 0x401e2b
push ebp
call fcn.00408860
add esp, 4
test eax, eax
je 0x401e0b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x401e12
inc ebx
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebx
jne 0x401df0
jmp 0x401e14
mov esi, 0x1505
jmp 0x401e14
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x401e33
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x401e54
inc ebx
dec ecx
je 0x401e29
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401e29
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x401e50
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.00408860
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x401e50
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.00408880
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x401e50
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401e2b
Function at 0x401f50
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x401fbd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401fbd
push esi
call fcn.00408860
add esp, 4
test eax, eax
je 0x401f9a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401fa1
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x401f80
jmp 0x401fa3
mov ebx, 0x1505
jmp 0x401fa3
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x401fc5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401fd4
inc ebp
dec edi
je 0x401fbb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401fbb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401fd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408860
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401fd0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408880
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401fd0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401fbd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401fbd
Function at 0x4021e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x4022f2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4022f2
cmp dword [esp + 0x2c], 0
je 0x4022f2
push esi
call fcn.00408860
add esp, 4
test eax, eax
je 0x40224a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402251
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x402230
jmp 0x402253
mov ebx, 0x1505
jmp 0x402253
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x4022fa
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4022b7
call fcn.004023f0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4022f2
push ecx
call fcn.00408860
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40236d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402318
inc edi
dec esi
je 0x40226c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402271
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402310
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.00408860
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402310
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.00408880
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402310
mov eax, 0xffffffff
jmp 0x4022f2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402388
inc edi
dec esi
je 0x4022b2
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4022b7
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402380
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00408860
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402380
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.00408880
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402380
jmp 0x4022b7
Function at 0x402b30
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402cd6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402ccf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x402bc5
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x402ccf
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x402c3e
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x402be0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x402b8d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x402c80
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x402c60
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b80
jmp 0x402c8f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b80
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x402ca0
jmp 0x402b80
shl ecx, 0x10
or ecx, edi
jmp 0x402cdb
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x402d53
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x402d55
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43f80c]
mov eax, ebx
xor eax, 0x3ffffff0
mov ebp, ebx
or ebp, 0xf
and ebp, eax
mov eax, ebx
shr edi, 4
and ebx, edi
add edi, ebp
add ebx, ebx
sub edi, ebx
shr eax, 4
xor eax, dword [edi*4 + 0x43f80c]
inc esi
cmp edx, esi
jne 0x402d10
not eax
jmp 0x402d55
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408de0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov edx, dword [esp + 0xc]
mov dword [0x448178], edx
mov eax, 1
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
shr esi, 0x1e
mov edi, esi
and edi, edx
add esi, edx
add edi, edi
sub esi, edi
imul edx, esi, 0x6c078965
lea esi, [ecx + edx]
inc esi
mov dword [ecx*4 + 0x44817c], esi
cmp ecx, 0x26e
je 0x408e56
mov edi, esi
shr edi, 0x1e
and edi, esi
add edi, edi
add edx, eax
mov esi, edx
shr esi, 0x1e
add esi, edx
sub esi, edi
imul edx, esi, 0x6c078965
add edx, ecx
add edx, 2
mov dword [ecx*4 + 0x448180], edx
add eax, 2
add ecx, 2
jmp 0x408e00
mov dword [0x448174], 0x270
pop esi
pop edi
ret

Function at 0x408e80
Capabilities:
Terminate process

Disassembly:
push ebx
push edi
push esi
call fcn.00437e30
test al, al
je 0x408f8a
call fcn.00430ee0
test al, al
je 0x408f85
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edi, 0x1aaba78d
mov esi, 0xffdb51fa
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
je 0x408ebd
mov esi, edi
xor edi, edi
xor esi, 0xffdb51fa
xor edi, 0x1aaba78d
mov ecx, 0xf58cced5
mov eax, esi
mul ecx
imul ecx, esi, 0xfd7f5d1a
imul esi, edi, 0xf58cced5
add esi, edx
add esi, ecx
mov edi, esi
shr edi, 0x15
xor edi, esi
shld esi, eax, 0xb
xor esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408f30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov edx, 0xe98c51a3
mov eax, esi
mul edx
imul esi, esi, 0xe4becc5f
imul ebx, edi, 0xe98c51a3
add ebx, edx
add ebx, esi
mov esi, eax
shrd esi, ebx, cl
mov edi, ebx
shr edi, cl
test cl, 0x20
je 0x408f2c
mov esi, edi
xor edi, edi
xor edi, ebx
xor esi, eax
mov eax, esi
and eax, 0xfefefefe
mov ecx, edi
and ecx, 0xfefefefe
mov edx, edi
xor edx, 0x1010101
mov ebx, esi
xor ebx, 0x1010101
add ebx, esi
adc edx, edi
mov esi, edx
xor esi, ecx
mov edi, ebx
xor edi, eax
not ecx
not eax
and eax, ebx
and ecx, edx
shld ecx, eax, 1
add eax, eax
sub eax, edi
sbb ecx, esi
push ecx
push eax
call fcn.0040a1f0
add esp, 8
test al, al
je 0x408f85
call fcn.0040d2f0
call fcn.0040be10
call fcn.00439520
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408fa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x409009
mov eax, 0x270
mov edx, SysReAllocString
mov esi, 0x270
nop
nop
nop
nop
mov ebp, dword [ecx + esi*4 - 0x9bc]
and ebp, edx
mov edi, dword [ecx + esi*4 - 0x9b8]
mov ebx, edi
and ebx, 0x7ffffffe
or ebx, ebp
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 - 0x388]
shr ebx, 1
xor edi, ebx
mov dword [ecx + esi*4 + 4], edi
mov edi, esi
and edi, 1
xor esi, 1
lea esi, [esi + edi*2]
cmp esi, 0x4e0
jb 0x408fc0
jmp 0x40901b
cmp eax, 0x4e0
jb 0x40901b
mov esi, ecx
call fcn.00409060
mov ecx, esi
mov eax, dword [esi]
mov edx, eax
xor edx, 1
mov esi, eax
and esi, 1
lea edx, [edx + esi*2]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x409060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
nop
mov edx, esi
xor edx, 0x7fffffff
or esi, 0x80000000
and esi, edx
mov edx, dword [ecx + eax*4 - 0x630]
mov edi, edx
and edi, 0x7fffffff
or edi, esi
mov esi, edi
shr esi, 1
and edi, 1
neg edi
and edi, 0x9908b0df
xor esi, dword [ecx + eax*4]
xor esi, edi
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
mov esi, edx
cmp eax, 0x4e1
jne 0x409070
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x4090d0
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edx
and esi, eax
add esi, esi
sub eax, esi
add eax, edx
mov edx, dword [ecx + 0x634]
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
ret
Function at 0x40a1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x44955c]
mov dword [esp + 0x1a8], 0x1f1e1118
mov word [esp + 0x1ac], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
xor edx, 5
mov esi, ecx
or esi, 2
and esi, edx
mov edi, ecx
and edi, 5
mov edx, ecx
xor edx, 0xfa
add edx, esi
sub edx, edi
add edx, ecx
xor dl, byte [esp + ecx + 0x1a8]
add dl, 0x1e
mov byte [esp + ecx + 0x1a8], dl
inc ecx
cmp ecx, 6
jne 0x40a220
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x18], 0x118b1f95
mov dword [esp + 0x1c], 0x15731342
mov dword [esp + 0x20], 0x9441741
mov dword [esp + 0x24], 0xd6e0b56
mov dword [esp + 0x28], 0x1920f90
mov word [esp + 0x2c], 0x300
mov dword [esp + 0x2e], 0
mov byte [esp + 0x32], 0
xor edx, edx
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x85
xor bl, byte [esp + edx + 0x18]
add bl, 0x67
mov byte [esp + edx + 0x18], bl
inc edx
cmp edx, 0x1b
jne 0x40a2a0
lea ebp, [esp + 0x18]
push ecx
push 0
push ebp
call eax
mov ecx, dword [0x442b38]
mov edx, 0x6e8f8632
xor edx, dword [0x442b3c]
add ecx, edx
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
Function at 0x40af10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
movzx ebx, byte [edx]
test bl, bl
je 0x40b173
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x40af4c
cmp edx, esi
jae 0x40b173
test edi, edi
je 0x40b173
movzx ebp, bl
test bl, bl
js 0x40af80
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x28]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x40af40
jmp 0x40b173
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x40afc7
cmp bl, 0xc2
jb 0x40af70
movzx esi, byte [edx + 1]
mov ecx, esi
xor ecx, 0xffffff3f
mov ebx, esi
or ebx, 0xc0
and ebx, ecx
cmp ebx, 0x80
jne 0x40b152
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0x40b075
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x40aff5
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x40b02d
cmp ebp, 0xe0
jne 0x40b036
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x40af6c
jmp 0x40b036
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x40b158
cmp bl, 0xf4
ja 0x40af70
movzx ecx, byte [edx + 1]
je 0x40b080
cmp ebp, 0xf0
jne 0x40b089
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x40af6c
jmp 0x40b089
cmp cl, 0x9f
ja 0x40af6c
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b152
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b15f
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0x40af62
cmp cl, 0x8f
ja 0x40af6c
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b152
mov bh, byte [edx + 2]
movzx ebp, bh
mov esi, ebp
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b15f
mov dword [esp], ebp
movzx ebp, byte [edx + 3]
mov esi, ebp
not esi
or esi, 0xc0
mov dword [esp + 4], ebp
add esi, ebp
cmp esi, 0x7f
jne 0x40b16b
and bl, 7
movzx esi, bl
shl esi, 0x12
and ecx, 0x3f
shl ecx, 0xc
or ecx, esi
mov ebp, dword [esp]
and ebp, 0x3f
shl ebp, 6
or ebp, ecx
add edx, 4
mov ecx, ebp
and ecx, 0x1ff800
cmp ecx, 0xd800
je 0x40af6c
mov ebx, dword [esp + 4]
and ebx, 0x3f
or ebx, ebp
cmp ebx, 0x10000
mov esi, dword [esp + 0x28]
jb 0x40af70
cmp edi, 2
jb 0x40b158
add ebp, 0xf0000
shr ebp, 0xa
and ebp, 0x3ff
or ebp, 0xd800
mov word [eax], bp
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0x40af62
inc edx
jmp 0x40af6c
mov ecx, eax
jmp 0x40af62
add edx, 2
mov esi, dword [esp + 0x28]
jmp 0x40af72
add edx, 3
jmp 0x40af6c
mov word [eax], 0
sub eax, dword [esp + 0x1c]
sar eax, 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0x3c
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x449538]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40b70e
sar edx, 1
lea edi, [esi + 0x20]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x442fa0]
xor eax, eax
jmp 0x40bb6e
mov ecx, dword [0x44304c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
Function at 0x40cad0
Capabilities:
Contain obfuscated stackstrings
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x238
mov dword [esp + 0x38], 0xf745f9ad
mov dword [esp + 0x3c], 0xf34bf572
mov dword [esp + 0x40], 0xcf7af144
mov dword [esp + 0x44], 0xcbb9cd6d
mov dword [esp + 0x48], 0xc7b4c985
mov dword [esp + 0x4c], 0xc3a2c5b4
mov dword [esp + 0x50], 0xdf75c1b8
mov dword [esp + 0x54], 0xdb68dd65
mov dword [esp + 0x58], 0xd765d964
mov dword [esp + 0x5c], 0xd35dd55f
mov dword [esp + 0x60], 0x2f7cd1b0
mov dword [esp + 0x64], 0x2b4a2d80
mov dword [esp + 0x68], 0x27562959
mov dword [esp + 0x6c], 0x23522556
mov dword [esp + 0x70], 0x3f5e2167
mov dword [esp + 0x74], 0x3b833d97
mov dword [esp + 0x78], 0x377c398a
mov dword [esp + 0x7c], 0x33753578
mov dword [esp + 0x80], 0xf863150
mov dword [esp + 0x84], 0xb460d46
mov dword [esp + 0x88], 0x7660971
mov dword [esp + 0x8c], 0x3b20545
mov dword [esp + 0x90], 0x1faa01b0
mov dword [esp + 0x94], 0x1bb11da1
mov dword [esp + 0x98], 0x17a819a5
mov dword [esp + 0x9c], 0x13ab1543
mov dword [esp + 0xa0], 0x6f1d119c
mov dword [esp + 0xa4], 0x6b256d21
mov dword [esp + 0xa8], 0x67146923
mov dword [esp + 0xac], 0x6328652b
mov dword [esp + 0xb0], 0x7f066100
mov dword [esp + 0xb4], 0x7b227d2b
mov dword [esp + 0xb8], 0x772379d4
mov dword [esp + 0xbc], 0x73067520
mov dword [esp + 0xc0], 0x4ffa7110
mov dword [esp + 0xc4], 0x4bfd4df5
mov dword [esp + 0xc8], 0x472649f5
mov dword [esp + 0xcc], 0x43ff451f
mov dword [esp + 0xd0], 0x5fe941ff
mov dword [esp + 0xd4], 0x5b235def
mov dword [esp + 0xd8], 0x57095938
mov dword [esp + 0xdc], 0x53dc55ec
mov dword [esp + 0xe0], 0xaf1b51e3
mov dword [esp + 0xe4], 0xabd9ad11
mov dword [esp + 0xe8], 0xa7d7a9d9
mov dword [esp + 0xec], 0xa3d0a5ed
mov dword [esp + 0xf0], 0xbfcca1d0
mov dword [esp + 0xf4], 0xbbc8bdcc
mov dword [esp + 0xf8], 0xb7d6b9c8
mov dword [esp + 0xfc], 0xb313b51b
mov dword [esp + 0x100], 0x8f2fb10a
mov dword [esp + 0x104], 0x8b338d02
mov dword [esp + 0x108], 0x87cb89fb
mov dword [esp + 0x10c], 0x83c985cb
mov dword [esp + 0x110], 0x9fd181f2
mov dword [esp + 0x114], 0x9b9a9dd6
mov byte [esp + 0x11a], 0
mov word [esp + 0x118], 0
mov eax, dword [0x44952c]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 0x38]
lea esi, [ecx - 0x1195c2a]
lea edx, [ecx + 0xd6]
and edx, edi
mov ebx, 0x195c29
sub ebx, ecx
and ebx, 0x1107c1
and esi, 0x9444803e
or esi, ebx
xor esi, 0x954cd83e
lea ebx, [edi + edi]
not ebx
add ebx, edi
and ebx, esi
or ebx, edx
mov edx, ebx
not edx
and edx, 0x51
xor ebx, 0x2e
lea edx, [ebx + edx*2]
inc dl
mov byte [esp + ecx + 0x38], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 0xe3
jb 0x40cd30
lea ecx, [esp + 0x38]
push 0
push 0
push 0
push 0
push ecx
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x443258]
mov ecx, 0xaf5ff25c
xor ecx, dword [0x443260]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax