Function at 0x42eb66
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x4daa58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x51093c]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x88]
lea ecx, [ebp - 0x20]
mov edi, dword [ebp + 0x84]
push ecx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
call dword [eax + 0x3c]
mov ecx, edi
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
call fcn.0041a3a0
cmp eax, 0xb
jne 0x42ea52
mov ecx, edi
call fcn.0046dcc0
test al, al
je 0x42ea52
mov ecx, dword [ebp - 0x14]
push edi
push ebx
call fcn.00425ab0
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00473e90
test al, al
je 0x42ea52
push edi
push ebx
lea ecx, [ebp + 0x48]
call fcn.004232d0
push edi
push ebx
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.004232d0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0046de50
mov ecx, edi
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
call fcn.0046de50
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp + 0x48]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x18]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
call dword [eax + 0x14]
mov eax, dword [ebx]
lea ecx, [ebp]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [ebp + 0x4c]
lea edx, [ebp]
push edx
lea edx, [ebp + 0x48]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x42e99c
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x50]
push eax
push dword [ebp - 0x14]
call fcn.00431dd0
lea edi, [eax + 2]
lea eax, [ebp + 0x70]
push eax
push ebx
call fcn.00431fb0
add edi, eax
mov ecx, dword [ebp + 0x4c]
mov eax, edi
lea edx, [ebp + 0x48]
or eax, 1
add esp, 0x10
bsr eax, eax
push edx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add esi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp + 0x4c]
lea edx, [ebp]
push edx
lea edx, [ebp + 0x48]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x42e947
mov ecx, dword [ebp + 4]
lea edx, [ebp]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp + 0x20], 9
jne 0x42e9f8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x42e9e6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e9dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eed2
push edx
push ecx
call fcn.004a2127
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
mov ecx, dword [ebp + 0x4c]
lea edx, [ebp + 0x48]
push edx
mov dword [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp + 0x68], 9
jne case.default.0x42eaa8
mov edx, dword [ebp + 0x64]
cmp edx, 0x10
jb case.default.0x42eaa8
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ea43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eed7
push edx
push ecx
call fcn.004a2127
add esp, 8
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
xor ebx, ebx
and al, 0x60
cmp al, 0x60
jne 0x42ea6d
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.00424fd0
mov ebx, eax
jmp 0x42ea97
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 0x2f]
test al, al
je 0x42ea81
mov ebx, 1
jmp 0x42ea97
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.00426e20
test al, al
mov ecx, 1
cmovne ebx, ecx
mov ecx, edi
call fcn.0041a3a0
dec eax
cmp eax, 0x11
ja case.default.0x42eaa8
jmp dword [eax*4 + 0x42eedc]
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42eaed
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.00426240
push eax
call fcn.0041e0d0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42eac5
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004258a0
push eax
call fcn.0041e0d0
add esp, 4
mov esi, eax
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42eb49
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
nop
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.004262f0
push edx
push eax
call fcn.0041e160
add esi, eax
add esp, 8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42eb20
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004259b0
push edx
push eax
call fcn.0041e160
add esp, 8
mov esi, eax
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42ebb7
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
nop dword [eax]
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.00426240
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42eb80
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004258a0
push eax
call fcn.0041e6f0
add esp, 4
mov esi, eax
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42ec19
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
nop dword [eax]
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.004262f0
push edx
push eax
call fcn.0041e710
add esi, eax
add esp, 8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42ebf0
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004259b0
push edx
push eax
call fcn.0041e710
add esp, 8
mov esi, eax
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42ec7e
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
nop dword [eax]
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.00426600
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42ec50
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.00426a10
or eax, 1
bsr eax, eax
lea esi, [eax*8 + 0x49]
add esi, eax
shr esi, 6
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42ece0
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.004266b0
push edx
push eax
call fcn.0041e160
add esi, eax
add esp, 8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42ecb7
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.00426b00
push edx
push eax
call fcn.0041e160
add esp, 8
mov esi, eax
jmp case.default.0x42eaa8
lea esi, [ebx*4]
jmp case.default.0x42eaa8
lea esi, [ebx*8]
jmp case.default.0x42eaa8
mov esi, ebx
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42ed58
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.004263a0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add esi, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42ed32
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push 0
push edi
push dword [ebp - 0x18]
call fcn.00425b00
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42edb8
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
nop word [eax + eax]
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.004263a0
push eax
call fcn.00429f60
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42ed90
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push 0
push edi
push dword [ebp - 0x18]
call fcn.00425b00
push eax
call fcn.00429f60
add esp, 4
mov esi, eax
jmp case.default.0x42eaa8
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x42ee1a
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je case.default.0x42eaa8
nop dword [eax]
mov ecx, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.00426030
push dword [eax + 4]
call fcn.0041e0d0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x42edf0
jmp case.default.0x42eaa8
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.00425520
push dword [eax + 4]
call fcn.0041e0d0
add esp, 4
mov esi, eax
jmp case.default.0x42eaa8
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test ebx, ebx
je case.default.0x42eaa8
nop
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0xf
mov byte [ebp + 0x30], 0
mov al, byte [edi + 1]
and al, 0x60
mov dword [ebp - 4], 4
cmp al, 0x60
lea eax, [ebp + 0x30]
push eax
jne 0x42ee75
push ecx
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.00426550
jmp 0x42ee81
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.004268e0
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
mov dword [ebp - 4], 0xffffffff
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
lea ecx, [ebp + 0x30]
add esi, eax
call fcn.004036e0
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jb 0x42ee40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.004a2135
lea esp, [ebp + 0x7c]
pop ebp
ret
call fcn.004bd25c
call fcn.004bd25c
or ebp, ebp
inc edx
add ch, bh
in al, dx
inc edx
add byte [ecx], cl
jmp 0x42ef29
int3