Function at 0x46b830
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
mov eax, dword [0x4b5e58]
sub esp, 0x258
push ebx
push ebp
push esi
push edi
xor edi, edi
xor esi, esi
test eax, eax
je 0x46b84c
call fcn.0046b370
mov ebp, dword [esp + 0x26c]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x64], eax
add eax, 0x3f
cdq
and edx, 0x3f
mov dword [esp + 0x20], ecx
add eax, edx
mov ecx, eax
sar ecx, 6
test ecx, ecx
mov dword [esp + 0x3c], ecx
jle 0x46b8d0
lea edx, [esp + ecx*4 + 0x20]
lea eax, [ebp + ecx*4 + 0x2c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
add ebp, 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [esp + ebx*4 + 0x5c], eax
mov dword [esp + ebx*4 + 0x4c], ecx
call fcn.0046b2e0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
add esp, 8
inc ebx
mov dword [ecx], eax
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
add ebp, 8
sub ecx, 4
sub edx, 4
cmp ebx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edx
jl 0x46b890
mov ecx, eax
mov eax, dword [esp + 0x20]
xor ebx, ebx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x46bce5
mov ebp, ecx
mov ecx, dword [esp + 0x26c]
and ebp, 3
add ecx, 0x44
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5b]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov edx, ebp
mov eax, ebx
sub edx, 0
mov dword [esp + 0x10], eax
je 0x46b920
sub edx, 2
je 0x46b9ea
dec edx
je 0x46b98a
jmp 0x46bad6
mov edx, ebx
and edx, 0xff
mov al, byte [edx + 0x4b5d58]
mov dl, byte [esp + 0x60]
xor al, dl
mov edx, dword [esp + 0x11]
and edx, 0xff
mov byte [esp + 0x10], al
mov al, byte [edx + 0x4b5c58]
mov dl, byte [esp + 0x61]
xor al, dl
mov edx, dword [esp + 0x12]
and edx, 0xff
mov byte [esp + 0x11], al
mov al, byte [edx + 0x4b5c58]
mov dl, byte [esp + 0x62]
xor al, dl
mov edx, dword [esp + 0x13]
and edx, 0xff
mov byte [esp + 0x12], al
mov al, byte [edx + 0x4b5d58]
mov dl, byte [esp + 0x63]
xor al, dl
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
and eax, 0xff
mov dl, byte [eax + 0x4b5d58]
mov eax, dword [esp + 0x11]
xor dl, ch
and eax, 0xff
mov byte [esp + 0x10], dl
mov dl, byte [eax + 0x4b5d58]
mov al, byte [esp + 0x5d]
xor dl, al
mov eax, dword [esp + 0x12]
and eax, 0xff
mov byte [esp + 0x11], dl
mov dl, byte [eax + 0x4b5c58]
mov al, byte [esp + 0x5e]
xor dl, al
mov eax, dword [esp + 0x13]
and eax, 0xff
mov byte [esp + 0x12], dl
mov dl, byte [eax + 0x4b5c58]
mov al, byte [esp + 0x5f]
xor dl, al
mov byte [esp + 0x13], dl
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x13]
xor edx, edx
and edi, 0xff
and eax, 0xff
mov dl, byte [edi + 0x4b5d58]
mov edi, ecx
mov ebp, edx
and edi, 0xff
xor ebp, edi
mov edi, dword [esp + 0x57]
xor edx, edx
and edi, 0xff
mov dl, byte [ebp + 0x4b5d58]
mov ebp, edx
xor edx, edx
xor ebp, edi
mov edi, dword [esp + 0x12]
and edi, 0xff
mov dl, byte [edi + 0x4b5c58]
mov edi, dword [esp + 0x5a]
and edi, 0xff
xor edx, edi
mov edi, edx
xor edx, edx
mov dl, byte [edi + 0x4b5d58]
mov edi, dword [esp + 0x56]
and edi, 0xff
xor edx, edi
mov edi, dword [ebp*4 + 0x4bcdb0]
mov ebp, dword [edx*4 + 0x4bc9b0]
xor edx, edx
xor edi, ebp
mov ebp, dword [esp + 0x11]
and ebp, 0xff
mov dl, byte [ebp + 0x4b5d58]
mov ebp, dword [esp + 0x59]
and ebp, 0xff
xor edx, ebp
mov ebp, edx
xor edx, edx
mov dl, byte [ebp + 0x4b5c58]
mov ebp, dword [esp + 0x55]
and ebp, 0xff
xor edx, ebp
mov ebp, dword [edx*4 + 0x4bc5b0]
xor edx, edx
mov dl, byte [eax + 0x4b5c58]
mov eax, dword [esp + 0x58]
and eax, 0xff
xor edi, ebp
xor edx, eax
xor eax, eax
mov ebp, dword [esp + 0x3c]
mov al, byte [edx + 0x4b5c58]
mov edx, dword [esp + 0x54]
and edx, 0xff
xor eax, edx
xor edi, dword [eax*4 + 0x4bc1b0]
mov edx, ebp
lea eax, [ebx + 0x1010101]
sub edx, 0
mov dword [esp + 0x18], eax
je 0x46baf8
sub edx, 2
je 0x46bbc3
dec edx
je 0x46bb5f
jmp 0x46bcb1
mov dl, byte [esp + 0x50]
and eax, 0xff
mov al, byte [eax + 0x4b5d58]
xor al, dl
mov edx, dword [esp + 0x19]
and edx, 0xff
mov byte [esp + 0x18], al
mov al, byte [edx + 0x4b5c58]
mov dl, byte [esp + 0x51]
xor al, dl
mov edx, dword [esp + 0x1a]
and edx, 0xff
mov byte [esp + 0x19], al
mov al, byte [edx + 0x4b5c58]
mov dl, byte [esp + 0x52]
xor al, dl
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov byte [esp + 0x1a], al
mov al, byte [edx + 0x4b5d58]
mov dl, byte [esp + 0x53]
xor al, dl
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x18]
and eax, 0xff
mov dl, byte [eax + 0x4b5d58]
mov al, byte [esp + 0x4c]
xor dl, al
mov eax, dword [esp + 0x19]
and eax, 0xff
mov byte [esp + 0x18], dl
mov dl, byte [eax + 0x4b5d58]
mov al, byte [esp + 0x4d]
xor dl, al
mov eax, dword [esp + 0x1a]
and eax, 0xff
mov byte [esp + 0x19], dl
mov dl, byte [eax + 0x4b5c58]
mov al, byte [esp + 0x4e]
xor dl, al
mov eax, dword [esp + 0x1b]
and eax, 0xff
mov byte [esp + 0x1a], dl
mov dl, byte [eax + 0x4b5c58]
mov al, byte [esp + 0x4f]
xor dl, al
mov byte [esp + 0x1b], dl
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1b]
xor edx, edx
and esi, 0xff
and eax, 0xff
mov dl, byte [esi + 0x4b5d58]
mov esi, dword [esp + 0x4b]
mov ebp, edx
and esi, 0xff
xor ebp, esi
mov esi, dword [esp + 0x47]
xor edx, edx
and esi, 0xff
mov dl, byte [ebp + 0x4b5d58]
mov ebp, edx
xor edx, edx
xor ebp, esi
mov esi, dword [esp + 0x1a]
and esi, 0xff
mov dl, byte [esi + 0x4b5c58]
mov esi, dword [esp + 0x4a]
and esi, 0xff
xor edx, esi
mov esi, edx
xor edx, edx
mov dl, byte [esi + 0x4b5d58]
mov esi, dword [esp + 0x46]
and esi, 0xff
xor edx, esi
mov esi, dword [ebp*4 + 0x4bcdb0]
mov ebp, dword [edx*4 + 0x4bc9b0]
xor edx, edx
xor esi, ebp
mov ebp, dword [esp + 0x19]
and ebp, 0xff
mov dl, byte [ebp + 0x4b5d58]
mov ebp, dword [esp + 0x49]
and ebp, 0xff
xor edx, ebp
mov ebp, edx
xor edx, edx
mov dl, byte [ebp + 0x4b5c58]
mov ebp, dword [esp + 0x45]
and ebp, 0xff
xor edx, ebp
mov ebp, dword [edx*4 + 0x4bc5b0]
xor edx, edx
mov dl, byte [eax + 0x4b5c58]
mov eax, dword [esp + 0x48]
and eax, 0xff
xor esi, ebp
xor edx, eax
xor eax, eax
mov ebp, dword [esp + 0x3c]
mov al, byte [edx + 0x4b5c58]
mov edx, dword [esp + 0x44]
and edx, 0xff
xor eax, edx
xor esi, dword [eax*4 + 0x4bc1b0]
mov eax, dword [esp + 0x38]
add ebx, 0x2020202
rol esi, 8
add eax, 8
lea edx, [esi + edi]
lea esi, [edi + esi*2]
mov dword [eax - 0xc], edx
mov edx, esi
rol edx, 9
mov dword [eax - 8], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jne 0x46b902
mov eax, dword [esp + 0x64]
sub eax, 0x80
je 0x46c28e
sub eax, 0x40
je 0x46c062
sub eax, 0x40
jne 0x46c43d
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x168]
push eax
push 0x4b5d58
push ecx
call fcn.0046b540
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x168]
add eax, 2
mov cl, byte [edx + 0x4b5d58]
xor edx, edx
mov dl, byte [esp + eax + 0x167]
mov byte [esp + eax + 0x66], cl
cmp eax, 0x100
mov cl, byte [edx + 0x4b5d58]
mov byte [esp + eax + 0x67], cl
jl 0x46bd22
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x278]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0xe8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bc1b0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bc1b0]
mov dword [ecx - 0x10], edx
jl 0x46bd8c
mov eax, dword [esp + 0x31]
lea ecx, [esp + 0x168]
push eax
push 0x4b5c58
push ecx
call fcn.0046b540
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x168]
add eax, 2
mov cl, byte [edx + 0x4b5d58]
xor edx, edx
mov dl, byte [esp + eax + 0x167]
mov byte [esp + eax + 0x66], cl
cmp eax, 0x100
mov cl, byte [edx + 0x4b5d58]
mov byte [esp + eax + 0x67], cl
jl 0x46bdfd
mov edx, dword [esp + 0x2d]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x31]
mov edi, dword [esp + 0x35]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0xec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bc5b0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bc5b0]
mov dword [ecx - 0x10], edx
jl 0x46be60
mov eax, dword [esp + 0x32]
lea ecx, [esp + 0x168]
push eax
push 0x4b5c58
push ecx
call fcn.0046b540
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x168]
add eax, 2
mov cl, byte [edx + 0x4b5c58]
xor edx, edx
mov dl, byte [esp + eax + 0x167]
mov byte [esp + eax + 0x66], cl
cmp eax, 0x100
mov cl, byte [edx + 0x4b5c58]
mov byte [esp + eax + 0x67], cl
jl 0x46bed1
mov edx, dword [esp + 0x2e]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x32]
mov edi, dword [esp + 0x36]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0x8e8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bc9b0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bc9b0]
mov dword [ecx - 0x10], edx
jl 0x46bf34
mov eax, dword [esp + 0x33]
lea ecx, [esp + 0x168]
push eax
push 0x4b5d58
push ecx
call fcn.0046b540
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x168]
add eax, 2
mov cl, byte [edx + 0x4b5c58]
xor edx, edx
mov dl, byte [esp + eax + 0x167]
mov byte [esp + eax + 0x66], cl
cmp eax, 0x100
mov cl, byte [edx + 0x4b5c58]
mov byte [esp + eax + 0x67], cl
jl 0x46bfa5
mov edx, dword [esp + 0x2f]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x33]
mov edi, dword [esp + 0x37]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0x8ec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bcdb0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bcdb0]
mov dword [ecx - 0x10], edx
jl 0x46c008
jmp 0x46c43d
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x68]
push eax
push 0x4b5d58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x278]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0xe8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bc1b0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bc1b0]
mov dword [ecx - 0x10], edx
jl 0x46c09c
mov eax, dword [esp + 0x2d]
lea ecx, [esp + 0x68]
push eax
push 0x4b5d58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x31]
mov edi, dword [esp + 0x35]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0xec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bc5b0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5c58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bc5b0]
mov dword [ecx - 0x10], edx
jl 0x46c124
mov eax, dword [esp + 0x2e]
lea ecx, [esp + 0x68]
push eax
push 0x4b5c58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x32]
mov edi, dword [esp + 0x36]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0x8e8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bc9b0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5c58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bc9b0]
mov dword [ecx - 0x10], edx
jl 0x46c1ac
mov eax, dword [esp + 0x2f]
lea ecx, [esp + 0x68]
push eax
push 0x4b5c58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x33]
mov edi, dword [esp + 0x37]
add esp, 0xc
and esi, 0xff
and edi, 0xff
xor eax, eax
lea ecx, [ebp + 0x8ec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor ebx, ebx
xor edx, esi
mov edx, dword [edx*4 + 0x4bcdb0]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5d58]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x4b5d58]
xor edx, esi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x4bcdb0]
mov dword [ecx - 0x10], edx
jl 0x46c234
jmp 0x46c43d
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
push 0x4b5c58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x278]
add esp, 0xc
and esi, 0xff
xor eax, eax
lea ecx, [edi + 0xe8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5c58]
xor ebx, esi
mov edx, dword [ebx*4 + 0x4bc1b0]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5c58]
xor ebx, esi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x4bc1b0]
mov dword [ecx - 0x10], edx
jl 0x46c2be
mov eax, dword [esp + 0x29]
lea ecx, [esp + 0x68]
push eax
push 0x4b5d58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x31]
add esp, 0xc
and esi, 0xff
xor eax, eax
lea ecx, [edi + 0xec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5c58]
xor ebx, esi
mov edx, dword [ebx*4 + 0x4bc5b0]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5c58]
xor ebx, esi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x4bc5b0]
mov dword [ecx - 0x10], edx
jl 0x46c328
mov eax, dword [esp + 0x2a]
lea ecx, [esp + 0x68]
push eax
push 0x4b5c58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x32]
add esp, 0xc
and esi, 0xff
xor eax, eax
lea ecx, [edi + 0x8e8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5d58]
xor ebx, esi
mov edx, dword [ebx*4 + 0x4bc9b0]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5d58]
xor ebx, esi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x4bc9b0]
mov dword [ecx - 0x10], edx
jl 0x46c392
mov eax, dword [esp + 0x2b]
lea ecx, [esp + 0x68]
push eax
push 0x4b5d58
push ecx
call fcn.0046b540
mov esi, dword [esp + 0x33]
add esp, 0xc
and esi, 0xff
xor eax, eax
lea ecx, [edi + 0x8ec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x68]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x4b5d58]
xor ebx, esi
mov edx, dword [ebx*4 + 0x4bcdb0]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x67]
mov bl, byte [edx + 0x4b5d58]
xor ebx, esi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x4bcdb0]
mov dword [ecx - 0x10], edx
jl 0x46c3fc
mov eax, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
mov cl, byte [eax]
pop ebx
test cl, cl
jne 0x46c459
push 0
push eax
call fcn.0046b4f0
add esp, 8
mov eax, 1
add esp, 0x258
ret