Function at 0x457770
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax]
shl edx, 6
push esi
mov esi, dword [ebx + 0xc]
push edi
lea edi, [edx + eax + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edi + 0x28]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [eax + edx*8 + 0x20]
lea eax, [eax + edx*8 + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi]
mov eax, ecx
shr eax, 0x19
and eax, 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], eax
test ecx, 0x800000
je 0x4577e4
test byte [ebp + 0x10], 0x40
mov dword [ebp - 0x50], 1
je 0x4577eb
mov dword [ebp - 0x50], 0
mov eax, esi
call fcn.0041ef70
mov dword [ebp - 0x20], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov eax, esi
call fcn.0041ef70
cmp byte [edi + 0x28], 0
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x20], eax
jbe 0x45782f
mov edx, dword [ebp - 0x38]
test byte [edx + 0x15], 8
je 0x45782f
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
mov dword [edi + 0xc], eax
push 0
push 7
mov eax, esi
call fcn.0041edf0
add esp, 0xc
mov eax, dword [edi]
test eax, 0x8000000
je 0x457b35
mov edi, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
inc dword [ebx + 0x54]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 0x38]
lea eax, [edx + 2]
cmp eax, ecx
mov dword [ebp - 0x30], edi
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0xc], edi
jg 0x457875
add edi, eax
sub ecx, eax
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x38], ecx
jmp 0x457883
mov ecx, dword [ebx + 0x48]
lea edi, [ecx + 1]
add ecx, eax
mov dword [ebp + 0xc], edi
mov dword [ebx + 0x48], ecx
cmp edx, 1
mov dword [ebp - 0x24], 1
jl 0x457962
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jle 0x45794b
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp dword [edx + eax*8], ecx
je 0x4578c2
inc eax
cmp eax, edi
jl 0x4578b0
mov dword [ebp - 0x1c], eax
jmp 0x45794b
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
lea edi, [edx + eax + 1]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*8]
mov eax, dword [eax + 0xc]
push edi
push eax
push ebx
mov dword [ebp - 0x48], edi
call fcn.0042ea20
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp eax, edi
je 0x45794b
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x45794b
mov ecx, dword [edi + 0xc]
cmp dword [edi + 0x10], ecx
mov dword [ebp - 0x4c], ecx
jg 0x457921
call fcn.0041ec50
test eax, eax
jne 0x45794b
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 8], eax
xor eax, eax
mov byte [ecx], 0xf
mov byte [ecx + 3], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
mov byte [edi + 0x62], al
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ecx
je 0x457962
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, ecx
mov dword [ebp - 0x24], eax
jle 0x457893
mov ecx, dword [ebp - 0x30]
mov ebx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x50], edx
jg 0x45797e
mov edi, esi
call fcn.0041ec50
test eax, eax
jne 0x4579ab
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [ebp - 0x50]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x62], cl
mov ebx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
jg 0x4579be
mov edi, esi
call fcn.0041ec50
test eax, eax
jne 0x4579ed
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [ebp - 0x24]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0xc]
dec ecx
mov dword [eax + 4], ecx
inc edx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x62], cl
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x1c]
mov ebx, dword [esi + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [esi + 0x10], ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x50], eax
jg 0x457a20
mov edi, esi
call fcn.0041ec50
test eax, eax
je 0x457a20
mov ebx, 1
jmp 0x457a54
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov byte [eax], 0x80
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [esi + 0x62], 0
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push edx
push esi
mov eax, ebx
call fcn.0041f390
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
jle 0x457af7
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
add edi, 8
add ebx, 4
mov dword [ebp - 0x38], eax
lea ebx, [ebx]
cmp byte [ebx], 0
je 0x457aeb
mov eax, dword [edi]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
test eax, eax
je 0x457aeb
mov cl, byte [eax + 0x12]
test cl, 4
jne 0x457aeb
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
je 0x457ac0
mov edx, dword [eax]
test byte [edx + 2], 1
je 0x457aeb
or cl, 4
mov byte [eax + 0x12], cl
mov ecx, dword [eax + 4]
test ecx, ecx
jl 0x457aeb
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*4]
add byte [edx + ecx*8 + 0x13], 0xff
lea eax, [edx + ecx*8]
jne 0x457aeb
mov esi, dword [ebp - 8]
call fcn.00457320
mov esi, dword [ebp - 0x10]
add ebx, 8
add edi, 0xc
sub dword [ebp - 0x38], 1
jne 0x457a90
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
mov byte [eax + 0x29], 0x83
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x2c]
call fcn.0042e630
mov ecx, dword [ebp - 0x2c]
mov eax, esi
cmp ecx, dword [eax + 0x38]
jle 0x457b28
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ebx
call fcn.0042e680
mov esi, dword [ebp - 0x10]
jmp 0x458541
test eax, 0x1000
je 0x457bd3
mov al, byte [ebx + 0x15]
test al, al
jne 0x457b52
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x28], eax
jmp 0x457b61
dec al
movzx ecx, al
mov byte [ebx + 0x15], al
mov edx, dword [ebx + ecx*4 + 0x18]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
push 0
push 3
push eax
push ecx
push 0xffffffffffffffff
push edi
push edx
call fcn.004546d0
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 8]
add esp, 0x1c
push ecx
push eax
mov eax, dword [ebp - 4]
call fcn.004573e0
mov ecx, dword [ebx + 0x1c]
push ecx
push eax
mov dword [ebp + 0xc], eax
push 0x15
mov eax, esi
mov dword [ebp - 0x1c], ecx
call fcn.0041edf0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add esp, 0x14
push edx
push eax
push edi
push 0x34
mov eax, esi
call fcn.0041ecd0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push ecx
push 0xffffffffffffffff
push edi
call fcn.0042e520
add esp, 0x1c
mov byte [ebx + 0x29], 0x88
jmp 0x458541
test eax, 0x2000
je 0x457ddb
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
push 0
push 0x24
push edx
push eax
push 0xffffffffffffffff
push ebx
push ecx
mov dword [ebp - 0x1c], 0x88
mov dword [ebp - 0x38], 0
call fcn.004546d0
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
push 0
push 0x18
push edx
mov edi, eax
mov eax, dword [ebp + 0x14]
push eax
push 0xffffffffffffffff
push ebx
push ecx
mov dword [ebp - 0x30], edi
call fcn.004546d0
add esp, 0x1c
cmp dword [ebp - 0x18], 0
mov dword [ebp + 0xc], eax
je 0x457c3d
mov edx, eax
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x30], edx
mov edi, eax
test edi, edi
je 0x457cad
mov ebx, dword [edi]
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 0x24], 0x2f
mov byte [ebp - 0x23], 0x2d
mov byte [ebp - 0x22], 0x2c
mov byte [ebp - 0x21], 0x2e
call fcn.0042f7e0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
add esp, 4
mov esi, eax
movzx eax, byte [ebx]
push esi
push ecx
movzx ecx, byte [ebp + eax - 0x71]
mov eax, dword [ebp - 0x10]
push edx
push ecx
call fcn.0041ecd0
mov ebx, esi
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, 1
call fcn.0042e630
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
call fcn.00430930
mov esi, dword [ebp - 8]
mov eax, edi
call fcn.00457320
mov esi, dword [ebp - 0x10]
jmp 0x457cc9
mov edx, dword [ebp - 0x20]
xor eax, eax
cmp dword [ebp - 0x18], eax
push edx
sete al
push ebx
lea eax, [eax + eax + 0x3f]
push eax
mov eax, esi
call fcn.0041edf0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 4]
test ecx, ecx
je 0x457d34
mov ebx, dword [ecx]
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
call fcn.0042f860
mov bl, byte [ebx]
cmp bl, 0x4f
je 0x457d0e
cmp bl, 0x4d
je 0x457d0e
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
setne cl
lea ecx, [ecx + ecx + 0x4d]
mov dword [ebp - 0x1c], ecx
jmp 0x457d1d
xor edx, edx
cmp dword [ebp - 0x18], edx
sete dl
lea edx, [edx + edx + 0x4e]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
call fcn.00457320
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], 0
mov ecx, dword [esi + 0xc]
sete dl
add dl, 0x42
mov byte [eax + 0x29], dl
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ecx
test edi, edi
jne 0x457d5a
cmp dword [ebp + 0xc], edi
jne 0x457d5a
mov byte [eax + 0x2a], 1
cmp dword [ebp - 0x1c], 0x88
je 0x458541
mov al, byte [ebx + 0x15]
test al, al
jne 0x457d79
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
mov dword [ebp - 0x28], edi
jmp 0x457d8a
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov ecx, dword [ebx + eax*4 + 0x18]
mov dword [ebp - 0x28], ecx
mov edi, ecx
push edi
push edx
push 0x3d
mov eax, esi
call fcn.0041edf0
mov eax, dword [ebp - 0xc]
add esp, 0xc
push edi
push 0xffffffffffffffff
push eax
mov edx, ebx
call fcn.0042e520
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push edi
push ecx
push edx
push eax
mov eax, esi
call fcn.0041ecd0
mov eax, dword [esi + 0x14]
add esp, 0x10
test eax, eax
je 0x458541
mov ecx, dword [esi + 0xc]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x6b
jmp 0x458541
test eax, 0x30000
je 0x45828c
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
xor eax, eax
test byte [ebp + 0x10], 1
mov dword [ebp - 0x44], edx
mov edx, dword [ebx + 8]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0x41
mov dword [ebp - 0x70], 0x3f
mov dword [ebp - 0x6c], 0x2f
mov dword [ebp - 0x68], 0x2c
mov dword [ebp - 0x64], 0x2e
mov dword [ebp - 0x60], 0x2d
mov dword [ebp - 0x5c], 0x88
mov dword [ebp - 0x58], 0x5c
mov dword [ebp - 0x54], 0x51
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], edx
je 0x457e6c
test dword [edi], 0x1000000
je 0x457e6c
cmp dword [ebx + 4], ecx
jle 0x457e6c
mov eax, 1
mov dword [ebp - 0x40], eax
test dword [edi], 0x100000
je 0x457e9c
mov ecx, dword [ebp + 0x18]
mov eax, ebx
mov ebx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0xc]
push 0x18
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push edx
push eax
push ecx
call fcn.004546d0
mov dword [ebp - 0x24], eax
add esp, 0x1c
mov eax, 1
jmp 0x457e9f
mov ebx, dword [ebp + 0x14]
test dword [edi], 0x200000
je 0x457ece
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0xc]
push 0x24
push eax
mov eax, dword [ebp - 0x14]
push ebx
push ecx
push edx
push eax
call fcn.004546d0
mov dword [ebp - 0x20], eax
add esp, 0x1c
mov eax, 1
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push edx
push ebx
mov ebx, dword [ebp - 4]
push eax
mov ecx, edi
push ecx
push ebx
call fcn.00457530
mov edx, dword [ebx]
mov ebx, dword [ebp - 0x30]
add esp, 0x1c
mov edi, eax
push edx
mov dword [ebp - 0x38], edi
call fcn.00406c70
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp edx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
jge 0x457f38
mov ebx, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [ecx + 0x28]
xor eax, eax
cmp byte [ebx + edx], al
sete al
cmp dword [ebp - 0x18], eax
jne 0x457f3a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x457f3a
mov ebx, edx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x457f55
test byte [eax + 0x10], 0x28
jne 0x457f55
mov dword [ebp - 0x2c], 0
mov ecx, 1
jmp 0x457f5d
mov ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x457f71
test byte [edx + 0x10], 0x28
mov dword [ebp - 0x4c], 0
je 0x457f74
mov dword [ebp - 0x4c], ecx
test eax, eax
jne 0x457f7f
mov dword [ebp - 0x34], eax
test ebx, ebx
jle 0x457f82
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x45801b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ebx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
lea esi, [edi + ecx]
mov edi, dword [ebp - 4]
mov eax, ebx
mov dword [ebp - 0x40], ebx
call fcn.0042f860
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x9d
je 0x457fb3
cmp cl, 0x9c
jne 0x457fb8
mov eax, dword [eax + 8]
jmp 0x457fa7
mov cl, byte [eax]
cmp cl, 0x84
jne 0x457fc2
mov cl, byte [eax + 0x23]
cmp cl, 0x5e
je 0x457fe1
cmp cl, 0x80
jbe 0x457fd1
cmp cl, 0x83
jbe 0x457fe1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push edx
push esi
call fcn.0042d860
add esp, 8
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x458010
mov bl, byte [edi + esi]
mov eax, dword [ebp - 0x40]
call fcn.0042c190
cmp al, 0x62
jne 0x457ffd
mov byte [edi + esi], al
mov dl, byte [edi + esi]
mov ecx, dword [ebp - 0x40]
call fcn.0042d8b0
test eax, eax
je 0x458010
mov byte [edi + esi], 0x62
mov edi, dword [ebp - 0x38]
lea ebx, [esi + 1]
mov esi, dword [ebp - 0x10]
jmp 0x458045
cmp dword [ebp - 0x40], 0
je 0x458045
mov ebx, dword [ebp + 0xc]
lea eax, [edi + ebx]
push eax
push 0
push 0xa
mov eax, esi
call fcn.0041edf0
add esp, 0xc
inc ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
push ecx
mov ecx, ebx
mov edx, edi
call fcn.00457360
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
add esp, 4
push ebx
mov ebx, dword [ebp - 0x44]
push edi
push edx
lea edx, [eax + ecx*2]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*2]
mov edx, dword [ebp + ecx*4 - 0x7c]
push ebx
push edx
mov eax, esi
call fcn.0041eec0
mov eax, dword [ebp + 0xc]
add esp, 0x14
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x40], eax
je 0x458149
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
lea ebx, [edi + ecx]
mov eax, 1
call fcn.0042e630
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 4]
mov esi, ebx
call fcn.0042f860
mov eax, dword [ebp - 0x2c]
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x9d
je 0x4580cc
cmp cl, 0x9c
jne 0x4580d1
mov eax, dword [eax + 8]
jmp 0x4580c0
mov cl, byte [eax]
cmp cl, 0x84
jne 0x4580db
mov cl, byte [eax + 0x23]
cmp cl, 0x5e
je 0x4580fa
cmp cl, 0x80
jbe 0x4580ea
cmp cl, 0x83
jbe 0x4580fa
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042d860
add esp, 8
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x458129
mov bl, byte [esi + edi]
mov eax, dword [ebp - 0x2c]
call fcn.0042c190
cmp al, 0x62
jne 0x458116
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [ebp - 0x2c]
call fcn.0042d8b0
test eax, eax
je 0x458129
mov byte [esi + edi], 0x62
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
inc edi
push eax
mov eax, esi
mov ecx, edi
call fcn.00457360
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push ecx
push eax
call fcn.00406900
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push ecx
push eax
call fcn.00406900
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 8]
add esp, 0x10
cmp dword [ebp - 0x24], 0
mov dword [edx + 0x30], ecx
jne 0x458183
cmp dword [ebp + 0xc], 0
jne 0x458183
xor eax, eax
jmp 0x458188
mov eax, 1
mov ecx, dword [ebp - 0x18]
inc ecx
imul ecx, eax
mov eax, dword [ebp + ecx*4 - 0x5c]
cmp eax, 0x88
je 0x4581c9
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
push edx
push edi
push ecx
push ebx
push eax
mov eax, esi
call fcn.0041eec0
mov eax, dword [esi + 0x14]
add esp, 0x14
test eax, eax
je 0x4581c9
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], edx
mov edi, dword [esi + 0xc]
setne cl
lea edx, [edi + edi*4]
mov byte [eax + edx*4 - 0x11], cl
mov ecx, dword [ebp - 4]
mov al, byte [ecx + 0x15]
test al, al
jne 0x4581db
inc dword [ecx + 0x48]
mov edi, dword [ecx + 0x48]
jmp 0x4581e7
dec al
mov byte [ecx + 0x15], al
movzx eax, al
mov edi, dword [ecx + eax*4 + 0x18]
mov ecx, dword [ebp - 8]
test dword [ecx], 0x300000
je 0x458212
mov edx, dword [ebp + 0xc]
push edi
push edx
push ebx
push 0x1c
mov eax, esi
call fcn.0041ecd0
mov eax, dword [ebp - 0x3c]
push eax
push edi
push 0x49
mov eax, esi
call fcn.0041edf0
add esp, 0x1c
mov edx, dword [ebp - 4]
mov esi, edi
call fcn.00430930
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
call fcn.00457320
mov eax, dword [ebp - 0x24]
call fcn.00457320
cmp dword [ebp - 0x50], 0
jne 0x458275
mov eax, dword [ebp - 4]
call fcn.00430910
mov edi, eax
mov eax, dword [ebp - 0x10]
push edi
push ebx
push 0x48
mov dword [ebp - 0x28], edi
call fcn.0041edf0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add esp, 0xc
push edi
push 0xffffffffffffffff
push ecx
call fcn.0042e520
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add esp, 0xc
push edi
push edx
push 0x30
call fcn.0041edf0
add esp, 0xc
cmp dword [ebp - 0x18], 0
mov dword [esi + 0x2c], ebx
sete al
add al, 0x42
mov byte [esi + 0x29], al
mov esi, dword [ebp - 0x10]
jmp 0x458541
test eax, 0x10000000
je 0x458510
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov eax, esi
mov dword [ebp - 0x34], ecx
call fcn.0041ef70
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov byte [edi + 0x29], 3
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x18]
cmp eax, 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], edx
jle 0x45841a
sub eax, dword [ebp + 0xc]
mov esi, dword [ebx]
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx*8 + 0x40]
mov dword [ebp + 0xc], eax
call fcn.00406b00
mov dword [ebp - 0x30], eax
test eax, eax
je 0x458748
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
mov word [ebx + 2], cx
mov word [ebx], cx
lea edi, [ebx + 8]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 8]
add ecx, 8
cmp eax, 1
mov dword [ebp - 0x2c], ecx
jl 0x458368
mov edx, dword [ebp - 8]
add ebx, 0x40
add edx, 0x68
mov dword [ebp + 0xc], eax
movzx eax, byte [edx]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x2c]
lea esi, [eax + ecx*8]
mov edi, ebx
mov ecx, 0xe
add edx, 0x40
add ebx, 0x38
sub dword [ebp + 0xc], 1
rep movsd dword es:[edi], dword [esi]
jne 0x458341
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
and eax, 8
mov dword [ebp - 0x24], eax
jne 0x45839a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
push ecx
mov dword [edx + 0x48], eax
mov dword [ebp - 0x50], eax
push 0
push 0xa
mov eax, esi
mov dword [ebp - 0x4c], ecx
call fcn.0041edf0
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
xor ebx, ebx
push ebx
push 7
mov eax, esi
call fcn.0041edf0
mov edi, dword [ebp - 0x48]
add esp, 0xc
cmp dword [edi + 0x14], ebx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp + 0xc], ebx
jle 0x4584a2
mov dword [ebp - 0x2c], ebx
mov eax, dword [edi + 0x1c]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
cmp dword [eax + 8], ecx
je 0x4583e1
mov edx, 0x200
cmp word [eax + 0x10], dx
jne 0x45848b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
push 0xf0
push 0
push eax
push ecx
push edx
call fcn.004588c0
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x45848b
cmp word [ebp - 0x24], 0
jne 0x458461
mov eax, dword [edi + 0x14]
dec eax
cmp dword [ebp + 0xc], eax
jne 0x458425
or edi, 0xffffffff
jmp 0x458428
mov edx, dword [ecx + 8]
mov dword [ebp - 0x30], edx
jmp 0x45836b
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [ebp - 4]
push 0xffffffffffffffff
push ecx
push edx
call fcn.0042e6d0
mov ecx, dword [ebp - 0x4c]
add esp, 0x14
push edi
push eax
mov eax, dword [esi + 0xc]
add eax, 2
push eax
push ecx
push 0x6b
mov eax, esi
call fcn.0041eec0
mov edi, dword [ebp - 0x48]
add esp, 0x14
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
push edx
push eax
push 2
mov eax, esi
call fcn.0041edf0
add esp, 0xc
cmp byte [ebx + 7], 0
je 0x458482
mov dword [ebp - 0x40], 1
push ebx
call fcn.00459330
add esp, 4
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x2c], 0x28
inc eax
cmp eax, dword [edi + 0x14]
mov dword [ebp + 0xc], eax
jl 0x4583c4
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0xc]
cmp eax, ecx
jle 0x4584b3
mov edx, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x18]
push eax
push 0
push 1
mov eax, esi
call fcn.0041edf0
mov eax, dword [esi + 0x20]
add esp, 0xc
test eax, eax
je 0x4584e0
mov ecx, dword [ebp - 0x44]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 1
jle 0x4584fb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push edx
call fcn.00406900
add esp, 8
cmp dword [ebp - 0x40], 0
jne 0x458541
mov eax, dword [ebp - 0x1c]
mov esi, edi
call fcn.00457320
mov esi, dword [ebp - 0x10]
jmp 0x458541
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x527984]
mov edx, dword [ebp - 0x20]
mov byte [edi + 0x29], al
mov eax, dword [ebp - 0xc]
push edx
push eax
mov dword [edi + 0x2c], eax
movzx eax, byte [ecx + 0x527988]
push eax
mov eax, esi
call fcn.0041edf0
add esp, 0xc
inc eax
mov dword [edi + 0x30], eax
mov byte [edi + 0x2a], 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x458561
mov edi, dword [ebp - 0xc]
add edx, 4
cmp dword [edx], edi
je 0x45859f
inc ecx
add edx, 4
cmp ecx, eax
jl 0x458555
xor eax, eax
xor edx, edx
not eax
and dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x14]
mov edi, dword [eax + 0x1c]
not edx
and dword [ebp + 0x18], edx
test ebx, ebx
jle 0x4585dd
lea esp, [esp]
test byte [edi + 0x12], 6
jne 0x4585d5
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
je 0x4585ad
mov edx, dword [ebp + 8]
mov byte [edx + 7], 1
jmp 0x4585d5
mov eax, 1
xor edx, edx
call fcn.0050b3a0
jmp 0x458565
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
mov eax, dword [edi]
je 0x4585be
test byte [eax + 2], 1
je 0x4585d5
mov edx, dword [ebp - 0x3c]
push 8
push edx
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00430070
add esp, 0x10
or byte [edi + 0x12], 4
dec ebx
add edi, 0x28
test ebx, ebx
jg 0x458580
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
je 0x458718
mov edx, dword [esi + 0xc]
mov eax, ecx
mov dword [eax + 0x24], edx
mov eax, dword [eax + 0xc]
mov ebx, dword [esi + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
jg 0x458665
test eax, eax
je 0x45860a
add eax, eax
jmp 0x45860f
mov eax, 0x33
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, dword [esi]
call fcn.00406b70
mov edi, eax
add esp, 4
test edi, edi
je 0x458694
mov eax, dword [esi]
test eax, eax
je 0x458649
cmp edi, dword [eax + 0xf8]
jb 0x458649
cmp edi, dword [eax + 0xfc]
jae 0x458649
movzx ecx, word [eax + 0xe8]
jmp 0x458655
push edi
call dword [0x540c64]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x14]
mov ecx, 1
add dword [esi + 0xc], ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x62], cl
mov ebx, dword [ebp - 4]
lea eax, [ebx + 0x70]
mov esi, 0xa
nop
mov edx, dword [eax]
test edx, edx
je 0x4586c8
cmp byte [eax - 8], 0
je 0x4586c2
mov cl, byte [ebx + 0x15]
cmp cl, 8
jae 0x4586be
movzx ecx, cl
mov dword [ebx + ecx*4 + 0x18], edx
inc byte [ebx + 0x15]
mov byte [eax - 8], 0
mov dword [eax], 0
add eax, 0x18
sub esi, 1
jne 0x4586a0
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x1c]
xor edi, edi
cmp dword [eax + 0x14], edi
jle 0x458718
lea ecx, [ecx]
test byte [esi + 0x12], 6
jne 0x45870c
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x45870c
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
push 8
push edx
push eax
push ebx
call fcn.00430070
add esp, 0x10
or byte [esi + 0x12], 4
mov ecx, dword [ebp - 0x14]
inc edi
add esi, 0x28
cmp edi, dword [ecx + 0x14]
jl 0x4586e0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x458748
mov edx, dword [ebp - 4]
mov bl, byte [edx + 0x15]
cmp bl, 8
jae 0x458748
xor eax, eax
lea ecx, [edx + 0x60]
nop
cmp dword [ecx + 0x10], esi
je 0x458755
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x458730
movzx eax, bl
mov dword [edx + eax*4 + 0x18], esi
inc byte [edx + 0x15]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov byte [ecx + 8], 1
pop ebx
mov esp, ebp
pop ebp
ret