Function at 0x4346e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e2ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0xba]
push edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x30], 0
call fcn.00434a70
mov ebx, eax
xor edx, edx
lea edi, [ebx + 2]
movsx cx, byte [ebx]
xor word [edi + edx*2], cx
inc edx
cmp edx, 0x3d
jb 0x434727
xor eax, eax
push 0xc
mov word [edi + 0x7a], ax
call fcn.0046ad4e
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov edx, 0x7c
mov ecx, dword [0x4b4f24]
mov dword [eax], 0
mov byte [eax + 8], 1
mov dword [eax + 4], 0x7c
call fcn.00424500
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
test ecx, ecx
je 0x43478c
test edi, edi
je 0x43478c
push dword [eax + 4]
push edi
push ecx
call fcn.0046c880
add esp, 0xc
xor ecx, ecx
nop
movsx ax, byte [ebx]
xor word [edi + ecx*2], ax
inc ecx
cmp ecx, 0x3d
jb 0x434790
mov eax, 0xffff
mov word [edi + 0x7a], ax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4b5400]
cmp eax, dword [ecx + 4]
jg 0x434a1b
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov eax, dword [0x4b2d18]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x4b5404
mov dword [ebp - 0x28], 0x20
lea edi, [eax - 0x80000000]
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [0x4b2d1c]
add eax, 0x80000000
sub eax, edi
cmp eax, 0xffffffff
jne 0x43481e
call fcn.0048afa5
jmp 0x434828
inc eax
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042f520
lea ecx, [eax + edi]
mov dword [ebp - 0x20], 0
cmp ecx, 0x80000000
lea eax, [ecx - 0x80000000]
lea edx, [ecx - 0x80000000]
cmovae edx, eax
mov dword [ebp - 0x38], edx
test edx, edx
jle 0x4349d9
mov dword [ebp - 0x2c], 0x4b5404
mov dword [ebp - 0x28], 0x20
mov dword [ebp - 0x24], 0xffffffff
nop word [eax + eax]
mov eax, dword [0x4b53f8]
mov ebx, dword [ebx]
lea edi, [eax - 0x80000000]
mov eax, dword [0x4b53fc]
add eax, 0x80000000
sub eax, edi
cmp eax, 0xffffffff
jne 0x434895
call fcn.0048afa5
jmp 0x43489f
inc eax
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042f520
lea ecx, [eax + edi]
cmp ecx, 0x80000000
lea eax, [ecx - 0x80000000]
lea edx, [ecx - 0x80000000]
mov ecx, dword [esi + 0x10]
cmovae edx, eax
mov dword [ebp - 0x14], ecx
movsx ax, byte [edx + ebx]
mov ebx, dword [esi + 0x14]
movzx edx, ax
mov dword [ebp - 0x18], edx
cmp ecx, ebx
jae 0x4348ee
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ebx, 8
jb 0x4348de
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4349c5
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x434a64
lea eax, [ecx + 1]
mov edi, eax
mov dword [ebp - 0x34], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x434918
mov edi, 0x7ffffffe
jmp 0x434936
mov ecx, ebx
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp ebx, eax
jbe 0x43492e
mov edi, 0x7ffffffe
jmp 0x434936
lea eax, [ecx + ebx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.00422c70
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
add ecx, ecx
mov dword [esi + 0x14], edi
mov dword [ebp - 0x1c], eax
push ecx
lea edi, [ecx + eax]
mov dword [ebp - 0x14], edi
cmp ebx, 8
jb 0x4349aa
mov edi, dword [esi]
push edi
push eax
call fcn.0046c880
mov eax, dword [ebp - 0x14]
lea ebx, [ebx*2 + 2]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
cmp ebx, 0x1000
jb 0x43499e
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x434a5f
mov edi, ecx
push ebx
push edi
call fcn.0046afcf
add esp, 8
jmp 0x4349c0
push esi
push eax
call fcn.0046c880
mov ecx, dword [ebp - 0x18]
add esp, 0xc
xor eax, eax
mov word [edi], cx
mov word [edi + 2], ax
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x38]
jge 0x4349d9
mov ebx, dword [ebp - 0x10]
jmp 0x434870
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x4349fd
push dword [ebx + 4]
push 0
push eax
call fcn.0046ce00
push dword [ebx]
call fcn.0046f5b4
add esp, 0x10
mov dword [ebx], 0
push 0xc
push ebx
call fcn.0046afcf
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4b5400
call fcn.0046b2ca
mov ebx, dword [ebp - 0x10]
add esp, 4
cmp dword [0x4b5400], 0xffffffff
jne 0x4347c3
mov eax, dword [ebx + 4]
sub eax, 2
mov dword [0x4b53f8], 0
push 0x4b5400
mov dword [0x4b53fc], eax
call fcn.0046b280
add esp, 4
jmp 0x4347c3
call fcn.0047234f
call fcn.00402bc0
int3