Function at 0x457000
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
call fcn.00447020
call fcn.00444740
call fcn.00455ae0
cmp dword [0x62bdbc], 0x190
jg 0x457030
mov eax, dword [0x55f384]
lea ebx, [eax + 1]
mov dword [esp + 0x10], ebx
jmp 0x45703c
mov ecx, dword [0x55f384]
mov dword [esp + 0x10], ecx
mov ebx, ecx
mov eax, dword [esp + 0x78]
cmp eax, 1
jne 0x4572c8
mov eax, dword [0x5ae6e0]
mov edi, dword [0x5f4d34]
test eax, eax
mov dword [0x4cc700], 2
lea edx, [esp + 0x24]
jg 0x45706c
mov edi, dword [0x5f4c9c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call fcn.00447fc0
mov eax, dword [0x5ae6e0]
mov edi, dword [0x5f4ca0]
add esp, 4
lea edx, [esp + 0x24]
test eax, eax
jg 0x4570af
mov edi, dword [0x5f4ca4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x62bdb8]
cdq
and ecx, 3
and edx, 0xf
rep movsb byte es:[edi], byte [esi]
add eax, edx
lea ecx, [esp + 0x28]
sar eax, 4
push ecx
push eax
push 0x10000
call fcn.0047e690
mov edx, dword [0x5c8320]
mov eax, dword [0x5f492c]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.004b57c2
mov eax, dword [0x62bdb8]
lea edx, [esp + 0x40]
push ebx
push edx
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0x8000
call fcn.0047e690
mov ecx, dword [0x62bdb8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
add esp, 0x2c
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x80], edx
mov esi, dword [0x5c8320]
mov edi, dword [esp + 0x84]
mov ecx, dword [0x62bdbc]
sub esi, edi
dec esi
mov eax, 0x55555556
and esi, 3
imul ecx
mov ebx, esi
mov ecx, dword [0x55f384]
imul ebx, dword [esp + 0x80]
mov edi, edx
add edx, ebx
shr edi, 0x1f
add edi, edx
mov edx, dword [ecx*8 + 0x55f464]
xor ebp, ebp
mov bp, word [edx + esi*2 + 0x22]
call fcn.0048db40
mov ecx, esi
lea ebx, [esi + 1]
shr eax, 2
shl ecx, 8
add eax, ecx
and eax, 0x3ff
mov eax, dword [eax*4 + 0x4c692c]
cdq
and edx, 0x1ff
add eax, edx
mov ecx, eax
mov eax, dword [0x5c8320]
sar ecx, 9
add ecx, 0x200
cmp ebx, eax
jne 0x4571fb
mov edx, dword [0x62bdbc]
mov eax, edi
add ecx, 0x200
mov byte [0x5bf975], 4
shl edx, 0xf
shl eax, 0x10
mov dword [0x5bf960], edx
mov dword [0x5bf964], eax
mov byte [0x5bf974], 2
mov eax, dword [0x62bdb8]
imul eax, ecx
cdq
and edx, 0x1ff
add eax, edx
lea edx, [ebp + ebp*2]
mov ecx, eax
mov ebp, dword [edx*8 + 0x52a290]
sar ecx, 9
mov eax, dword [ebp]
and eax, 0xffff
imul eax, ecx
cdq
and edx, 0x1ff
add eax, edx
mov esi, eax
mov eax, dword [ebp]
sar eax, 0x10
imul eax, ecx
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
neg eax
add edi, eax
mov eax, dword [0x5c8320]
sar esi, 9
cmp ebx, eax
jne 0x457291
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov ebx, dword [edx + 0x62c040]
xor ebx, eax
and eax, 7
shl eax, 4
mov dword [edx + 0x62c040], ebx
push eax
jmp 0x457296
push 0x10000
mov eax, dword [0x62bdbc]
push ecx
cdq
sub eax, edx
push edi
sar eax, 1
sub eax, esi
push eax
push ebp
call fcn.00455100
mov eax, dword [esp + 0x98]
add esp, 0x14
dec eax
mov dword [esp + 0x84], eax
jns 0x45714c
jmp 0x457ffc
cmp eax, 2
jne 0x457ffc
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
test esi, esi
jge 0x457359
test eax, eax
jne 0x4572f3
mov eax, dword [0x5f4914]
push eax
jmp 0x4572fa
mov ecx, dword [0x5f491c]
push ecx
call fcn.00447fc0
mov eax, dword [0x5ae6e0]
add esp, 4
test eax, eax
lea edx, [esp + 0x24]
jle 0x457334
mov edi, dword [0x5f4ca8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4573a0
mov edi, dword [0x5f4cac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4573a0
test eax, eax
jne 0x45736a
test ecx, ecx
jne 0x45737c
mov ecx, dword [0x5f4910]
push ecx
jmp 0x457382
cmp eax, 1
jne 0x45737c
test ecx, ecx
jne 0x45737c
mov edx, dword [0x5f4988]
push edx
jmp 0x457382
mov eax, dword [0x5f4914]
push eax
call fcn.00447fc0
mov ecx, dword [0x5f4cb0]
add esp, 4
inc esi
lea edx, [esp + 0x24]
push esi
push ecx
push edx
call fcn.004b57c2
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [0x62bdb8]
cdq
and edx, 0xf
push ecx
add eax, edx
sar eax, 4
push eax
push 0x10000
call fcn.0047e690
mov edi, dword [0x62bdbc]
mov ecx, dword [0x5c8320]
mov eax, edi
add esp, 0x10
cdq
and edx, 7
lea esi, [ecx - 1]
add eax, edx
xor ebx, ebx
sar eax, 3
imul esi, eax
mov eax, edi
mov dword [0x4cc700], 3
cdq
sub eax, edx
mov ebp, eax
mov eax, edi
cdq
and edx, 3
sar ebp, 1
add eax, edx
sub ebp, esi
sar eax, 2
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x457722
mov ecx, ebp
mov dword [esp + 0x78], 0x5c8548
shl ecx, 0x10
shl eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebx + 1]
lea edx, [esp + 0x24]
push eax
push 0x4ccd14
push edx
mov dword [esp + 0x2c], eax
call fcn.004b57c2
mov eax, dword [esp + 0x88]
add esp, 0xc
test eax, eax
jge 0x457457
cmp ebx, dword [esp + 0x80]
je 0x45745b
cmp eax, ebx
jne 0x457498
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [0x62bdb8]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
mov eax, dword [0x62bdbc]
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, 0x8000
push ecx
call fcn.0047e690
jmp 0x4574d3
mov edx, dword [esp + 0x10]
mov ecx, dword [0x62bdb8]
lea eax, [esp + 0x24]
push edx
push eax
mov eax, 0x66666667
imul ecx
mov eax, dword [0x62bdbc]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
sub edx, eax
add edx, 0x8000
push edx
call fcn.0047e8b0
add esp, 0x10
push ebx
call fcn.00456e30
mov eax, dword [esp + 0x7c]
add esp, 4
mov eax, dword [eax + 0x438]
cmp eax, 0x37
jne 0x457502
mov ecx, dword [0x55f380]
mov edx, dword [ecx*8 + 0x55f464]
xor ecx, ecx
mov cx, word [edx]
jmp 0x457521
cmp eax, 0x59
mov eax, dword [0x55f380]
mov edx, dword [eax*8 + 0x55f464]
jne 0x45751b
xor ecx, ecx
mov cx, word [edx + 2]
jmp 0x457521
xor ecx, ecx
mov cx, word [edx + 4]
mov eax, dword [0x62bdb8]
push ebx
push 0x80
lea eax, [eax + eax*2]
shl eax, 1
cdq
and edx, 0xf
add eax, edx
mov esi, eax
mov eax, dword [0x580064]
sar esi, 4
push eax
push ecx
push esi
push ebp
call fcn.00443bb0
mov eax, dword [0x62bdb8]
mov edi, dword [esp + 0x90]
cdq
and edx, 7
or ecx, 0xffffffff
add eax, edx
add esp, 0x18
sar eax, 3
add esi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x457589
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x24]
push ecx
push 0x4ccd10
push edx
call fcn.004b57c2
add esp, 0xc
jmp 0x4575a6
mov eax, dword [0x4ccd04]
mov ecx, dword [0x4ccd08]
mov dl, byte [0x4ccd0c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], dl
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [0x62bdbc]
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
sub edx, eax
push ecx
add edx, 0x8000
push esi
push edx
call fcn.0047e690
mov eax, dword [esp + 0x8c]
mov ecx, dword [0x62bdb8]
add esp, 0x10
test eax, eax
jge 0x457610
cmp ebx, dword [esp + 0x80]
jne 0x457610
mov eax, dword [esp + 0x14]
mov byte [0x5bf995], 0x10
mov dword [0x5bf980], eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sub esi, eax
shl esi, 0x10
mov dword [0x5bf984], esi
jmp 0x45763b
cmp eax, ebx
jne 0x457642
mov edx, dword [esp + 0x14]
mov eax, ecx
mov dword [0x5bf980], edx
mov byte [0x5bf995], 0xc
cdq
and edx, 7
add eax, edx
sar eax, 3
sub esi, eax
shl esi, 0x10
mov dword [0x5bf984], esi
mov byte [0x5bf994], 3
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x20]
add esi, eax
mov eax, dword [0x5c8320]
add ebp, edi
add edx, 0x5a4
cmp ebx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x78], edx
jl 0x457429
mov edi, dword [0x62bdbc]
mov eax, dword [esp + 0x7c]
test eax, eax
jge 0x4579fe
lea eax, [ecx + ecx*4]
shl eax, 1
cdq
and edx, 0xf
add eax, edx
mov ebx, eax
mov eax, dword [0x5ae6e0]
sar ebx, 4
test eax, eax
jne 0x4576ad
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
add ebx, eax
mov ecx, dword [esp + 0x80]
mov edx, dword [0x5f4cb4]
inc ecx
lea eax, [esp + 0x24]
push ecx
push edx
push eax
call fcn.004b57c2
mov eax, dword [esp + 0x90]
add esp, 0xc
test eax, eax
jne 0x45772d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push edx
push 0x4000
call fcn.0048db40
shr eax, 1
push eax
push ebx
push 0x8000
call fcn.0047edf0
mov eax, dword [0x62bdbc]
mov ecx, ebx
add esp, 0x18
mov byte [0x5bf975], 0
shl eax, 0xf
shl ecx, 0x10
mov dword [0x5bf960], eax
mov dword [0x5bf964], ecx
mov byte [0x5bf974], 2
jmp 0x457745
mov ecx, dword [0x62bdb8]
jmp 0x45767b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push eax
push ebx
push 0x8000
call fcn.0047e690
add esp, 0x10
mov eax, dword [0x62bdb8]
cdq
and edx, 7
add eax, edx
sar eax, 3
add ebx, eax
mov eax, dword [0x5ae6e0]
test eax, eax
jle 0x457888
mov esi, dword [esp + 0x8c]
mov ecx, dword [str.Team:]
mov edx, dword [0x4ccd00]
cmp esi, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jne 0x4577b2
mov edi, dword [0x5f4cbc]
or ecx, esi
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x457809
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x24]
repne scasb al, byte es:[edi]
mov edi, dword [esi*4 + 0x5f4d5c]
push 0x4cc804
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + edx + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004b5f80
add esp, 8
test eax, eax
je 0x457809
mov byte [eax], 0
cmp dword [esp + 0x84], 1
jne 0x457860
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push edx
push 0x4000
call fcn.0048db40
shr eax, 1
push eax
push ebx
push 0x8000
call fcn.0047edf0
mov eax, dword [0x62bdbc]
mov ecx, ebx
add esp, 0x18
mov byte [0x5bf975], 0
shl eax, 0xf
shl ecx, 0x10
mov dword [0x5bf960], eax
mov dword [0x5bf964], ecx
mov byte [0x5bf974], 2
jmp 0x457878
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push eax
push ebx
push 0x8000
call fcn.0047e690
add esp, 0x10
mov eax, dword [0x62bdb8]
cdq
and edx, 7
add eax, edx
sar eax, 3
add ebx, eax
mov eax, dword [0x5c8320]
xor esi, esi
test eax, eax
mov dword [esp + 0x80], 1
jle 0x457928
mov edx, dword [0x5fee0c]
mov ebp, 0x5adc20
mov dword [esp + 0x7c], 0x5c8548
mov edi, dword [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45791d
cmp esi, edx
jge 0x457900
test edx, edx
jle 0x4578e5
mov ecx, 0x5adc20
cmp eax, esi
je 0x4578dd
mov edi, dword [ecx]
cmp edi, dword [ebp]
je 0x45791d
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x4578d2
mov eax, dword [ebp]
sub eax, 2
js 0x457900
push eax
call fcn.00491ac0
add esp, 4
test al, al
je 0x45791d
mov edx, dword [0x5fee0c]
mov edi, dword [esp + 0x7c]
mov eax, dword [0x5c8320]
inc esi
add edi, 0x5a4
add ebp, 0xc
cmp esi, eax
mov dword [esp + 0x7c], edi
jge 0x457928
jmp 0x4578b5
mov dword [esp + 0x80], 0
mov edi, dword [0x5f490c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x84]
and ecx, 3
cmp eax, 2
mov eax, dword [esp + 0x80]
rep movsb byte es:[edi], byte [esi]
jne 0x4579d0
test eax, eax
jne 0x457980
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
push 0x8000
call fcn.0047e8b0
add esp, 0x10
jmp 0x4579a5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0x4000
call fcn.0048db40
shr eax, 1
push eax
push ebx
push 0x8000
call fcn.0047edf0
add esp, 0x18
mov edx, dword [0x62bdbc]
mov byte [0x5bf975], 0
shl edx, 0xf
shl ebx, 0x10
mov dword [0x5bf960], edx
mov dword [0x5bf964], ebx
mov byte [0x5bf974], 2
jmp 0x457ffc
test eax, eax
jne 0x4579ee
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push 0x8000
call fcn.0047e8b0
jmp 0x457ff9
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push eax
push ebx
jmp 0x457fef
lea edx, [ecx + ecx*4]
lea eax, [ecx + edx*2]
cdq
and edx, 0xf
add eax, edx
mov edx, dword [0x5f4920]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
mov eax, ecx
push edx
cdq
and edx, 0xf
sar ebp, 4
add eax, edx
mov ecx, ebp
sar eax, 4
sub ecx, eax
mov eax, edi
cdq
and edx, 0x3f
push ecx
add eax, edx
sar eax, 6
push eax
call fcn.0047e690
mov ecx, dword [0x62bdbc]
add esp, 0x10
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
mov esi, eax
mov eax, ecx
cdq
and edx, 3
or ecx, 0xffffffff
add eax, edx
mov ebx, eax
sar esi, 4
sar ebx, 2
sub ebx, esi
mov esi, dword [esp + 0x7c]
lea eax, [esi + esi*4]
lea edx, [eax + eax*8]
xor eax, eax
lea esi, [esi + edx*8]
shl esi, 2
mov dword [esp + 0x78], esi
lea edx, [esi + 0x5c8548]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x457a9d
lea eax, [esp + 0x24]
push str..........
push eax
call fcn.004b57c2
add esp, 8
jmp 0x457ab0
push edx
lea ecx, [esp + 0x28]
push 0x4ccd10
push ecx
call fcn.004b57c2
add esp, 0xc
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x457b24
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x457b24
call fcn.0048db40
test al, 0x80
je 0x457b01
mov edi, 0x4cc800
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edi
push eax
push 0x4000
call fcn.0048db40
shr eax, 1
push eax
push ebp
push ebx
call fcn.0047edf0
add esp, 0x18
jmp 0x457b4e
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push edi
push ecx
push ebp
push ebx
call fcn.0047e690
mov eax, dword [esp + 0x94]
add esp, 0x10
test eax, eax
jne 0x457b70
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x457b70
mov edx, ebp
mov byte [0x5bf975], 0
shl ebx, 0x10
shl edx, 0x10
mov dword [0x5bf960], ebx
mov dword [0x5bf964], edx
mov byte [0x5bf974], 2
mov ecx, dword [0x62bdb8]
push edi
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
add ebp, eax
mov eax, dword [0x5f4924]
push eax
mov eax, ecx
cdq
and edx, 0xf
mov ecx, ebp
add eax, edx
sar eax, 4
sub ecx, eax
mov eax, dword [0x62bdbc]
cdq
and edx, 0x3f
push ecx
add eax, edx
sar eax, 6
push eax
call fcn.0047e690
mov ecx, dword [0x62bdbc]
mov esi, dword [esi + 0x5c8980]
mov eax, ecx
add esp, 0x10
cdq
and edx, 3
add eax, edx
mov ebx, eax
sar ebx, 2
cmp esi, 0x37
jne 0x457bec
mov eax, dword [0x55f380]
mov edx, dword [0x580064]
push 0x40
push edx
mov ecx, dword [eax*8 + 0x55f4a4]
xor edx, edx
mov dx, word [ecx]
push edx
jmp 0x457c30
cmp esi, 0x59
jne 0x457c0f
mov ecx, dword [0x55f380]
mov eax, dword [0x580064]
push 0x40
push eax
mov edx, dword [ecx*8 + 0x55f4b4]
xor eax, eax
mov ax, word [edx + 8]
push eax
jmp 0x457c30
cmp esi, 0x3d
jne 0x457c40
mov edx, dword [0x55f380]
mov ecx, dword [0x580064]
push 0x40
push ecx
mov eax, dword [edx*8 + 0x55f4ac]
xor ecx, ecx
mov cx, word [eax]
push ecx
push ebp
push ebx
call fcn.00443890
mov ecx, dword [0x62bdbc]
add esp, 0x14
cmp dword [esp + 0x84], 1
jne 0x457c75
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x457c75
shl ebx, 0x10
shl ebp, 0x10
mov dword [0x5bf960], ebx
mov dword [0x5bf964], ebp
mov byte [0x5bf975], 0
mov byte [0x5bf974], 2
mov edi, dword [0x62bdb8]
lea edx, [edi + edi*4]
lea eax, [edi + edx*2]
cdq
and edx, 0xf
add eax, edx
mov ebp, eax
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
mov ebx, eax
lea eax, [ecx + ecx*8]
cdq
and edx, 0xf
add eax, edx
mov esi, eax
mov eax, ecx
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [0x5f4cb8]
sar esi, 4
sar eax, 6
add esi, eax
mov eax, dword [esp + 0x10]
push eax
mov eax, edi
push edx
cdq
and edx, 0xf
sar ebp, 4
add eax, edx
mov edx, ebp
sar eax, 4
sub edx, eax
mov eax, ecx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
sar ebx, 5
call fcn.0047e690
add esp, 0x10
xor edi, edi
mov eax, dword [esp + 0x78]
mov ecx, edi
mov eax, dword [eax + 0x5c8a6c]
shr eax, cl
shr eax, 3
and eax, 0x1f
sub eax, 2
cmp eax, 4
jle 0x457cff
dec eax
mov ecx, dword [0x580064]
mov edx, dword [0x55f380]
push 0x80
push ecx
mov ecx, dword [edx*8 + 0x55f46c]
xor edx, edx
mov dx, word [ecx + eax*2]
push edx
push ebp
push esi
call fcn.00443890
add edi, 8
add esp, 0x14
add esi, ebx
cmp edi, 0x20
jb 0x457ce2
mov eax, dword [0x55f384]
mov ecx, dword [0x5f4cbc]
inc eax
push eax
push ecx
push ebp
push esi
call fcn.0047e690
mov eax, dword [esp + 0x94]
add esp, 0x10
test eax, eax
jne 0x457db6
mov eax, dword [esp + 0x80]
cmp eax, 5
jne 0x457d88
lea edx, [esi + ebx*2]
mov eax, ebp
shl edx, 0x10
shl eax, 0x10
mov dword [0x5bf960], edx
mov dword [0x5bf964], eax
mov byte [0x5bf975], 0
mov byte [0x5bf974], 2
jmp 0x457db6
cmp eax, 1
jl 0x457db6
add eax, 0xfffffffb
mov ecx, ebp
imul eax, ebx
add eax, esi
mov byte [0x5bf975], 0
shl eax, 0x10
shl ecx, 0x10
mov dword [0x5bf960], eax
mov dword [0x5bf964], ecx
mov byte [0x5bf974], 1
mov ecx, dword [0x62bdb8]
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x10]
sar eax, 3
add ebp, eax
mov eax, dword [0x5f4cc0]
push edx
push eax
mov eax, ecx
mov ecx, ebp
cdq
and edx, 0xf
add eax, edx
mov edx, dword [0x62bdbc]
sar eax, 4
sub ecx, eax
lea eax, [edx*8]
cdq
and edx, 0xf
push ecx
add eax, edx
sar eax, 4
push eax
call fcn.0047e690
mov eax, dword [0x62bdbc]
or ecx, 0xffffffff
add esp, 0x10
lea esi, [esp + 0x24]
lea eax, [eax + eax*8]
mov dword [esp + 0x78], esi
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esp + 0x7c]
mov ebx, eax
lea eax, [edx + edx*2]
sar ebx, 4
mov eax, dword [eax*4 + 0x5adc20]
mov dword [esp + 0x7c], eax
mov edi, dword [eax*4 + 0x5f4a04]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x78]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5fee0c]
cmp edx, ecx
jge 0x457ed2
xor eax, eax
test ecx, ecx
jle 0x457e85
mov edi, dword [esp + 0x7c]
mov esi, 0x5adc20
cmp eax, edx
je 0x457e7b
cmp dword [esi], edi
je 0x457f49
inc eax
add esi, 0xc
cmp eax, ecx
jl 0x457e6f
jmp 0x457e89
mov edi, dword [esp + 0x7c]
lea eax, [edi - 2]
test eax, eax
jl 0x457ed2
push eax
call fcn.00491ac0
add esp, 4
test al, al
jne 0x457ed2
mov edx, dword [0x5d3d80]
and edx, 0x3f
cmp dl, 0x20
jae 0x457ed2
mov edi, dword [0x5f4c88]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x84]
cmp edi, 1
jne 0x457f65
cmp dword [esp + 0x80], edi
jne 0x457f65
mov al, byte [esp + 0x24]
test al, al
je 0x457f15
mov ecx, dword [esp + 0x10]
mov eax, dword [0x5d3d80]
lea edx, [esp + 0x24]
push ecx
push edx
push 0x8000
shl eax, 4
push eax
push ebp
push ebx
call fcn.0047edf0
add esp, 0x18
mov ecx, dword [0x62bdb8]
mov byte [0x5bf975], 0
mov eax, ecx
mov byte [0x5bf974], 2
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ebx
shl eax, 0x10
shl ebp, 0x10
mov dword [0x5bf960], eax
mov dword [0x5bf964], ebp
jmp 0x457f87
mov ecx, dword [0x5d3d80]
and ecx, 0x1f
cmp cl, 0xc
jae 0x457ed2
mov byte [esp + 0x24], 0
jmp 0x457ed2
mov al, byte [esp + 0x24]
test al, al
je 0x457f81
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push edx
push ebp
push ebx
call fcn.0047e690
add esp, 0x10
mov ecx, dword [0x62bdb8]
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, 0x10
cmp edi, 2
mov esi, ecx
mov ecx, dword [0x5f496c]
push eax
push ecx
jne 0x457fee
mov eax, dword [0x5d3d80]
push 0x8000
shl eax, 4
push eax
push esi
push 0x8000
call fcn.0047edf0
mov edx, dword [0x62bdbc]
add esp, 0x18
shl edx, 0xf
shl esi, 0x10
mov dword [0x5bf960], edx
mov dword [0x5bf964], esi
mov byte [0x5bf975], 0
mov byte [0x5bf974], 2
jmp 0x457ffc
push esi
push 0x8000
call fcn.0047e690
add esp, 0x10
call fcn.00455b20
push 1
call fcn.00447050
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret