Function at 0x50a440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 0x88], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
and ecx, 0x80000
je 0x50a47e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
sub ecx, dword [eax + 0x40]
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 0x24]
ja 0x50a47e
mov dword [ebp - 0x38], 1
jmp 0x50a485
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x50a4c0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
sub edx, dword [ecx + 0x8c]
cmp edx, 0x14ccc
jb 0x50a4c0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x8c]
mov dword [ebp - 0x3c], ecx
jmp 0x50a4cb
mov eax, dword [ebp + 8]
add eax, 0x39272
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 0x14cbc
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x50a50c
push 0x26b
push 0x60d968
push str._d__m_output_flush_remaining
call fcn.0055a450
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
movzx edx, byte [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
sar edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
mov byte [eax], dl
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x38], 8
jne 0x50a54b
mov dword [ebp - 0x40], 1
jmp 0x50a552
mov dword [ebp - 0x40], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x50a796
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x50a796
mov byte [ebp - 2], 0x78
mov byte [ebp - 1], 3
mov dword [ebp - 0xc0], 0xb
mov dword [ebp - 0x14], 0
jmp 0x50a5a3
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc0]
jae 0x50a5ca
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
and edx, 0xfff
mov eax, dword [ebp - 0x14]
cmp dword [eax*4 + 0x5d3e84], edx
jne 0x50a5c8
jmp 0x50a5ca
jmp 0x50a59a
cmp dword [ebp - 0x14], 2
jae 0x50a5d6
mov byte [ebp - 1], 0
jmp 0x50a5ec
cmp dword [ebp - 0x14], 6
jae 0x50a5e2
mov byte [ebp - 1], 1
jmp 0x50a5ec
cmp dword [ebp - 0x14], 6
jne 0x50a5ec
mov byte [ebp - 1], 2
movzx ecx, byte [ebp - 2]
shl ecx, 8
movzx edx, byte [ebp - 1]
shl edx, 6
or ecx, edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, 0x1f
sub eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 2]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], 8
mov eax, 1
mov ecx, dword [ebp - 0x48]
shl eax, cl
sub eax, 1
cmp dword [ebp - 0x44], eax
jbe 0x50a65b
push 0x287
push 0x60da10
push 0x60da7c
call fcn.0055a450
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x50a6d5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x50a6b5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x50a681
xor edx, edx
jne 0x50a624
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 8
mov edx, 1
mov ecx, dword [ebp - 0x50]
shl edx, cl
sub edx, 1
cmp dword [ebp - 0x4c], edx
jbe 0x50a714
push 0x288
push 0x60dab8
push 0x60db24
call fcn.0055a450
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x50a78e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x50a76e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x50a73a
xor ecx, ecx
jne 0x50a6dd
cmp dword [ebp + 0xc], 4
jne 0x50a7a5
mov dword [ebp - 0x54], 1
jmp 0x50a7ac
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], 1
mov eax, 1
mov ecx, dword [ebp - 0x5c]
shl eax, cl
sub eax, 1
cmp dword [ebp - 0x58], eax
jbe 0x50a7e2
push 0x28b
push 0x60db60
push 0x60dbcc
call fcn.0055a450
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x58]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x50a85c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x50a83c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x50a808
xor edx, edx
jne 0x50a796
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x64], 0
jne 0x50a8c8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
and ecx, 0x40000
jne 0x50a8ab
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0x30
jb 0x50a8ab
mov dword [ebp - 0x60], 0
jmp 0x50a8b2
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050a400
add esp, 8
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x64], 0
jne 0x50a8f3
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
je 0x50aca5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
sub ecx, dword [ebp - 0x20]
add ecx, 1
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 0x3c]
jb 0x50aca5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
sub edx, dword [ecx + 0x40]
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x24]
ja 0x50aca5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
mov dword [edx + 0x44], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 2
mov edx, 1
mov ecx, dword [ebp - 0x6c]
shl edx, cl
sub edx, 1
cmp dword [ebp - 0x68], edx
jbe 0x50a963
push 0x29b
push 0x60dc08
push 0x60dc74
call fcn.0055a450
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x50a9dd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x50a9bd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x50a989
xor ecx, ecx
jne 0x50a92c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x50aab2
mov dword [ebp - 0x70], 0
mov eax, dword [ebp + 8]
mov ecx, 8
sub ecx, dword [eax + 0x44]
mov dword [ebp - 0x74], ecx
mov edx, 1
mov ecx, dword [ebp - 0x74]
shl edx, cl
sub edx, 1
cmp dword [ebp - 0x70], edx
jbe 0x50aa30
push 0x29e
push 0x60dcb0
push 0x60dd1c
call fcn.0055a450
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x50aaaa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x50aa8a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x50aa56
xor ecx, ecx
jne 0x50a9f2
mov dword [ebp - 0xc], 2
jmp 0x50aad6
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
xor ecx, 0xffff
mov edx, dword [ebp + 8]
mov dword [edx + 0x3c], ecx
cmp dword [ebp - 0xc], 0
je 0x50aba6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
and ecx, 0xffff
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], 0x10
mov edx, 1
mov ecx, dword [ebp - 0x7c]
shl edx, cl
sub edx, 1
cmp dword [ebp - 0x78], edx
jbe 0x50ab1f
push 0x2a2
push 0x60dd58
push 0x60ddc4
call fcn.0055a450
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x50ab99
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x50ab79
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x50ab45
xor ecx, ecx
jne 0x50aae0
jmp 0x50aabb
mov dword [ebp - 0xc], 0
jmp 0x50abb8
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x3c]
jae 0x50aca3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
add eax, dword [ebp - 0xc]
and eax, 0x7fff
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 0x90]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], 8
mov eax, 1
mov ecx, dword [ebp - 0x84]
shl eax, cl
sub eax, 1
cmp dword [ebp - 0x80], eax
jbe 0x50ac19
push 0x2a6
push 0x60de00
push 0x60de6c
call fcn.0055a450
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x80]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x84]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x50ac96
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x50ac76
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x50ac42
xor edx, edx
jne 0x50abc7
jmp 0x50abaf
jmp 0x50acdd
cmp dword [ebp - 0x88], 0
jne 0x50acdd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x90]
mov dword [ecx + 0x44], edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0050a400
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x50b19a
cmp dword [ebp + 0xc], 4
jne 0x50aeec
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44], 0
je 0x50add0
mov dword [ebp - 0x94], 0
mov edx, dword [ebp + 8]
mov eax, 8
sub eax, dword [edx + 0x44]
mov dword [ebp - 0x98], eax
mov edx, 1
mov ecx, dword [ebp - 0x98]
shl edx, cl
sub edx, 1
cmp dword [ebp - 0x94], edx
jbe 0x50ad48
push 0x2b7
push 0x60dea8
push 0x60df14
call fcn.0055a450
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x98]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x50adc8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x50ada8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x50ad74
xor ecx, ecx
jne 0x50acfe
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x50aee7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
jmp 0x50adfc
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jae 0x50aee7
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
and ecx, 0xff
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], 8
mov edx, 1
mov ecx, dword [ebp - 0xa0]
shl edx, cl
sub edx, 1
cmp dword [ebp - 0x9c], edx
jbe 0x50ae51
push 0x2be
push 0x60df50
push 0x60dfbc
call fcn.0055a450
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0xa0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x50aed1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x50aeb1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x50ae7d
xor ecx, ecx
jne 0x50ae06
mov edx, dword [ebp - 0x28]
shl edx, 8
mov dword [ebp - 0x28], edx
jmp 0x50adf3
jmp 0x50b19a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 3
mov eax, 1
mov ecx, dword [ebp - 0xa8]
shl eax, cl
sub eax, 1
cmp dword [ebp - 0xa4], eax
jbe 0x50af36
push 0x2c6
push 0x60dff8
push 0x60e064
call fcn.0055a450
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0xa8]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x50afb6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x50af96
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x50af62
xor edx, edx
jne 0x50aef3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x50b09d
mov dword [ebp - 0xac], 0
mov ecx, dword [ebp + 8]
mov edx, 8
sub edx, dword [ecx + 0x44]
mov dword [ebp - 0xb0], edx
mov eax, 1
mov ecx, dword [ebp - 0xb0]
shl eax, cl
sub eax, 1
cmp dword [ebp - 0xac], eax
jbe 0x50b015
push 0x2c9
push 0x60e0a0
push 0x60e10c
call fcn.0055a450
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xac]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0xb0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x50b095
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x50b075
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x50b041
xor edx, edx
jne 0x50afcb
mov dword [ebp - 0x2c], 2
jmp 0x50b0bb
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
xor ecx, 0xffff
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x2c], 0
je 0x50b19a
mov edx, dword [ebp - 0x30]
and edx, 0xffff
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb8], 0x10
mov eax, 1
mov ecx, dword [ebp - 0xb8]
shl eax, cl
sub eax, 1
cmp dword [ebp - 0xb4], eax
jbe 0x50b10d
push 0x2cd
push 0x60e148
push str.bits_____1U____len____1U_
call fcn.0055a450
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0xb8]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x50b18d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x50b16d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x50b139
xor edx, edx
jne 0x50b0c5
jmp 0x50b0a6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jb 0x50b1bf
push 0x2d2
push 0x60e1f0
push str.d__m_pOutput_buf___d__m_pOutput_buf_end
call fcn.0055a450
add esp, 0xc
push 0x240
push 0
mov ecx, 0x240
imul edx, ecx, 0
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x8192]
mov edx, 2
imul eax, edx, 0
add ecx, eax
push ecx
call fcn.00537090
add esp, 0xc
push 0x40
push 0
mov ecx, 0x240
shl ecx, 0
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x8192]
mov ecx, 2
imul edx, ecx, 0
add eax, edx
push eax
call fcn.00537090
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x9273
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
add edx, 0x9272
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x3c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 8], edx
je 0x50b392
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x50b2d0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x84]
sub eax, dword [edx + 0x70]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0x39272
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call edx
add esp, 0xc
test eax, eax
jne 0x50b2cb
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x50b398
jmp 0x50b392
mov ecx, dword [ebp + 8]
add ecx, 0x39272
cmp dword [ebp - 0x34], ecx
jne 0x50b37d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
sub edx, dword [ecx + 0x8c]
cmp dword [ebp - 8], edx
jae 0x50b303
mov eax, dword [ebp - 8]
mov dword [ebp - 0xbc], eax
jmp 0x50b31a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7c]
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
sub ecx, dword [eax + 0x8c]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x39272
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x8c]
push eax
call fcn.00536b10
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
je 0x50b37b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x5c], eax
jmp 0x50b392
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x5c]
mov esp, ebp
pop ebp
ret