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

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x50], ebx
xor edi, edi
xor esi, esi
call fcn.0041e0f0
test al, al
jne 0x44a7d2
mov esi, 3
cmp dword [0x471f40], ebx
je 0x44a7df
call fcn.0044a2a0
mov ebp, dword [esp + 0x260]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x58], eax
add eax, 0x3f
cdq
and edx, 0x3f
mov dword [esp + 0x2c], ecx
add eax, edx
mov ecx, eax
sar ecx, 6
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jle 0x44a861
lea edx, [esp + ecx*4 + 0x10]
lea eax, [ebp + ecx*4 + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
add ebp, 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [esp + ebx*4 + 0x38], eax
mov dword [esp + ebx*4 + 0x48], ecx
call fcn.0044a210
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add esp, 8
inc ebx
mov dword [ecx], eax
mov dword [edx], eax
mov eax, dword [esp + 0x28]
add ebp, 8
sub ecx, 4
sub edx, 4
cmp ebx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
jl 0x44a821
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x44ac5e
mov edx, dword [esp + 0x260]
and ecx, 3
add edx, 0x44
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, 0
je 0x44a8b3
sub eax, 2
je 0x44a985
dec eax
je 0x44a91c
jmp 0x44aa5c
mov al, byte [esp + esi + 0x3c]
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
mov dl, byte [ecx + 0x471e40]
xor dl, al
mov eax, esi
xor eax, 1
mov byte [esp + esi + 0x10], dl
xor edx, edx
mov dl, byte [esp + eax + 0x10]
mov bl, byte [esp + eax + 0x3c]
lea ecx, [esp + eax + 0x10]
mov eax, esi
mov dl, byte [edx + 0x471d40]
xor eax, 2
xor dl, bl
mov bl, byte [esp + eax + 0x3c]
mov byte [ecx], dl
lea ecx, [esp + eax + 0x10]
xor edx, edx
mov eax, esi
mov dl, byte [ecx]
xor eax, 3
mov dl, byte [edx + 0x471d40]
xor dl, bl
mov bl, byte [esp + eax + 0x3c]
mov byte [ecx], dl
lea ecx, [esp + eax + 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dl, byte [edx + 0x471e40]
xor dl, bl
mov byte [ecx], dl
xor eax, eax
xor edx, edx
mov al, byte [esp + esi + 0x10]
mov cl, byte [eax + 0x471e40]
mov al, byte [esp + esi + 0x38]
xor cl, al
mov eax, esi
xor eax, 1
mov byte [esp + esi + 0x10], cl
mov dl, byte [esp + eax + 0x10]
mov bl, byte [esp + eax + 0x38]
lea ecx, [esp + eax + 0x10]
mov eax, esi
mov dl, byte [edx + 0x471e40]
xor eax, 2
xor dl, bl
mov bl, byte [esp + eax + 0x38]
mov byte [ecx], dl
lea ecx, [esp + eax + 0x10]
xor edx, edx
mov eax, esi
mov dl, byte [ecx]
xor eax, 3
mov dl, byte [edx + 0x471d40]
xor dl, bl
mov bl, byte [esp + eax + 0x38]
mov byte [ecx], dl
lea ecx, [esp + eax + 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dl, byte [edx + 0x471d40]
xor dl, bl
mov byte [ecx], dl
mov eax, esi
xor edx, edx
xor eax, 3
xor ebx, ebx
mov ecx, esi
mov ebp, esi
mov dl, byte [esp + eax + 0x10]
xor ecx, 2
xor ebp, 1
mov bl, byte [edx + 0x471e40]
xor edx, edx
mov dl, byte [esp + eax + 0x34]
xor ebx, edx
xor edx, edx
mov dl, byte [ebx + 0x471e40]
xor ebx, ebx
mov bl, byte [esp + eax + 0x30]
xor eax, eax
mov al, byte [esp + ecx + 0x10]
xor edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0x471d40]
xor eax, eax
mov al, byte [esp + ecx + 0x34]
xor ebx, eax
xor eax, eax
mov al, byte [ebx + 0x471e40]
mov ebx, eax
xor eax, eax
mov al, byte [esp + ecx + 0x30]
xor ebx, eax
mov eax, dword [edx*4 + 0x474e38]
xor edx, edx
mov ecx, dword [ebx*4 + 0x474a38]
xor eax, ecx
xor ecx, ecx
mov cl, byte [esp + ebp + 0x10]
mov dl, byte [ecx + 0x471e40]
xor ecx, ecx
mov cl, byte [esp + ebp + 0x34]
xor edx, ecx
xor ecx, ecx
mov cl, byte [edx + 0x471d40]
xor edx, edx
mov dl, byte [esp + ebp + 0x30]
xor ecx, edx
mov edx, dword [ecx*4 + 0x474638]
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 0x471d40]
xor ecx, ecx
mov cl, byte [esp + esi + 0x34]
xor edx, ecx
xor ecx, ecx
mov cl, byte [edx + 0x471d40]
xor edx, edx
mov dl, byte [esp + esi + 0x30]
xor ecx, edx
mov edx, dword [ecx*4 + 0x474238]
mov ecx, dword [esp + 0x28]
xor eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
add eax, 0x1010101
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, 0
je 0x44aa81
sub eax, 2
je 0x44ab4f
dec eax
je 0x44aae8
jmp 0x44ac22
xor ecx, ecx
xor ebx, ebx
mov cl, byte [esp + esi + 0x10]
mov al, byte [ecx + 0x471e40]
mov cl, byte [esp + esi + 0x4c]
xor al, cl
mov byte [esp + esi + 0x10], al
mov eax, esi
xor eax, 1
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov bl, byte [ebx + 0x471d40]
xor bl, byte [esp + eax + 0x4c]
mov eax, esi
xor eax, 2
mov byte [ecx], bl
xor ebx, ebx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov bl, byte [ebx + 0x471d40]
xor bl, byte [esp + eax + 0x4c]
mov eax, esi
xor eax, 3
mov byte [ecx], bl
xor ebx, ebx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov bl, byte [ebx + 0x471e40]
xor bl, byte [esp + eax + 0x4c]
mov byte [ecx], bl
xor ecx, ecx
xor ebx, ebx
mov cl, byte [esp + esi + 0x10]
mov al, byte [ecx + 0x471e40]
mov cl, byte [esp + esi + 0x48]
xor al, cl
mov byte [esp + esi + 0x10], al
mov eax, esi
xor eax, 1
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov bl, byte [ebx + 0x471e40]
xor bl, byte [esp + eax + 0x48]
mov eax, esi
xor eax, 2
mov byte [ecx], bl
xor ebx, ebx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov bl, byte [ebx + 0x471d40]
xor bl, byte [esp + eax + 0x48]
mov eax, esi
xor eax, 3
mov byte [ecx], bl
xor ebx, ebx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov bl, byte [ebx + 0x471d40]
xor bl, byte [esp + eax + 0x48]
mov byte [ecx], bl
mov eax, esi
xor ebx, ebx
xor eax, 3
mov ecx, esi
xor ecx, 2
mov ebp, esi
mov bl, byte [esp + eax + 0x10]
xor ebp, 1
mov edi, ebx
xor ebx, ebx
mov bl, byte [edi + 0x471e40]
mov edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0x44]
xor edi, ebx
xor ebx, ebx
mov bl, byte [edi + 0x471e40]
mov edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0x40]
xor eax, eax
mov al, byte [esp + ecx + 0x10]
xor edi, ebx
xor ebx, ebx
mov bl, byte [eax + 0x471d40]
xor eax, eax
mov al, byte [esp + ecx + 0x44]
mov edi, dword [edi*4 + 0x474e38]
xor ebx, eax
xor eax, eax
mov al, byte [ebx + 0x471e40]
xor ebx, ebx
mov bl, byte [esp + ecx + 0x40]
xor eax, ebx
mov ecx, dword [eax*4 + 0x474a38]
xor eax, eax
xor edi, ecx
xor ecx, ecx
mov cl, byte [esp + ebp + 0x10]
mov al, byte [ecx + 0x471e40]
xor ecx, ecx
mov cl, byte [esp + ebp + 0x44]
xor eax, ecx
xor ecx, ecx
mov cl, byte [eax + 0x471d40]
xor eax, eax
mov al, byte [esp + ebp + 0x40]
xor ecx, eax
mov eax, dword [ecx*4 + 0x474638]
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
xor edi, eax
xor eax, eax
mov al, byte [ecx + 0x471d40]
xor ecx, ecx
mov cl, byte [esp + esi + 0x44]
xor eax, ecx
xor ecx, ecx
mov cl, byte [eax + 0x471d40]
xor eax, eax
mov al, byte [esp + esi + 0x40]
xor ecx, eax
mov eax, dword [ecx*4 + 0x474238]
mov ecx, dword [esp + 0x28]
xor edi, eax
mov eax, dword [esp + 0x50]
add edx, 8
rol edi, 8
mov dword [esp + 0x54], edx
lea ebx, [edi + eax]
lea edi, [eax + edi*2]
mov eax, edi
mov dword [edx - 0xc], ebx
mov ebx, dword [esp + 0x24]
rol eax, 9
mov dword [edx - 8], eax
mov eax, dword [esp + 0x2c]
add ebx, 0x2020202
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
jne 0x44a893
mov eax, dword [esp + 0x58]
sub eax, 0x80
je 0x44b22b
sub eax, 0x40
je 0x44afed
sub eax, 0x40
jne 0x44b3df
mov cl, byte [esp + esi + 0x20]
lea edx, [esp + 0x15c]
push ecx
push 0x471e40
push edx
call fcn.0044a4c0
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [esp + eax + 0x15c]
add eax, 2
mov dl, byte [ecx + 0x471e40]
xor ecx, ecx
mov cl, byte [esp + eax + 0x15b]
mov byte [esp + eax + 0x5a], dl
cmp eax, 0x100
mov dl, byte [ecx + 0x471e40]
mov byte [esp + eax + 0x5b], dl
jl 0x44ac9b
mov al, byte [esp + esi + 0x1c]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.0044a4c0
mov edx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + esi + 0x20]
xor ecx, ecx
mov cl, byte [esp + esi + 0x24]
add esp, 0xc
mov edi, eax
mov ebp, ecx
xor eax, eax
lea ecx, [edx + 0xe8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471d40]
xor ebx, ebx
xor edx, edi
mov edx, dword [edx*4 + 0x474238]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471d40]
xor edx, edi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474238]
mov dword [ecx - 0x10], edx
jl 0x44ad01
mov ebx, esi
lea ecx, [esp + 0x15c]
xor ebx, 1
mov al, byte [esp + ebx + 0x20]
push eax
push 0x471d40
push ecx
call fcn.0044a4c0
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x15c]
add eax, 2
mov cl, byte [edx + 0x471e40]
xor edx, edx
mov dl, byte [esp + eax + 0x15b]
mov byte [esp + eax + 0x5a], cl
cmp eax, 0x100
mov cl, byte [edx + 0x471e40]
mov byte [esp + eax + 0x5b], cl
jl 0x44ad77
mov dl, byte [esp + ebx + 0x1c]
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + ebx + 0x24]
xor edx, edx
mov dl, byte [esp + ebx + 0x20]
mov ebp, eax
add esp, 0xc
xor eax, eax
mov edi, edx
add ecx, 0xec
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471d40]
xor ebx, ebx
xor edx, edi
mov edx, dword [edx*4 + 0x474638]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471d40]
xor edx, edi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474638]
mov dword [ecx - 0x10], edx
jl 0x44addd
mov ebx, esi
lea ecx, [esp + 0x15c]
xor ebx, 2
mov al, byte [esp + ebx + 0x20]
push eax
push 0x471d40
push ecx
call fcn.0044a4c0
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x15c]
add eax, 2
mov cl, byte [edx + 0x471d40]
xor edx, edx
mov dl, byte [esp + eax + 0x15b]
mov byte [esp + eax + 0x5a], cl
cmp eax, 0x100
mov cl, byte [edx + 0x471d40]
mov byte [esp + eax + 0x5b], cl
jl 0x44ae53
mov dl, byte [esp + ebx + 0x1c]
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + ebx + 0x24]
xor edx, edx
mov dl, byte [esp + ebx + 0x20]
mov ebp, eax
add esp, 0xc
xor eax, eax
mov edi, edx
add ecx, 0x8e8
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471e40]
xor ebx, ebx
xor edx, edi
mov edx, dword [edx*4 + 0x474a38]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471e40]
xor edx, edi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474a38]
mov dword [ecx - 0x10], edx
jl 0x44aeb9
xor esi, 3
lea ecx, [esp + 0x15c]
mov al, byte [esp + esi + 0x20]
push eax
push 0x471e40
push ecx
call fcn.0044a4c0
add esp, 0xc
xor eax, eax
xor edx, edx
mov dl, byte [esp + eax + 0x15c]
add eax, 2
mov cl, byte [edx + 0x471d40]
xor edx, edx
mov dl, byte [esp + eax + 0x15b]
mov byte [esp + eax + 0x5a], cl
cmp eax, 0x100
mov cl, byte [edx + 0x471d40]
mov byte [esp + eax + 0x5b], cl
jl 0x44af2d
mov dl, byte [esp + esi + 0x1c]
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + esi + 0x24]
xor edx, edx
mov dl, byte [esp + esi + 0x20]
mov esi, eax
add esp, 0xc
xor eax, eax
mov edi, edx
add ecx, 0x8ec
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, esi
mov dl, byte [ebx + 0x471e40]
xor ebx, ebx
xor edx, edi
mov edx, dword [edx*4 + 0x474e38]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, esi
mov dl, byte [ebx + 0x471e40]
xor edx, edi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474e38]
mov dword [ecx - 0x10], edx
jl 0x44af93
jmp 0x44b3df
mov al, byte [esp + esi + 0x1c]
lea ecx, [esp + 0x5c]
push eax
push 0x471e40
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + esi + 0x24]
xor edx, edx
mov dl, byte [esp + esi + 0x20]
mov ebp, eax
add esp, 0xc
xor eax, eax
mov edi, edx
add ecx, 0xe8
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471d40]
xor ebx, ebx
xor edx, edi
mov edx, dword [edx*4 + 0x474238]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, ebp
mov dl, byte [ebx + 0x471d40]
xor edx, edi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474238]
mov dword [ecx - 0x10], edx
jl 0x44b023
mov edi, esi
lea ecx, [esp + 0x5c]
xor edi, 1
mov al, byte [esp + edi + 0x1c]
push eax
push 0x471e40
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + edi + 0x24]
xor edx, edx
mov dl, byte [esp + edi + 0x20]
mov edi, eax
add esp, 0xc
xor eax, eax
mov ebp, edx
add ecx, 0xec
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x471d40]
xor ebx, ebx
xor edx, ebp
mov edx, dword [edx*4 + 0x474638]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x471d40]
xor edx, ebp
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474638]
mov dword [ecx - 0x10], edx
jl 0x44b0b3
mov edi, esi
lea ecx, [esp + 0x5c]
xor edi, 2
mov al, byte [esp + edi + 0x1c]
push eax
push 0x471d40
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + edi + 0x24]
xor edx, edx
mov dl, byte [esp + edi + 0x20]
mov edi, eax
add esp, 0xc
xor eax, eax
mov ebp, edx
add ecx, 0x8e8
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x471e40]
xor ebx, ebx
xor edx, ebp
mov edx, dword [edx*4 + 0x474a38]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471d40]
xor edx, edx
xor ebx, edi
mov dl, byte [ebx + 0x471e40]
xor edx, ebp
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474a38]
mov dword [ecx - 0x10], edx
jl 0x44b143
xor esi, 3
lea ecx, [esp + 0x5c]
mov al, byte [esp + esi + 0x1c]
push eax
push 0x471d40
push ecx
call fcn.0044a4c0
mov ecx, dword [esp + 0x26c]
xor eax, eax
mov al, byte [esp + esi + 0x24]
xor edx, edx
mov dl, byte [esp + esi + 0x20]
mov esi, eax
add esp, 0xc
xor eax, eax
mov edi, edx
add ecx, 0x8ec
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, esi
mov dl, byte [ebx + 0x471e40]
xor ebx, ebx
xor edx, edi
mov edx, dword [edx*4 + 0x474e38]
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471e40]
xor edx, edx
xor ebx, esi
mov dl, byte [ebx + 0x471e40]
xor edx, edi
cmp eax, 0x100
mov edx, dword [edx*4 + 0x474e38]
mov dword [ecx - 0x10], edx
jl 0x44b1d1
jmp 0x44b3df
mov al, byte [esp + esi + 0x18]
lea ecx, [esp + 0x5c]
push eax
push 0x471d40
push ecx
call fcn.0044a4c0
mov ebp, dword [esp + 0x26c]
xor edx, edx
mov dl, byte [esp + esi + 0x20]
add esp, 0xc
mov edi, edx
xor eax, eax
lea ecx, [ebp + 0xe8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471d40]
xor ebx, edi
mov edx, dword [ebx*4 + 0x474238]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471d40]
xor ebx, edi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x474238]
mov dword [ecx - 0x10], edx
jl 0x44b259
mov edi, esi
lea ecx, [esp + 0x5c]
xor edi, 1
mov al, byte [esp + edi + 0x18]
push eax
push 0x471e40
push ecx
call fcn.0044a4c0
xor edx, edx
add esp, 0xc
mov dl, byte [esp + edi + 0x14]
xor eax, eax
mov edi, edx
lea ecx, [ebp + 0xec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471d40]
xor ebx, edi
mov edx, dword [ebx*4 + 0x474638]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471d40]
xor ebx, edi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x474638]
mov dword [ecx - 0x10], edx
jl 0x44b2c6
mov edi, esi
lea ecx, [esp + 0x5c]
xor edi, 2
mov al, byte [esp + edi + 0x18]
push eax
push 0x471d40
push ecx
call fcn.0044a4c0
xor edx, edx
add esp, 0xc
mov dl, byte [esp + edi + 0x14]
xor eax, eax
mov edi, edx
lea ecx, [ebp + 0x8e8]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471e40]
xor ebx, edi
mov edx, dword [ebx*4 + 0x474a38]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471e40]
xor ebx, edi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x474a38]
mov dword [ecx - 0x10], edx
jl 0x44b333
xor esi, 3
lea ecx, [esp + 0x5c]
mov al, byte [esp + esi + 0x18]
push eax
push 0x471e40
push ecx
call fcn.0044a4c0
xor edx, edx
add esp, 0xc
mov dl, byte [esp + esi + 0x14]
xor eax, eax
mov esi, edx
lea ecx, [ebp + 0x8ec]
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + eax + 0x5c]
add eax, 2
add ecx, 0x10
mov bl, byte [edx + 0x471e40]
xor ebx, esi
mov edx, dword [ebx*4 + 0x474e38]
xor ebx, ebx
mov dword [ecx - 0x18], edx
xor edx, edx
mov dl, byte [esp + eax + 0x5b]
mov bl, byte [edx + 0x471e40]
xor ebx, esi
cmp eax, 0x100
mov edx, dword [ebx*4 + 0x474e38]
mov dword [ecx - 0x10], edx
jl 0x44b39e
mov eax, dword [esp + 0x260]
pop edi
pop esi
pop ebp
mov cl, byte [eax]
pop ebx
test cl, cl
jne 0x44b3fb
push 0
push eax
call fcn.0044a470
add esp, 8
mov al, 1
add esp, 0x24c
ret