Function at 0x5779e0
Capabilities:
Encode data using base64
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x9a0
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], ecx
mov ebx, dword [ebp + 0x24]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x19c]
push 0x200
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
cmp esi, 0x18000
mov eax, 0x18000
mov dword [esp + 0x50], esi
cmovb eax, esi
mov edi, eax
mov eax, dword [ebx]
lea ecx, [eax + 3]
mov dword [esp + 0x58], ecx
mov esi, eax
mov dword [esp + 0x10], eax
xorpd xmm0, xmm0
movapd xmmword [esp + 0x180], xmm0
movapd xmmword [esp + 0x170], xmm0
movapd xmmword [esp + 0x160], xmm0
movapd xmmword [esp + 0x150], xmm0
movapd xmmword [esp + 0x140], xmm0
movapd xmmword [esp + 0x130], xmm0
movapd xmmword [esp + 0x120], xmm0
movapd xmmword [esp + 0x110], xmm0
movapd xmmword [esp + 0x100], xmm0
movapd xmmword [esp + 0xf0], xmm0
movapd xmmword [esp + 0xe0], xmm0
movapd xmmword [esp + 0xd0], xmm0
movapd xmmword [esp + 0xc0], xmm0
movapd xmmword [esp + 0xb0], xmm0
movapd xmmword [esp + 0xa0], xmm0
movapd xmmword [esp + 0x90], xmm0
lea eax, [esp + 0x39c]
push 0x200
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov eax, esi
shr eax, 3
mov edx, dword [ebp + 0x28]
movzx ecx, byte [edx + eax]
mov dword [edx + eax], ecx
mov dword [edx + eax + 4], 0
lea ecx, [esi + 1]
mov dword [ebx], ecx
xor eax, eax
xor edx, edx
cmp edi, 0x10001
mov esi, edi
mov dword [esp + 0x4c], edi
setae al
setb dl
mov edi, ecx
shr edi, 3
and cl, 7
mov ebx, dword [ebp + 0x28]
movzx ebx, byte [ebx + edi]
shl eax, cl
or eax, ebx
mov ecx, dword [ebp + 0x28]
mov dword [ecx + edi], eax
mov dword [ecx + edi + 4], 0
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
lea edi, [esi - 1]
mov ebx, edi
shr ebx, 1
mov ch, al
and ch, 7
mov cl, ch
xor cl, 0x1f
shr ebx, cl
mov cl, ch
shl edi, cl
shr eax, 3
mov esi, dword [ebp + 0x28]
movzx ecx, byte [esi + eax]
or edi, ecx
mov dword [esi + eax + 4], ebx
mov ebx, esi
xor edx, 5
mov dword [esi + eax], edi
mov esi, dword [esp + 0x10]
lea eax, [esi + edx*4]
add eax, 3
mov edi, dword [ebp + 0x24]
mov dword [edi], eax
shr eax, 3
movzx ecx, byte [ebx + eax]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], 0
lea eax, [esi + edx*4]
add eax, 4
mov dword [edi], eax
shr eax, 3
movzx ecx, byte [ebx + eax]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], 0
lea eax, [esi + edx*4]
add eax, 0x11
mov dword [edi], eax
lea eax, [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x48]
push ebx
push edi
lea esi, [esp + 0x3a4]
push esi
push eax
push dword [esp + 0x5c]
call fcn.0057de40
add esp, 0x14
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [edi]
cmp ecx, 8
jb 0x577c5a
mov ecx, edx
and ecx, 7
mov dword [esp + 8], ecx
mov esi, 7
nop word cs:[eax + eax]
mov dword [esp + 0x10], edx
lea eax, [esi - 7]
shr eax, 3
mov ecx, dword [ebp + 0x20]
movzx edi, byte [ecx + eax]
mov ebx, edx
shr ebx, 3
mov eax, dword [ebp + 0x28]
movzx ecx, byte [eax + ebx]
mov dword [esp + 0x20], ecx
mov eax, edi
shr eax, 1
mov edx, dword [esp + 8]
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
mov edx, dword [esp + 0x10]
shl edi, cl
or edi, dword [esp + 0x20]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + ebx + 4], eax
mov dword [ecx + ebx], edi
add edx, 8
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
add esi, 8
cmp esi, ecx
jb 0x577c00
mov dword [esp + 0x10], ecx
shr ecx, 3
mov eax, dword [ebp + 0x20]
movzx edi, byte [eax + ecx]
mov ebx, edx
shr ebx, 3
mov esi, edi
shr esi, 1
mov eax, edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr esi, cl
mov ecx, eax
shl edi, cl
mov ecx, dword [ebp + 0x28]
movzx eax, byte [ecx + ebx]
or edi, eax
mov dword [ecx + ebx + 4], esi
mov dword [ecx + ebx], edi
mov ecx, dword [esp + 0x10]
and ecx, 7
add ecx, edx
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
nop word cs:[eax + eax]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], ebx
nop dword [eax]
mov esi, dword [esp + 0x50]
push 0x200
push 0x8bb3a0
lea eax, [esp + 0x1a4]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
lea eax, [ebx + edi]
mov dword [esp + 0x44], eax
cmp edi, 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
jb 0x579020
lea eax, [edi - 5]
lea ecx, [esi - 0x10]
cmp eax, ecx
cmovb ecx, eax
add ecx, ebx
mov dword [esp + 0x54], ecx
lea edi, [ebx + 1]
mov eax, dword [ebx + 1]
mov ecx, eax
mov esi, 0xbd000000
mul esi
mov eax, 0x1e35a7
imul ecx, eax
add edx, ecx
mov eax, dword [ebx + 5]
imul eax, esi
mov esi, edi
add eax, edx
shr eax, 0x15
mov dword [esp + 0x10], eax
mov eax, 0xffffffff
jmp 0x577d74
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 1]
mov ecx, eax
mov ebx, edx
mov edx, 0x1e35a7
imul ecx, edx
mov esi, 0xbd000000
mul esi
add edx, ecx
mov eax, dword [edi + 5]
imul eax, esi
add eax, edx
mov dword [esp + 0x3c], edi
lea esi, [edi + 1]
shr eax, 0x15
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x40], eax
mov ecx, eax
neg ecx
mov eax, 0x20
mov dword [esp + 0x38], ecx
jmp 0x577da7
test eax, eax
jne 0x577e78
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x10], ebx
mov esi, edi
mov edi, eax
shr edi, 5
add edi, esi
cmp edi, dword [esp + 0x54]
ja 0x579020
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov ebx, eax
mov ecx, 0x1e35a7
imul ebx, ecx
mov ecx, 0xbd000000
mul ecx
add edx, ebx
mov ebx, dword [edi + 4]
imul ebx, ecx
mov ecx, dword [esp + 0x38]
add ebx, edx
shr ebx, 0x15
mov eax, dword [esi]
cmp eax, dword [esi + ecx]
jne 0x577e20
movzx eax, byte [esi + 4]
cmp al, byte [esi + ecx + 4]
jne 0x577e20
test ecx, ecx
jns 0x577e20
lea eax, [esi + ecx]
mov dword [esp + 8], eax
mov edx, esi
sub edx, dword [esp + 0x48]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 8]
mov eax, esi
sub eax, ecx
cmp eax, 0x3fff0
jg 0x577d9c
jmp 0x577e90
mov dword [esp + 0xc], ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x48]
add eax, edx
mov dword [esp + 8], eax
mov eax, esi
sub eax, edx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + ebx*4], eax
mov dword [esp + 0x10], esi
mov esi, dword [esi]
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp esi, dword [edx + ecx]
jne 0x577d90
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 4]
xor eax, eax
mov edx, dword [esp + 8]
cmp cl, byte [edx + 4]
sete al
jmp 0x577d90
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp 0x577e10
mov dword [esp + 8], ecx
mov dword [esp + 0x74], eax
lea ecx, [esi + 5]
mov edx, dword [esp + 0x44]
sub edx, esi
lea eax, [esi + edx]
cmp edx, 9
mov dword [esp + 0x10], esi
jge 0x577ed0
mov dword [esp + 0x38], 0
mov esi, ecx
mov edi, dword [esp + 0x3c]
cmp esi, eax
jb 0x577f0d
mov ebx, dword [ebp + 0x28]
jmp 0x577f4a
mov dword [esp + 0x20], eax
add esi, edx
add esi, 0xfffffffc
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ecx + edi]
mov ebx, dword [esp + 8]
cmp eax, dword [ebx + edi + 5]
jne 0x577efa
lea eax, [ecx + edi]
add eax, 4
add edi, 4
cmp eax, esi
jbe 0x577ee0
mov dword [esp + 0x38], edi
lea esi, [ecx + edi]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
cmp esi, eax
jae 0x577ebf
add ecx, edx
sub ecx, esi
mov edx, dword [esp + 0x38]
lea eax, [ecx + edx]
add eax, 0xfffffffb
mov dword [esp + 0x20], eax
add ecx, 0xfffffffb
mov ebx, dword [ebp + 0x28]
nop word cs:[eax + eax]
mov eax, dword [esp + 8]
movzx eax, byte [eax + edx + 5]
cmp al, byte [esi]
jne 0x577f46
inc esi
inc edx
dec ecx
jne 0x577f30
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
sub edx, edi
cmp edx, 0x1841
mov dword [esp + 0x1c], edx
ja 0x578ecb
cmp edx, 6
jae 0x577fd0
mov eax, dword [ebp + 0x18]
movzx esi, word [eax + edx*2 + 0x50]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov eax, ecx
mov edx, ecx
mov edi, esi
shr edi, 1
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl esi, cl
shr edx, 3
movzx eax, byte [ebx + edx]
or esi, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + ecx + 0x28]
mov dword [ebx + edx + 4], edi
mov ecx, dword [esp + 0x3c]
mov dword [ebx + edx], esi
mov edx, eax
add edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
inc dword [esp + eax*4 + 0x23c]
cmp dword [esp + 0x10], ecx
jne 0x578212
jmp 0x57828c
cmp edx, 0x81
ja 0x5780b0
lea ebx, [edx - 2]
mov dword [esp + 8], ebx
bsr eax, ebx
xor eax, 0xffffffe0
mov dword [esp + 0x20], eax
lea ecx, [eax + 0x1f]
mov dword [esp + 0xc], ecx
shr ebx, cl
mov dword [esp + 0x7c], ebx
lea ecx, [ebx + eax*2]
add ecx, 0x3e
mov dword [esp + 0x64], ecx
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + ecx*2 + 0x54]
mov esi, edi
shr esi, 1
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov ch, al
and ch, 7
mov cl, ch
xor cl, 0x1f
shr esi, cl
mov cl, ch
shl edi, cl
mov ecx, eax
shr ecx, 3
mov eax, dword [ebp + 0x28]
movzx edx, byte [eax + ecx]
or edi, edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x64]
movzx edx, byte [edx + ebx + 0x2a]
mov dword [eax + ecx + 4], esi
mov dword [eax + ecx], edi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
lea eax, [esi + eax*2 + 0x68]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
shl esi, cl
add edx, dword [esp + 0x78]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, dword [esp + 8]
sub eax, esi
mov esi, edx
shr esi, 3
mov edi, eax
mov ebx, eax
shr edi, 1
mov eax, edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl ebx, cl
mov ecx, dword [ebp + 0x28]
movzx eax, byte [ecx + esi]
or ebx, eax
mov dword [ecx + esi + 4], edi
mov dword [ecx + esi], ebx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
add edx, eax
add edx, 0x1f
jmp 0x578202
cmp edx, 0x841
ja 0x57816c
lea eax, [edx - 0x42]
bsr esi, eax
mov dword [esp + 8], esi
xor esi, 0xffffffe0
mov eax, dword [ebp + 0x18]
movzx ebx, word [eax + esi*2 + 0xa4]
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov edx, ebx
shr edx, 1
mov ch, al
and ch, 7
mov cl, ch
xor cl, 0x1f
shr edx, cl
mov cl, ch
shl ebx, cl
mov ecx, eax
shr ecx, 3
mov eax, dword [ebp + 0x28]
movzx edi, byte [eax + ecx]
or ebx, edi
mov edi, dword [ebp + 0x14]
movzx edi, byte [edi + esi + 0x52]
mov dword [eax + ecx + 4], edx
mov dword [eax + ecx], ebx
mov esi, dword [esp + 0x20]
add esi, edi
mov edx, 0xffffffff
mov ecx, dword [esp + 8]
shl edx, cl
mov ecx, dword [ebp + 0x24]
mov dword [ecx], esi
mov ecx, dword [esp + 0x1c]
lea ebx, [edx + ecx]
add ebx, 0xffffffbe
mov edx, ebx
shr edx, 1
mov ecx, esi
mov ch, cl
and ch, 7
mov cl, ch
xor cl, 0x1f
shr edx, cl
mov cl, ch
shl ebx, cl
mov ecx, esi
shr ecx, 3
movzx edi, byte [eax + ecx]
or ebx, edi
mov dword [eax + ecx + 4], edx
mov edx, esi
mov dword [eax + ecx], ebx
add edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x52]
jmp 0x578202
mov eax, dword [ebp + 0x18]
movzx ebx, word [eax + 0x7a]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov edi, ebx
shr edi, 1
mov eax, ecx
mov esi, ecx
mov dword [esp + 0x20], ecx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov edx, esi
shr edx, 3
mov esi, dword [ebp + 0x28]
movzx ecx, byte [esi + edx]
mov dword [esp + 8], ecx
mov ecx, eax
shl ebx, cl
or ebx, dword [esp + 8]
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x3d]
mov dword [esp + 8], ecx
mov dword [esi + edx + 4], edi
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [esi + edx], ebx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov edi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xfffff7be
mov ebx, edx
shr ebx, 1
shr ebx, cl
mov ecx, eax
shl edx, cl
shr edi, 3
movzx eax, byte [esi + edi]
or edx, eax
mov dword [esi + edi + 4], ebx
mov dword [esi + edi], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
lea edx, [eax + ecx]
add edx, 0xc
mov ecx, 0x3d
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
inc dword [esp + ecx*4 + 0x19c]
mov ecx, dword [esp + 0x3c]
xor esi, esi
nop word cs:[eax + eax]
mov dword [esp + 0x20], esi
movzx eax, byte [ecx + esi]
mov dword [esp + 8], eax
movzx edi, word [esp + eax*2 + 0x39c]
mov ebx, edx
shr ebx, 3
mov esi, edi
shr esi, 1
mov eax, edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr esi, cl
mov ecx, dword [ebp + 0x28]
movzx ecx, byte [ecx + ebx]
mov dword [esp + 0xc], ecx
mov ecx, eax
shl edi, cl
or edi, dword [esp + 0xc]
mov eax, dword [esp + 8]
movzx eax, byte [esp + eax + 0x90]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + ebx + 4], esi
mov ecx, dword [ebp + 0x28]
mov dword [ecx + ebx], edi
mov esi, dword [ebp + 0x24]
mov ecx, dword [esp + 0x3c]
add edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], edx
mov esi, dword [esp + 0x20]
inc esi
cmp eax, esi
jne 0x578220
mov eax, dword [esp + 0x38]
add eax, 5
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
jne 0x578300
mov eax, dword [ebp + 0x18]
movzx esi, word [eax + 0x80]
mov eax, edx
shr edx, 3
mov edi, esi
shr edi, 1
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl esi, cl
mov ecx, dword [ebp + 0x28]
movzx eax, byte [ecx + edx]
or esi, eax
mov eax, dword [ebp + 0x14]
movzx ebx, byte [eax + 0x40]
mov dword [ecx + edx + 4], edi
mov edi, dword [esp + 0x40]
mov dword [ecx + edx], esi
add ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x20], ebx
mov dword [eax], ebx
lea eax, [esp + 0x29c]
jmp 0x5783d0
lea edi, [ecx + 3]
mov dword [esp + 0x3c], edi
bsr ebx, edi
xor ebx, 0x1f
mov eax, 0x1e
sub eax, ebx
mov dword [esp + 0xc], eax
xor eax, eax
mov esi, dword [esp + 0xc]
bt edi, esi
setb al
add ebx, ebx
xor ebx, 0x3e
or ebx, eax
mov dword [esp + 0x1c], ebx
add eax, 2
mov ecx, dword [esp + 0xc]
shl eax, cl
mov dword [esp + 0x40], eax
mov esi, edx
shr esi, 3
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + ebx*2 + 0x98]
mov eax, edi
shr eax, 1
mov ch, dl
and ch, 7
mov cl, ch
xor cl, 0x1f
shr eax, cl
mov cl, ch
shl edi, cl
mov ebx, dword [ebp + 0x28]
movzx ecx, byte [ebx + esi]
or edi, ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
movzx edx, byte [ecx + edx + 0x4c]
mov dword [ebx + esi + 4], eax
mov dword [ebx + esi], edi
add edx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x40]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, edx
shr eax, 3
mov edi, esi
shr edi, 1
mov ch, dl
and ch, 7
mov cl, ch
xor cl, 0x1f
shr edi, cl
mov cl, ch
shl esi, cl
movzx ecx, byte [ebx + eax]
or esi, ecx
mov dword [ebx + eax + 4], edi
mov dword [ebx + eax], esi
add edx, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
lea eax, [esp + eax*4]
add eax, 0x2cc
mov edi, dword [esp + 0x74]
inc dword [eax]
mov eax, dword [esp + 8]
cmp eax, 0xb
mov edx, dword [esp + 0x38]
mov dword [esp + 0x40], edi
ja 0x578440
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + edx*2 + 2]
mov eax, dword [esp + 0x20]
mov ebx, eax
shr ebx, 3
mov edi, edx
shr edi, 1
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl edx, cl
mov esi, dword [ebp + 0x28]
movzx eax, byte [esi + ebx]
or edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x38]
movzx eax, byte [eax + ecx + 1]
mov dword [esi + ebx + 4], edi
mov edi, dword [esp + 0x38]
mov dword [esi + ebx], edx
add eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
lea ecx, [edi + 1]
jmp 0x57882b
cmp eax, 0x47
ja 0x578530
lea ebx, [edx - 3]
mov dword [esp + 0x3c], ebx
bsr eax, ebx
xor eax, 0xffffffe0
mov dword [esp + 8], eax
lea ecx, [eax + 0x1f]
mov dword [esp + 0xc], ecx
shr ebx, cl
lea ecx, [ebx + eax*2]
add ecx, 0x3e
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + ecx*2 + 8]
mov eax, edi
shr eax, 1
mov ecx, dword [esp + 0x20]
mov edx, ecx
mov esi, ecx
mov dword [esp + 0x20], ecx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
shl edi, cl
mov ecx, esi
shr ecx, 3
mov edx, dword [ebp + 0x28]
movzx edx, byte [edx + ecx]
or edi, edx
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x1c]
movzx esi, byte [edx + esi + 4]
mov edx, dword [ebp + 0x28]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp + 0x28]
mov dword [eax + ecx], edi
add esi, dword [esp + 0x20]
mov eax, dword [esp + 8]
lea eax, [ebx + eax*2]
add eax, 0x42
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
shl ebx, cl
mov eax, dword [ebp + 0x24]
mov edx, esi
mov dword [eax], esi
mov esi, dword [esp + 0x3c]
sub esi, ebx
mov ebx, dword [ebp + 0x28]
mov edi, esi
shr edi, 1
mov eax, edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl esi, cl
mov eax, edx
shr eax, 3
movzx ecx, byte [ebx + eax]
or esi, ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + eax + 4], edi
mov edi, dword [esp + 0x38]
mov dword [ebx + eax], esi
mov eax, dword [esp + 8]
add eax, edx
add eax, 0x1f
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
jmp 0x57882b
cmp eax, 0x87
ja 0x578637
lea esi, [edx - 3]
mov ecx, esi
shr ecx, 5
mov dword [esp + 8], ecx
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + ecx*2 + 0x3c]
mov eax, dword [esp + 0x20]
mov ebx, eax
shr ebx, 3
mov edx, edi
shr edx, 1
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edx, cl
mov ecx, eax
shl edi, cl
mov eax, dword [ebp + 0x28]
movzx eax, byte [eax + ebx]
or edi, eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 8]
movzx ecx, byte [ecx + eax + 0x1e]
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x28]
mov dword [eax + ebx + 4], edx
mov eax, dword [ebp + 0x28]
mov dword [eax + ebx], edi
mov eax, dword [esp + 0x20]
lea ebx, [eax + ecx]
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
and esi, 0x1f
mov edi, ebx
shr edi, 3
mov eax, ebx
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, esi
shr edx, 1
shr edx, cl
mov ecx, eax
shl esi, cl
mov eax, dword [ebp + 0x28]
movzx eax, byte [eax + edi]
or esi, eax
mov eax, dword [ebp + 0x28]
mov dword [eax + edi + 4], edx
mov eax, dword [ebp + 0x28]
mov dword [eax + edi], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [eax + ecx + 5]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov esi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [ebp + 0x18]
movzx edx, word [edx + 0x80]
mov edi, edx
shr edi, 1
shr edi, cl
mov ecx, eax
shl edx, cl
shr esi, 3
mov eax, dword [ebp + 0x28]
movzx eax, byte [eax + esi]
or edx, eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0x40]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + esi + 4], edi
mov edi, dword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + esi], edx
lea eax, [eax + ebx + 5]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 8]
inc dword [esp + eax*4 + 0x214]
jmp 0x578826
cmp eax, 0x847
ja 0x57873b
lea eax, [edx - 0x43]
bsr ecx, eax
mov dword [esp + 0xc], ecx
xor ecx, 0xffffffe0
mov dword [esp + 8], ecx
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + ecx*2 + 0x78]
mov eax, edi
shr eax, 1
mov ebx, dword [esp + 0x20]
mov edx, ebx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
shl edi, cl
mov ecx, ebx
shr ecx, 3
mov esi, dword [ebp + 0x28]
movzx edx, byte [esi + ecx]
or edi, edx
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 0x14]
movzx ebx, byte [ebx + edx + 0x3c]
mov dword [esi + ecx + 4], eax
mov dword [esi + ecx], edi
add ebx, dword [esp + 0x20]
mov eax, 0xffffffff
mov ecx, dword [esp + 0xc]
shl eax, cl
mov ecx, dword [ebp + 0x24]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x38]
lea edi, [eax + ecx]
add edi, 0xffffffbd
mov eax, edi
shr eax, 1
mov edx, ebx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
shl edi, cl
mov ecx, ebx
shr ecx, 3
movzx edx, byte [esi + ecx]
or edi, edx
mov dword [esi + ecx + 4], eax
mov dword [esi + ecx], edi
add ebx, dword [esp + 0xc]
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + 0x80]
mov eax, ebx
mov esi, ebx
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edi, edx
shr edi, 1
shr edi, cl
mov ecx, eax
shl edx, cl
shr ebx, 3
mov eax, dword [ebp + 0x28]
movzx eax, byte [eax + ebx]
or edx, eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0x40]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + ebx + 4], edi
mov edi, dword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + ebx], edx
add eax, esi
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 8]
inc dword [esp + eax*4 + 0x28c]
jmp 0x578826
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + 0x4e]
mov eax, dword [esp + 0x20]
mov edi, eax
shr edi, 3
mov ebx, edx
shr ebx, 1
and al, 7
mov ecx, eax
xor cl, 0x1f
shr ebx, cl
mov ecx, dword [ebp + 0x28]
movzx esi, byte [ecx + edi]
mov ecx, eax
shl edx, cl
or edx, esi
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x27]
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x28]
mov dword [eax + edi + 4], ebx
mov eax, dword [ebp + 0x28]
mov dword [eax + edi], edx
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 8], ecx
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov edi, ecx
shr edi, 3
mov eax, ecx
and al, 7
mov edx, eax
xor dl, 0x1f
mov ecx, dword [esp + 0x38]
lea esi, [ecx - 0x843]
mov ebx, esi
shr ebx, 1
mov ecx, edx
shr ebx, cl
mov ecx, eax
shl esi, cl
mov ecx, dword [ebp + 0x28]
movzx ecx, byte [ecx + edi]
or esi, ecx
mov ecx, dword [ebp + 0x28]
mov dword [ecx + edi + 4], ebx
mov ecx, dword [ebp + 0x28]
mov dword [ecx + edi], esi
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
lea esi, [ecx + esi + 0x18]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
movzx edi, word [ecx + 0x80]
mov ebx, edi
shr ebx, 1
mov ecx, edx
shr ebx, cl
mov ecx, eax
shl edi, cl
shr esi, 3
mov eax, dword [ebp + 0x28]
movzx eax, byte [eax + esi]
or edi, eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0x40]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + esi + 4], ebx
mov ecx, dword [ebp + 0x28]
mov dword [ecx + esi], edi
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 8]
add eax, ecx
add eax, 0x18
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
inc dword [esp + 0x238]
mov ecx, 0x40
mov eax, dword [esp + 0x10]
lea esi, [eax + edi]
add esi, 5
inc dword [esp + ecx*4 + 0x19c]
cmp esi, dword [esp + 0x54]
mov dword [esp + 0x3c], esi
jae 0x579020
mov edi, dword [esi - 3]
mov ebx, dword [esi + 1]
mov eax, edi
mov ecx, 0xbd000000
mul ecx
mov eax, edi
mov ecx, 0x1e35a7
imul eax, ecx
add edx, eax
mov eax, ebx
mov ecx, 0xbd000000
imul eax, ecx
add eax, edx
mov ecx, esi
sub ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
add ecx, 0xfffffffd
shr eax, 0x15
mov edx, dword [ebp + 0x10]
mov dword [edx + eax*4], ecx
mov eax, ebx
mov dword [esp + 0xc], edi
shld eax, edi, 8
mov dword [esp + 8], eax
mov ecx, 0xbd000000
mul ecx
mov dword [esp + 0x20], edx
mov eax, ebx
shld eax, edi, 0x18
mov ecx, eax
mov edi, 0xbd000000
mul edi
mov eax, 0x1e35a7
imul ecx, eax
add edx, ecx
mov eax, ebx
shr eax, 8
imul eax, edi
add eax, edx
shr eax, 0x15
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffe
mov edx, dword [ebp + 0x10]
mov dword [edx + eax*4], ecx
mov ecx, ebx
mov edi, ebx
mov eax, dword [esp + 0xc]
shld ebx, eax, 0x10
mov esi, ebx
mov eax, 0x1e35a7
imul esi, eax
mov eax, ebx
mov ebx, 0xbd000000
mul ebx
add edx, esi
shr edi, 0x10
imul edi, ebx
add edi, edx
shr edi, 0x15
mov esi, dword [esp + 0x10]
lea eax, [esi - 1]
mov ebx, dword [ebp + 0x10]
mov dword [ebx + edi*4], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 8]
mov edx, 0x1e35a7
imul eax, edx
mov edx, dword [esp + 0x20]
add edx, eax
shr ecx, 0x18
mov eax, 0xbd000000
imul ecx, eax
add ecx, edx
shr ecx, 0x15
mov eax, dword [ebx + ecx*4]
mov dword [ebx + ecx*4], esi
mov ecx, dword [edi]
mov edx, dword [esp + 0x48]
cmp ecx, dword [edx + eax]
mov ecx, dword [esp + 0x48]
jne 0x577d40
add eax, ecx
movzx ecx, byte [edi + 4]
mov edx, dword [esp + 0x40]
nop word cs:[eax + eax]
cmp cl, byte [eax + 4]
mov ebx, dword [ebp + 0x28]
jne 0x577d44
lea edx, [edi + 5]
mov esi, edi
mov edi, dword [esp + 0x44]
mov ecx, edi
mov dword [esp + 0x3c], esi
sub ecx, esi
xor esi, esi
cmp ecx, 9
jge 0x578990
mov edi, edx
cmp edi, dword [esp + 0x44]
jb 0x5789c2
jmp 0x5789e3
add edi, 0xfffffffc
xor esi, esi
nop word cs:[eax + eax]
mov ebx, dword [edx + esi]
cmp ebx, dword [eax + esi + 5]
jne 0x5789b6
lea ebx, [edx + esi]
add ebx, 4
add esi, 4
cmp ebx, edi
jbe 0x5789a0
lea edi, [edx + esi]
mov ebx, dword [ebp + 0x28]
cmp edi, dword [esp + 0x44]
jae 0x5789e3
add ecx, 0xfffffffb
add ecx, edx
sub ecx, edi
lea edx, [ecx + esi]
nop dword [eax]
movzx ebx, byte [eax + esi + 5]
cmp bl, byte [edi]
jne 0x5789e0
inc edi
inc esi
dec ecx
jne 0x5789d0
mov esi, edx
mov ebx, dword [ebp + 0x28]
mov edi, dword [esp + 0x3c]
mov edx, edi
sub edx, eax
cmp edx, 0x3fff0
jg 0x577d40
lea eax, [esi + 5]
add edi, esi
add edi, 5
mov dword [esp + 0x3c], edi
cmp eax, 9
mov dword [esp + 8], edx
ja 0x578a80
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + esi*2 + 0x26]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov edx, edi
shr edx, 1
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edx, cl
mov dword [esp + 0x20], edx
mov edx, ebx
mov ebx, dword [esp + 0x10]
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 0x10]
shr ebx, 3
movzx eax, byte [edx + ebx]
or edi, eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + esi + 0x13]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [edx + ebx + 4], eax
mov dword [edx + ebx], edi
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 0x24]
add ecx, dword [esp + 0xc]
mov eax, ecx
lea ecx, [esi + 0x13]
mov esi, dword [ebp + 0x18]
jmp 0x578ce0
cmp eax, 0x85
ja 0x578b70
dec esi
bsr eax, esi
xor eax, 0xffffffe0
mov dword [esp + 0x10], eax
lea ecx, [eax + 0x1f]
mov dword [esp + 0x20], ecx
mov edi, esi
mov ecx, dword [esp + 0x20]
shr edi, cl
mov dword [esp + 0x1c], edi
lea ecx, [edi + eax*2]
add ecx, 0x3e
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x18]
movzx edi, word [eax + ecx*2 + 0x28]
mov ebx, edi
shr ebx, 1
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov edx, eax
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr ebx, cl
mov dword [esp + 0x40], ebx
mov ecx, edx
shl edi, cl
mov ecx, eax
shr ecx, 3
mov eax, dword [ebp + 0x28]
movzx edx, byte [eax + ecx]
or edi, edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0xc]
movzx edx, byte [edx + ebx + 0x14]
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx + 4], ebx
mov dword [eax + ecx], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
lea eax, [edi + eax*2 + 0x52]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
shl edi, cl
add edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
sub esi, edi
mov ebx, edx
shr ebx, 3
mov edi, esi
shr edi, 1
mov eax, edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl esi, cl
mov ecx, dword [ebp + 0x28]
movzx eax, byte [ecx + ebx]
or esi, eax
mov dword [ecx + ebx + 4], edi
mov dword [ecx + ebx], esi
mov ecx, dword [esp + 0xc]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x24]
mov eax, dword [esp + 0x10]
add eax, edx
add eax, 0x1f
mov edx, dword [esp + 8]
jmp 0x578ce0
cmp eax, 0x845
ja 0x578c44
lea eax, [esi - 0x41]
bsr eax, eax
mov dword [esp + 0x20], eax
mov ecx, eax
xor ecx, 0xffffffe0
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x18]
movzx ebx, word [eax + ecx*2 + 0x78]
mov eax, ebx
shr eax, 1
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx]
mov edx, ecx
mov edi, ecx
mov dword [esp + 0x10], ecx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
shl ebx, cl
mov ecx, edi
shr ecx, 3
mov edx, dword [ebp + 0x28]
movzx edx, byte [edx + ecx]
or ebx, edx
mov edx, dword [ebp + 0x14]
mov edi, dword [esp + 0xc]
movzx edx, byte [edx + edi + 0x3c]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x28]
mov dword [edx + ecx + 4], eax
mov dword [edx + ecx], ebx
mov ebx, dword [ebp + 0x24]
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x1c]
mov eax, 0xffffffff
mov ecx, dword [esp + 0x20]
shl eax, cl
mov ecx, edx
mov dword [ebx], edx
add esi, eax
add esi, 0xffffffbf
mov eax, esi
shr eax, 1
mov edi, edx
mov dword [esp + 0x10], edx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
shl esi, cl
mov ecx, edi
shr ecx, 3
mov edi, dword [ebp + 0x28]
movzx edx, byte [edi + ecx]
or esi, edx
mov edx, dword [esp + 8]
mov dword [edi + ecx + 4], eax
mov dword [edi + ecx], esi
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x18]
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
add ecx, 0x3c
jmp 0x578ce0
mov eax, dword [ebp + 0x18]
movzx ebx, word [eax + 0x4e]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov edx, ebx
shr edx, 1
mov eax, ecx
mov edi, ecx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edx, cl
mov ecx, eax
shl ebx, cl
mov eax, edi
shr eax, 3
mov ecx, dword [ebp + 0x28]
movzx ecx, byte [ecx + eax]
or ebx, ecx
mov ecx, dword [ebp + 0x14]
movzx ecx, byte [ecx + 0x27]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ecx + eax + 4], edx
mov dword [ecx + eax], ebx
mov eax, dword [esp + 0x10]
add eax, edi
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
add esi, 0xfffff7bf
mov ebx, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, esi
shr edx, 1
shr edx, cl
mov ecx, eax
shl esi, cl
shr ebx, 3
mov ecx, dword [ebp + 0x28]
movzx eax, byte [ecx + ebx]
or esi, eax
mov dword [ecx + ebx + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + ebx], esi
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x24]
mov eax, dword [esp + 0x10]
add eax, edi
add eax, 0x18
mov ecx, 0x27
nop word [eax + eax]
mov dword [esp + 0x10], eax
mov dword [ebx], eax
inc dword [esp + ecx*4 + 0x19c]
lea ebx, [edx + 3]
mov dword [esp + 0x1c], ebx
bsr edx, ebx
xor edx, 0x1f
mov ecx, 0x1e
sub ecx, edx
mov dword [esp + 0xc], ecx
xor eax, eax
bt ebx, ecx
setb al
lea ebx, [eax + 2]
shl ebx, cl
mov dword [esp + 0x38], ebx
add edx, edx
xor edx, 0x3e
or edx, eax
mov dword [esp + 0x20], edx
movzx esi, word [esi + edx*2 + 0x98]
mov edi, esi
shr edi, 1
mov eax, dword [esp + 0x10]
mov edx, eax
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr edi, cl
mov ecx, edx
shl esi, cl
mov ecx, eax
shr ecx, 3
mov ebx, dword [ebp + 0x28]
movzx eax, byte [ebx + ecx]
or esi, eax
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x20]
movzx eax, byte [eax + edx + 0x4c]
mov dword [ebx + ecx + 4], edi
mov dword [ebx + ecx], esi
add eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x38]
mov esi, edi
shr esi, 1
mov edx, eax
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr esi, cl
mov ecx, edx
shl edi, cl
mov ecx, eax
shr ecx, 3
movzx edx, byte [ebx + ecx]
or edi, edx
mov dword [ebx + ecx + 4], esi
mov dword [ebx + ecx], edi
add eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
inc dword [esp + eax*4 + 0x2cc]
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x54]
jae 0x579020
mov esi, dword [ecx - 3]
mov ebx, dword [ecx + 1]
mov eax, esi
mov edx, 0xbd000000
mul edx
mov eax, esi
mov edi, 0x1e35a7
imul eax, edi
add edx, eax
mov eax, ebx
mov edi, 0xbd000000
imul eax, edi
add eax, edx
mov edi, ecx
sub edi, dword [esp + 0x48]
lea ecx, [edi - 3]
mov dword [esp + 0xc], edi
shr eax, 0x15
mov edx, dword [ebp + 0x10]
mov dword [edx + eax*4], ecx
mov eax, ebx
shld eax, esi, 8
mov dword [esp + 0x20], eax
mov ecx, 0xbd000000
mul ecx
mov dword [esp + 0x10], edx
mov eax, ebx
shld eax, esi, 0x18
mov ecx, eax
mov edx, 0xbd000000
mul edx
mov eax, 0x1e35a7
imul ecx, eax
add edx, ecx
mov eax, ebx
shr eax, 8
mov ecx, 0xbd000000
imul eax, ecx
add eax, edx
shr eax, 0x15
lea ecx, [edi - 2]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax*4], ecx
mov ecx, ebx
mov edi, ebx
shld ebx, esi, 0x10
mov esi, ebx
mov eax, 0x1e35a7
imul esi, eax
mov eax, ebx
mov ebx, 0xbd000000
mul ebx
add edx, esi
shr edi, 0x10
imul edi, ebx
add edi, edx
shr edi, 0x15
mov esi, dword [esp + 0xc]
lea eax, [esi - 1]
mov ebx, dword [ebp + 0x10]
mov dword [ebx + edi*4], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov edx, 0x1e35a7
imul eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
shr ecx, 0x18
mov eax, 0xbd000000
imul ecx, eax
add ecx, edx
shr ecx, 0x15
mov eax, dword [ebx + ecx*4]
mov dword [ebx + ecx*4], esi
mov ecx, dword [edi]
mov edx, dword [esp + 0x48]
cmp ecx, dword [edx + eax]
jne 0x578ec2
mov ecx, edx
add eax, edx
movzx ecx, byte [edi + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x40], edx
jmp 0x578960
mov edx, dword [esp + 8]
jmp 0x577d44
cmp dword [esp + 0x60], 0x3d5
jb 0x578ee6
mov eax, edi
sub eax, dword [esp + 0x5c]
imul eax, eax, 0x32
cmp eax, edx
jbe 0x57978d
mov eax, dword [ebp + 0x18]
cmp edx, 0x5841
ja 0x578f89
movzx ebx, word [eax + 0x7c]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov edi, ebx
shr edi, 1
mov eax, edx
mov dword [esp + 0x20], edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
shr edx, 3
mov esi, dword [ebp + 0x28]
movzx ecx, byte [esi + edx]
mov dword [esp + 8], ecx
mov ecx, eax
shl ebx, cl
or ebx, dword [esp + 8]
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x3e]
mov dword [esp + 8], ecx
mov dword [esi + edx + 4], edi
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [esi + edx], ebx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov edi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xffffe7be
mov ebx, edx
shr ebx, 1
shr ebx, cl
mov ecx, eax
shl edx, cl
shr edi, 3
movzx eax, byte [esi + edi]
or edx, eax
mov dword [esi + edi + 4], ebx
mov dword [esi + edi], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
lea edx, [eax + ecx]
add edx, 0xe
mov ecx, 0x3e
jmp 0x578202
movzx ebx, word [eax + 0x7e]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov edi, ebx
shr edi, 1
mov eax, edx
mov dword [esp + 0x20], edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
shr edx, 3
mov esi, dword [ebp + 0x28]
movzx ecx, byte [esi + edx]
mov dword [esp + 8], ecx
mov ecx, eax
shl ebx, cl
or ebx, dword [esp + 8]
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x3f]
mov dword [esp + 8], ecx
mov dword [esi + edx + 4], edi
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [esi + edx], ebx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov edi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xffffa7be
mov ebx, edx
shr ebx, 1
shr ebx, cl
mov ecx, eax
shl edx, cl
shr edi, 3
movzx eax, byte [esi + edi]
or edx, eax
mov dword [esi + edi + 4], ebx
mov dword [esi + edi], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
lea edx, [eax + ecx]
add edx, 0x18
mov ecx, 0x3f
jmp 0x578202
mov ebx, dword [ebp + 0x20]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x70]
cmp eax, 0x10000
mov esi, 0x10000
cmovb esi, eax
mov dword [esp + 0x50], eax
test eax, eax
je 0x579300
mov eax, dword [esp + 0x4c]
add eax, esi
mov dword [esp + 0x4c], eax
cmp eax, 0x100000
ja 0x579300
push 0x400
push 0
lea eax, [esp + 0x5a4]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
test esi, esi
mov dword [esp + 0x54], esi
je 0x579170
lea eax, [esi - 1]
mov ecx, 0x2fa0be83
mul ecx
shr edx, 3
inc edx
mov eax, edx
and eax, 3
xor ecx, ecx
cmp esi, 0x82
mov edi, dword [esp + 0x44]
jb 0x5790ed
and edx, 0xfffffffc
xor ecx, ecx
nop word cs:[eax + eax]
movzx esi, byte [edi + ecx]
inc dword [esp + esi*4 + 0x59c]
movzx esi, byte [edi + ecx + 0x2b]
inc dword [esp + esi*4 + 0x59c]
movzx esi, byte [edi + ecx + 0x56]
inc dword [esp + esi*4 + 0x59c]
movzx esi, byte [edi + ecx + 0x81]
inc dword [esp + esi*4 + 0x59c]
add ecx, 0xac
add edx, 0xfffffffc
jne 0x5790b0
test eax, eax
mov esi, dword [esp + 0x6c]
je 0x579122
mov edx, dword [esp + 0x70]
add edx, ecx
add esi, edx
imul eax, eax, 0x2b
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [esi + ecx]
inc dword [esp + edx*4 + 0x59c]
add ecx, 0x2b
cmp eax, ecx
jne 0x579110
mov esi, dword [esp + 0x54]
lea eax, [esi + 0x2a]
mov ecx, 0x2fa0be83
mul ecx
shr edx, 3
cmp esi, 0x2ad5
jbe 0x579172
cvtsi2sd xmm0, edx
movsd qword [esp + 0x10], xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.0058e124
movsd xmm0, qword [esp + 0x18]
add esp, 8
fstp qword [esp + 0x88]
movsd xmm2, qword [esp + 0x88]
jmp 0x579180
xor edx, edx
mov eax, dword [0x86baec]
movsd xmm2, qword [eax + edx*8]
cvtsi2sd xmm0, edx
addsd xmm2, qword [0x8bb2d0]
mulsd xmm2, xmm0
addsd xmm2, qword [0x8bb2d8]
xor esi, esi
jmp 0x5791f4
sub esp, 8
movsd qword [esp], xmm3
movsd qword [esp + 0x18], xmm2
movapd xmmword [esp + 0x28], xmm3
call fcn.0058e124
movapd xmm3, xmmword [esp + 0x28]
movsd xmm2, qword [esp + 0x18]
add esp, 8
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
addsd xmm1, xmm0
mulsd xmm1, xmm3
subsd xmm2, xmm1
inc esi
cmp esi, 0x100
je 0x579240
mov eax, dword [esp + esi*4 + 0x59c]
movss xmm3, dword [esp + esi*4 + 0x59c]
orpd xmm3, xmmword [0x8bb2e0]
subsd xmm3, qword [0x8bb2f0]
movzx edi, byte [esp + esi + 0x90]
cmp eax, 0xff
ja 0x5791a0
mov ecx, dword [0x86baec]
movsd xmm0, qword [ecx + eax*8]
jmp 0x5791d8
ucomisd xmm2, qword [0x8bb2f8]
jb 0x579300
mov eax, dword [esp + 0x4c]
lea esi, [eax - 1]
mov ecx, 0x14
mov edx, dword [esp + 0x58]
nop
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], esi
shr edx, 3
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
and edx, 7
mov eax, 8
sub eax, edx
cmp ecx, eax
cmovb eax, ecx
lea ecx, [eax + edx]
mov dword [esp + 8], eax
mov edi, 0xffffffff
shl edi, cl
mov esi, 0xffffffff
mov ecx, edx
shl esi, cl
not esi
or esi, edi
mov ebx, 0xffffffff
mov ecx, eax
shl ebx, cl
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x28]
movzx edi, byte [eax + ecx]
and edi, esi
mov esi, dword [esp + 0xc]
not ebx
and ebx, esi
mov ecx, edx
mov edx, dword [esp + 0x10]
shl ebx, cl
mov ecx, dword [esp + 8]
shr esi, cl
mov ecx, dword [esp + 0x1c]
or ebx, edi
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0x28]
mov byte [eax + edi], bl
mov eax, dword [esp + 8]
add edx, eax
sub ecx, eax
jne 0x579260
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x44]
jmp 0x577cc0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
cmp ecx, esi
jae 0x579380
mov edx, esi
sub edx, ecx
cmp edx, 0x1841
mov dword [esp + 0x1c], edx
ja 0x5798c5
cmp edx, 6
jae 0x579390
mov eax, dword [ebp + 0x18]
movzx edx, word [eax + edx*2 + 0x50]
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov esi, ebx
mov edi, edx
shr edi, 1
mov eax, ebx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl edx, cl
mov ecx, ebx
shr esi, 3
mov ebx, dword [ebp + 0x28]
movzx eax, byte [ebx + esi]
or edx, eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x1c]
movzx eax, byte [eax + ebx + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [eax + esi + 4], edi
mov eax, dword [ebp + 0x28]
mov dword [eax + esi], edx
add ecx, dword [esp + 0x10]
lea edx, [ebx + 0x28]
jmp 0x5795c0
mov eax, dword [ebp + 0x1c]
jmp 0x579646
cmp edx, 0x81
ja 0x57946d
lea ebx, [edx - 2]
mov dword [esp + 0x20], ebx
bsr eax, ebx
xor eax, 0xffffffe0
mov dword [esp + 0x10], eax
lea ecx, [eax + 0x1f]
mov dword [esp + 8], ecx
shr ebx, cl
lea ecx, [ebx + eax*2]
add ecx, 0x3e
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x18]
movzx eax, word [eax + ecx*2 + 0x54]
mov esi, eax
shr esi, 1
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx]
mov edx, ecx
mov edi, ecx
mov dword [esp + 0x54], ecx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr esi, cl
mov ecx, edx
shl eax, cl
mov ecx, edi
shr ecx, 3
mov edi, dword [ebp + 0x28]
movzx edx, byte [edi + ecx]
or eax, edx
mov edx, dword [ebp + 0x14]
mov edi, dword [esp + 0xc]
movzx edx, byte [edx + edi + 0x2a]
mov edi, dword [ebp + 0x28]
mov dword [edi + ecx + 4], esi
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x10]
lea eax, [ebx + eax*2 + 0x68]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 8]
shl ebx, cl
mov ecx, edx
add ecx, dword [esp + 0x54]
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
sub edx, ebx
mov esi, ecx
mov dword [esp + 8], ecx
shr esi, 3
mov ebx, edx
shr ebx, 1
mov eax, ecx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr ebx, cl
mov ecx, eax
shl edx, cl
movzx eax, byte [edi + esi]
or edx, eax
mov dword [edi + esi + 4], ebx
mov dword [edi + esi], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
add ecx, eax
add ecx, 0x1f
jmp 0x5795c0
cmp edx, 0x841
mov ecx, dword [ebp + 0x18]
ja 0x57952e
lea eax, [edx - 0x42]
bsr edi, eax
mov dword [esp + 0x20], edi
xor edi, 0xffffffe0
mov dword [esp + 8], edi
movzx eax, word [ecx + edi*2 + 0xa4]
mov ecx, dword [ebp + 0x24]
mov ebx, dword [ecx]
mov dword [esp + 0x10], ebx
mov esi, eax
shr esi, 1
mov edx, ebx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr esi, cl
mov ecx, edx
shl eax, cl
mov ecx, ebx
shr ecx, 3
mov ebx, dword [ebp + 0x28]
movzx edx, byte [ebx + ecx]
or eax, edx
mov edx, dword [ebp + 0x14]
mov edi, dword [esp + 8]
movzx edx, byte [edx + edi + 0x52]
mov dword [ebx + ecx + 4], esi
mov dword [ebx + ecx], eax
mov esi, dword [esp + 0x10]
add esi, edx
mov eax, 0xffffffff
mov ecx, dword [esp + 0x20]
shl eax, cl
mov ecx, esi
mov edx, dword [ebp + 0x24]
mov dword [edx], esi
mov edx, dword [esp + 0x1c]
add eax, edx
add eax, 0xffffffbe
mov esi, eax
shr esi, 1
mov edx, ecx
mov edi, ecx
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr esi, cl
mov ecx, edx
shl eax, cl
mov ecx, edi
shr ecx, 3
movzx edx, byte [ebx + ecx]
or eax, edx
mov dword [ebx + ecx + 4], esi
mov dword [ebx + ecx], eax
mov ecx, edi
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
lea edx, [eax + 0x52]
jmp 0x5795c0
movzx ebx, word [ecx + 0x7a]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov esi, ebx
shr esi, 1
mov eax, ecx
mov edi, ecx
mov dword [esp + 0x10], ecx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr esi, cl
mov edx, edi
shr edx, 3
mov edi, dword [ebp + 0x28]
movzx ecx, byte [edi + edx]
mov dword [esp + 0x20], ecx
mov ecx, eax
shl ebx, cl
or ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x3d]
mov dword [esp + 0x20], ecx
mov dword [edi + edx + 4], esi
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [edi + edx], ebx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov esi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xfffff7be
mov ebx, edx
shr ebx, 1
shr ebx, cl
mov ecx, eax
shl edx, cl
shr esi, 3
movzx eax, byte [edi + esi]
or edx, eax
mov dword [edi + esi + 4], ebx
mov dword [edi + esi], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, eax
add ecx, 0xc
mov edx, 0x3d
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
inc dword [esp + edx*4 + 0x19c]
xor eax, eax
nop
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + eax]
mov dword [esp + 8], eax
movzx esi, word [esp + eax*2 + 0x39c]
mov ebx, ecx
shr ebx, 3
mov edx, esi
shr edx, 1
mov eax, ecx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edx, cl
mov edi, dword [ebp + 0x28]
movzx ecx, byte [edi + ebx]
mov dword [esp + 0xc], ecx
mov ecx, eax
shl esi, cl
mov ecx, dword [esp + 0x10]
or esi, dword [esp + 0xc]
mov eax, dword [esp + 8]
movzx eax, byte [esp + eax + 0x90]
mov dword [edi + ebx + 4], edx
mov dword [edi + ebx], esi
add ecx, eax
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
inc eax
cmp dword [esp + 0x1c], eax
jne 0x5795d0
mov esi, dword [esp + 0x44]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x579ab7
cmp ecx, 0x18000
mov eax, 0x18000
cmovb eax, ecx
mov dword [esp + 0x10], esi
mov esi, eax
mov ebx, dword [ebp + 0x24]
mov edi, dword [ebx]
mov dword [esp + 0x20], edi
mov eax, edi
shr eax, 3
mov edx, dword [ebp + 0x28]
movzx ecx, byte [edx + eax]
mov dword [edx + eax], ecx
mov dword [edx + eax + 4], 0
lea ecx, [edi + 1]
mov dword [ebx], ecx
xor eax, eax
xor ebx, ebx
mov edi, esi
mov dword [esp + 0x4c], esi
cmp esi, 0x10001
setae al
setb bl
mov dword [esp + 8], ebx
mov esi, ecx
and cl, 7
shl eax, cl
shr esi, 3
movzx ecx, byte [edx + esi]
or eax, ecx
mov dword [edx + esi], eax
mov eax, dword [esp + 0x20]
lea ebx, [eax + 3]
mov dword [edx + esi + 4], 0
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
lea esi, [edi - 1]
mov edi, esi
shr edi, 1
mov eax, ebx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edi, cl
mov ecx, eax
shl esi, cl
mov dword [esp + 0x58], ebx
shr ebx, 3
movzx ecx, byte [edx + ebx]
or esi, ecx
mov dword [edx + ebx + 4], edi
mov dword [edx + ebx], esi
mov ebx, dword [esp + 8]
xor ebx, 5
mov esi, dword [esp + 0x20]
lea eax, [esi + ebx*4]
add eax, 3
mov edi, dword [ebp + 0x24]
mov dword [edi], eax
shr eax, 3
movzx ecx, byte [edx + eax]
mov dword [edx + eax], ecx
mov dword [edx + eax + 4], 0
lea eax, [esi + ebx*4]
add eax, 4
mov dword [edi], eax
shr eax, 3
movzx ecx, byte [edx + eax]
mov dword [edx + eax], ecx
mov dword [edx + eax + 4], 0
lea eax, [esi + ebx*4]
add eax, 0x11
mov esi, edx
mov dword [edi], eax
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x10]
mov edx, ebx
push esi
push edi
lea eax, [esp + 0x3a4]
push eax
lea eax, [esp + 0x9c]
push eax
mov edi, dword [esp + 0x5c]
push edi
call fcn.0057de40
add esp, 0x14
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x19c]
mov edx, dword [ebp + 0x14]
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.0057e140
add esp, 0xc
jmp 0x577cb0
mov eax, dword [esp + 0x58]
add eax, 0xfffffffd
mov ecx, eax
and cl, 7
mov edx, 0xffffffff
shl edx, cl
mov ecx, eax
shr ecx, 3
not dl
and byte [ebx + ecx], dl
mov esi, dword [esp + 0x10]
sub esi, dword [esp + 0x5c]
mov edi, dword [ebp + 0x24]
mov dword [edi], eax
movzx eax, byte [ebx + ecx]
mov dword [ebx + ecx], eax
mov dword [ebx + ecx + 4], 0
mov eax, dword [esp + 0x58]
lea edx, [eax - 2]
mov dword [edi], edx
cmp esi, 0x100001
mov ecx, 6
sbb ecx, 0
cmp esi, 0x10001
mov eax, 4
cmovb ecx, eax
mov dword [esp + 0x20], ecx
mov edi, edx
shr edi, 3
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 1
and dl, 7
mov ecx, edx
xor cl, 0x1f
shr eax, cl
mov ecx, edx
shl ebx, cl
mov edx, dword [ebp + 0x28]
movzx ecx, byte [edx + edi]
or ebx, ecx
mov dword [edx + edi + 4], eax
mov dword [edx + edi], ebx
mov ebx, dword [esp + 0x58]
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
lea edi, [esi - 1]
mov edx, edi
shr edx, 1
mov eax, ebx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr edx, cl
mov ecx, eax
shl edi, cl
mov eax, ebx
shr eax, 3
mov ecx, dword [ebp + 0x28]
movzx ecx, byte [ecx + eax]
or edi, ecx
mov ecx, dword [ebp + 0x28]
mov dword [ecx + eax + 4], edx
mov dword [ecx + eax], edi
mov edi, ecx
mov eax, dword [esp + 0x20]
lea eax, [ebx + eax*4]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov ecx, eax
shr ecx, 3
and al, 7
movzx edx, byte [edi + ecx]
bts edx, eax
mov dword [edi + ecx], edx
mov dword [edi + ecx + 4], 0
mov eax, dword [esp + 0x20]
lea eax, [ebx + eax*4]
add eax, 8
mov ecx, eax
and ecx, 0xfffffff8
mov ebx, dword [ebp + 0x24]
mov dword [ebx], ecx
shr eax, 3
add eax, edi
push esi
push dword [esp + 0x60]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
shl esi, 3
mov eax, ebx
add esi, dword [ebx]
mov dword [ebx], esi
shr esi, 3
mov byte [edi + esi], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x6c]
sub eax, esi
mov dword [esp + 0x50], eax
jmp 0x579640
cmp dword [esp + 0x60], 0x3d5
jb 0x579904
mov eax, ecx
sub eax, dword [esp + 0x5c]
imul eax, eax, 0x32
cmp eax, edx
ja 0x579904
mov eax, dword [esp + 0x58]
add eax, 0xfffffffd
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov edx, esi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push eax
call fcn.0057dd10
add esp, 0xc
mov eax, dword [ebp + 0x1c]
jmp 0x579646
cmp edx, 0x5841
mov eax, dword [ebp + 0x18]
ja 0x5799a7
movzx ebx, word [eax + 0x7c]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov esi, ebx
shr esi, 1
mov eax, edx
mov dword [esp + 0x10], edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr esi, cl
shr edx, 3
mov edi, dword [ebp + 0x28]
movzx ecx, byte [edi + edx]
mov dword [esp + 0x20], ecx
mov ecx, eax
shl ebx, cl
or ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x3e]
mov dword [esp + 0x20], ecx
mov dword [edi + edx + 4], esi
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [edi + edx], ebx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov esi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xffffe7be
mov ebx, edx
shr ebx, 1
shr ebx, cl
mov ecx, eax
shl edx, cl
shr esi, 3
movzx eax, byte [edi + esi]
or edx, eax
mov dword [edi + esi + 4], ebx
mov dword [edi + esi], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea ebx, [eax + ecx]
add ebx, 0xe
mov eax, 0x3e
jmp 0x579a36
movzx ebx, word [eax + 0x7e]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov esi, ebx
shr esi, 1
mov eax, edx
mov dword [esp + 0x10], edx
and al, 7
mov ecx, eax
xor cl, 0x1f
shr esi, cl
shr edx, 3
mov edi, dword [ebp + 0x28]
movzx ecx, byte [edi + edx]
mov dword [esp + 0x20], ecx
mov ecx, eax
shl ebx, cl
or ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x3f]
mov dword [esp + 0x20], ecx
mov dword [edi + edx + 4], esi
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [edi + edx], ebx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov esi, eax
and al, 7
mov ecx, eax
xor cl, 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xffffa7be
mov ebx, edx
shr ebx, 1
shr ebx, cl
mov ecx, eax
shl edx, cl
shr esi, 3
movzx eax, byte [edi + esi]
or edx, eax
mov dword [edi + esi + 4], ebx
mov dword [edi + esi], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea ebx, [eax + ecx]
add ebx, 0x18
mov eax, 0x3f
mov edx, dword [ebp + 0x24]
mov dword [edx], ebx
inc dword [esp + eax*4 + 0x19c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x3c]
movzx eax, byte [ecx + eax]
mov dword [esp + 8], eax
movzx edx, word [esp + eax*2 + 0x39c]
mov esi, ebx
shr esi, 3
mov ebx, edx
shr ebx, 1
mov eax, dword [esp + 0x10]
and al, 7
mov ecx, eax
xor cl, 0x1f
shr ebx, cl
mov edi, dword [ebp + 0x28]
movzx ecx, byte [edi + esi]
mov dword [esp + 0xc], ecx
mov ecx, eax
shl edx, cl
or edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
movzx eax, byte [esp + eax + 0x90]
mov dword [edi + esi + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [edi + esi], edx
add ebx, eax
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
inc eax
cmp dword [esp + 0x1c], eax
jne 0x579a44
jmp 0x57963c
cmp dword [ebp + 0xc], 0
jne 0x579add
mov byte [ebx], 0
mov dword [eax], 0
lea ecx, [esp + 0x19c]
mov edx, dword [ebp + 0x14]
push ebx
push eax
push dword [ebp + 0x18]
call fcn.0057e140
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret